<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=929033514-27062007><FONT face=Arial
color=#0000ff size=2>Hi Jerad,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=929033514-27062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=929033514-27062007><FONT face=Arial
color=#0000ff size=2>Is your requirement for services with active/passive (or
both) checks. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=929033514-27062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<UL dir=ltr>
<LI>
<DIV align=left><SPAN class=929033514-27062007><FONT face=Arial color=#0000ff
size=2>If you aren't using active checks at all, then you can set it to 1
simply. </FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=929033514-27062007></SPAN><SPAN
class=929033514-27062007><FONT face=Arial color=#0000ff size=2>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).</FONT></SPAN></DIV></LI>
<LI>
<DIV align=left><SPAN class=929033514-27062007><FONT face=Arial color=#0000ff
size=2>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).</FONT></SPAN></DIV></LI></UL>
<DIV dir=ltr align=left><SPAN class=929033514-27062007><FONT face=Arial
color=#0000ff size=2>Does that help?</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=929033514-27062007><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=929033514-27062007><FONT face=Arial color=#0000ff
size=2>Dimitry</FONT></SPAN></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Jerad
Riggin<BR><B>Sent:</B> Wednesday, June 27, 2007 9:03 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users]
Notifications<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>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?</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Jerad</DIV><pre>_______________________________________________________________________
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.</pre></BODY></HTML>