Page 2 of 2

Re: Nagios Graph - Odometer Like

Posted: Thu Nov 29, 2012 2:01 pm
by LuisN
So i played around with the services a bit. if i added it to Hard Drive space, i noticed that the output from that service is giving the php code its "Full Size of HD" and then its "Used" HD space. and it gave me a Green, Yellow and red warning area. pointing to green b/c its below it..

So now, i want to figure out what was it outputing, or in what manner was it outputting it that i can output my custom service to do the same.

Re: Nagios Graph - Odometer Like

Posted: Thu Nov 29, 2012 2:40 pm
by slansing
I believe that their website has documentation on how to tie in custom services with widgets and graphs such as this.

Re: Nagios Graph - Odometer Like

Posted: Thu Nov 29, 2012 2:45 pm
by LuisN
Found out! i had to do some of my own code.. i basically passed it the WARN and CRIT of what i already have and passed i into a perfdata field. thanks guys!

Re: Nagios Graph - Odometer Like

Posted: Thu Nov 29, 2012 3:51 pm
by slansing
Ah excellent! Thanks for letting everyone know how you got it fixed.