Unknown status, alerts over and over

Dennis Hopp dhopp at GOCSC.com
Thu Sep 8 15:15:47 CEST 2005


I've had a few servers where the snmp service on them will crash and so
the nagios plugins cannot get the status of different services.  Nagios
will send an alert that the service is "UNKNOWN" which is what I want,
but then it will send the alert over and over and over and over and over
until the snmp service is fixed.  For example I got 75+ messages
overnight about one servers disk was unknown (the server was fine, just
snmp wasn't responding).

How can I get nagios to send the alert for "UNKNOWN" once and then send
a recovery message when the problem is fixed?

An example service definition is below.  The no-warning-service just
doesn't send a warning alert (but the web interface will show warning
status).

define service{
        use                             no-warning-service
        hosts                           lewis
        service_description             Disk-D
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              5
        normal_check_interval           30
        retry_check_interval            5
        contact_groups                  domain-admins
        check_command                   check_windows_disk!D!85!94
}

Thanks,

--Dennis

*	
	"Privileged/Confidential Information of Communications Supply
Corp. may be contained in this message.  If you are not the addressee of
this message, you may not copy, use or deliver this message to anyone.
In such event, you should destroy the message and kindly notify the
sender by reply e-mail.  It is understood that opinions or conclusions
that do not relate to the official business of Communications Supply
Corp. are neither given nor endorsed by Communications Supply Corp."
	 




-------------------------------------------------------
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