Page 1 of 1

Nagios Graph not showing correct critical and warning values

Posted: Tue Sep 06, 2016 4:03 am
by Deadringers
Hey all,

I've set the critical and warning values in my Checknrpe check load to be 2 and 4

Code: Select all

define service
{
       use generic-service,nagiosgraph
       host_name host1234
       service_description Load
       contact_groups admins
       check_command check_nrpe!load!2!4
        }
But in Nagios graph it shows the critical/warning values as lots of different values for the different load values, e.g the 1 5 and 15 minute load values...


Screen shot here:
Image

http://imgur.com/a/Jscxf

Question:

How can I get these values in nagios graph to better match what I'm looking for?

Currently it kinda makes Nagios Graph a bit useless for this.

My other checks (Ping etc) seem to match up nicely with what I'm monitoring for.

Re: Nagios Graph not showing correct critical and warning va

Posted: Tue Sep 06, 2016 2:37 pm
by rkennedy
Could you run it over the CLI and show us the full input / output? This will help to see the actual values being returned from the performance data for the specific check.

Re: Nagios Graph not showing correct critical and warning va

Posted: Tue Sep 06, 2016 2:42 pm
by tgriep
You should be asking this question on the Nagiosgraph's forums.
http://nagiosgraph.sourceforge.net/
The developers of that addon should be able to help you there.
Quick thing to try is to delete the rrd files for that check and see if they get recreated showing the correct values.