check_mrtgtraf returns STATE_UNKNOWN

Espen Tagestad espent at totem.fix.no
Fri Jan 26 11:45:01 CET 2007


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 500000,500000 -e 10
  
Output is this:
  
Traffic UNKNOWN - Max. In = 39.6 KB/s, Max. Out = 192.0
KB/s|in=39.619141KB/s;375000.000000;500000.000000;0.000000
in=192.045898KB/s;375000.000000;500000.000000;0.000000
  
  
Lowering warning and critical options triggers STATE_WARNING and
STATE_CRITICAL. Is this a bug? I can't see anything in check_mrtgtraf.c
setting STATE_OK other than when plugin is execute with a -V or -h
option.
  
Cheers,
  
Espen Tagestad


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list