Unclear on mapping of passive checks to state changes
Matt Pounsett
matt.pounsett at cira.ca
Mon Feb 9 17:21:56 CET 2004
On Sat, 7 Feb 2004, Skip Montanaro wrote:
> If I'm monitoring a logfile and see
>
> 2004-02-07 door opened by skip without auth code
>
> a passive check might report that condition. How is that turned into a
> warning or critical condition? That's presumably only going to occur one
> time though. Since it's a report of a one-time event, not a long-term state
> change to the system, how is the system supposed to know when to change the
> state back to ok?
Whatever submits your result to Nagios would submit it as either a warning or
critical state -- that's up to you. You can have it go immediately to a HARD
state by setting max_check_attempts to 1.
As for returning to an OK state... you'll want to look at the 'volatile'
service check option.
--
Matt Pounsett CIRA - Canadian Internet Registration Authority
Technical Support Programmer 350 Sparks Street, Suite 1110
matt.pounsett at cira.ca Ottawa, Ontario, Canada
613.237.5335 ext. 231 http://www.cira.ca
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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