R: Always a WARNING state from check_snmp

Marco Borsani m.borsani at it.net
Wed Sep 7 17:05:48 CEST 2005


Check_snmp does not know how to interpretate the results, but if I don't
insert any ranges it should give me an OK state (like it did for memory and
connections).

check_snmp gives me ALWAYS warning , whichever results it receives!

Marco

-}Since SNMP data can be anything, and it doesn't have any idea what
-}you're checking based on the OID, how is the plugin supposed to know
-}whether that result is good or not unless you provide warning and
-}critical ranges? IMHO the plugin behavior is appropriate in this case.
-}
-}As for it working for your memory test, there are generic default values
-}defined in check_snmp.c (powers of 2) that your memory and connection
-}tests apparently fall within.
-}
-}--
-}Marc
-}
-}
-}-------------------------------------------------------
-}SF.Net email is Sponsored by the Better Software Conference & EXPO
-}September 19-22, 2005 * San Francisco, CA * Development Lifecycle
-}Practices
-}Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
-}Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
-}_______________________________________________
-}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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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