Notifications

Sapon, Dimitry Dimitry.Sapon at rbccm.com
Wed Jun 27 16:40:54 CEST 2007


Hi Jerad,
 
Is your requirement for services with active/passive (or both) checks. 
 

*	
	If you aren't using active checks at all, then you can set it to
1 simply. 
*	
	If you are using only active, then the whole point of max retry
is so it doesn't notify you right away but gives itself sometime to make
sure that the service isn't simply being restarted (for example).
*	
	If you do need max retry to be above 1 for active but want
passive checks (via send_nsca) to send out a notification right away,
there is only one what that I figured out to do this. Have whatever
script that you have call send_nsca to alert nagios, where the amount of
alerts sent is equal to the max retries. That way your passive check
sends your service into a Non-Ok hard state right away and notifications
are sent out. That's only needed for non-ok alerts. If you are sending
an OK alert, you only need to send it once, since that's all that's
required to bring the service back to an OK state and send the OK
notification (if setup).

Does that help?
 
Regards,
Dimitry

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jerad
Riggin
Sent: Wednesday, June 27, 2007 9:03 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Notifications


Does Nagios only send out notifications once it has reached the max
retry on services?  If so, is the only way to make it automatically
notify you as soon as there is a problem to set the max retry to 1?
 
Thanks
 
Jerad
_______________________________________________________________________

This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. 
This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. 
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070627/e09249f8/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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