Re: [Nagios-users] check_mrtgtraf returns STATE_UNKNOWN

2007-01-26 Thread Israel Brewster
I'm pretty sure this is a bug. I ran into the same thing, but was able to fix it easily enough in the source code. Looking at the original code for this plugin, you can find the section where it sets the output state, something like: if (incoming_rate > incoming_critical_threshold

[Nagios-users] check_mrtgtraf returns STATE_UNKNOWN

2007-01-26 Thread Espen Tagestad
Hi, My check_mrtgtraf returns STATE_UNKOWN, it should really be STATE_OK. Why? My check-command is like this: /usr/local/libexec/nagios/check_mrtgtraf -F /usr/local/www/data/mrtg_switch/gatekeeper.log -a MAX -w 375000,375000 -c 50,50 -e 10 Output is this: Traffic UNKNOWN - Max. In =

[Nagios-users] check_mrtgtraf returns STATE_UNKNOWN

2007-01-26 Thread Espen Tagestad
Hi, My check_mrtgtraf returns STATE_UNKOWN, it should really be STATE_OK. Why? My check-command is like this: /usr/local/libexec/nagios/check_mrtgtraf -F /usr/local/www/data/mrtg_switch/gatekeeper.log -a MAX -w 375000,375000 -c 50,50 -e 10 Output is this: Traffic UNKNOWN - Ma