notification were not sent out for service recovery

Sean McAfee smcafee at collaborativefusion.com
Wed Aug 27 03:57:44 CEST 2008


mizuki wrote:
  > In the event log, I see it detected the state change:
> 
> [08-25-2008 11:20:45] SERVICE ALERT: rldapxxx;LDAP;OK;SOFT;2;LDAP OK - 
> 0.002 seconds response time
> [08-25-2008 11:19:45] SERVICE ALERT: rldapxxx;LDAP;CRITICAL;SOFT;1;Could 
> not bind to the ldap-server

The key to alerts isn't the $SERVICESTATE$ (OK, CRITICAL, WARNING, 
UNKNOWN*) - it's $STATESTATETYPE$ (HARD or SOFT*).

You never received an alert because it was only a SOFT failure. 
Assuming a default configuration, a check would have to fail 3 
consecutive times (the default value for max_check_attempts) before a 
HARD failure occurs and the notification is made:

"The decision to send out notifications is made...in the following 
instances:
     - When a hard state change occurs. More information on state types 
and hard state changes can be found here..."

(http://nagios.sourceforge.net/docs/2_0/notifications.html)

*Caps used to be consistent with the documentation, not as passive 
aggressive sarcastic emphasis.


Sean McAfee
System Engineer

Collaborative Fusion, Inc.
  smcafee at collaborativefusion.com
  412-422-3463 x 4025

5849 Forbes Avenue
Pittsburgh, PA 15217

****************************************************************
IMPORTANT: This message contains confidential information
and is intended only for the individual named. If the reader of
this message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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