[omd-users] Getting perf graphs from command line SOLVED

Stephen Berg (Contractor) stephen.berg.ctr at nrlssc.navy.mil
Mon May 21 17:45:46 CEST 2012


Nevermind, I can't find a utility to do this but I was able to figure 
out how to get it done with wget.

wget --user=<username> --password=<pw> 
"http://check_mk_host/site_name/pnp4nagios/index.php/image?host=<hostname>&srv=<svc_name>&view=0&source=0&start=<start_epoch>&end=<end_epoch>" 
-O /<output_file>.png


On 05/21/2012 07:03 AM, Stephen Berg (Contractor) wrote:
> Anyone have a method to generate graphs from a command line?  I'd like 
> to grab some performance graphs from pnp4nagios to be loaded into a 
> wiki using a cron job.  This is to give access to those graphs to a 
> user but I'd rather not give the user access into OMD itself.
>
>


-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
stephen.berg.ctr at nrlssc.navy.mil



More information about the omd-users mailing list