check_mrtgtraf problem

ibrewster at alaska.net ibrewster at alaska.net
Thu Jul 6 01:55:07 CEST 2006


I am having an issue with the check_mrtgtraf plugin where whenever 
the trafic level is OK, it returns UNKNOWN rather than OK. If the trafic 
level is in the critical or warning range, it returns those fine, but not 
for OK. the command I am using is:

/usr/local/nagios/libexec/check_mrtgtraf -F /var/www/html/httpd/
mrtg/xxx.xxx.xxx.xxx_1.log -w 4000,4000 -c 5000,5000

the threshold values there are actually a bit lower than I would 
normally use, but they work nicely for testing purposes. I get an 
output from this command something like this:

Traffic UNKNOWN - Avg. In = 3.5 KB/s, Avg. Out = 2.5 KB/s|
in=3.532227KB/s;4000.000000;5000.000000;0.000000 
in=2.521484KB/s;4000.000000;5000.000000;0.000000

Now as I understand this, the output should be OK, but as you can 
see, it is instead UNKOWN. Can anyone tell me why this is happening, 
and what I can do to fix it? Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ibrewster at alaska.net.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: Card for <ibrewster at alaska.net>
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060705/03bdac2e/attachment.vcf>
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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