Service Configuration Question

Karl DeBisschop karl at debisschop.net
Wed Mar 24 01:22:59 CET 2004


On Tue, 23 Mar 2004 15:39:31 +0100
Andreas Ericsson <ae at op5.se> wrote:

> You misread me.
> Ofcourse threshhold values should be accepted, and they are.
> 
> Michael Eck wrote:
> > Unless my source is not authoritative in this matter, plugin return 
> > codes can also be used to communicate to Nagios when a value has 
> > surpassed a certain threshold. See the Nagios plug-in development 
> > guidelines for more information on what I'm talking about 
> > (http://nagiosplug.sourceforge.net/developer-guidelines.html).
> > 
> You misread me. What I said was that a plugin shouldn't return UNKNOWN
> 
> unless the user has passed it bad arguments or something isn't
> installed properly (file missing, et al).
> 
> > Further, checking an SNMP gauge and reporting OK merely on the
> > condition that proper parameters were passed to the plugin and some
> > value was received by the check would make for a totally worthless
> > checking logic. 
> Again, that's not what I said. But if the plugin can't fetch any data
> at ALL (snmpget times out), it's supposed to return CRITICAL and not
> UNKNOWN.

That sort of depends - if you are checking the status of snmp, then yes.
But say you are trying to find out if a disk is full, whether or not
snmp is running has very little to do with whether the disk is full

--
Karl


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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