Nagios Graph - Odometer Like

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Graph - Odometer Like

Post by slansing »

I believe that their website has documentation on how to tie in custom services with widgets and graphs such as this.
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post 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!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Graph - Odometer Like

Post by slansing »

Ah excellent! Thanks for letting everyone know how you got it fixed.
Locked