<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000'>Hi <br><br>Have you looked at service escalations ?<br>http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#serviceescalation<br><br>This might give you the tool to limit the amount of alerts to send .<br><br>Assaf <br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Andrew Thompson" <andrew@fulgent.co.uk><br><b>To: </b>nagios-users@lists.sourceforge.net<br><b>Sent: </b>Tuesday, 15 November, 2011 10:20:29 AM<br><b>Subject: </b>[Nagios-users] How to limit the amout of SMS notifications?<br><br>



<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->

<div class="WordSection1">
<p class="MsoNormal">Hi all,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Down hosts are notified to me via email and SMS at the moment.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">What I would like to so is limit the amount of SMS messages that are sent from my Nokia phone connected to my Ubuntu box.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">As it stands I allow 3 checks 1 minute apart before I am alerted via email – after that I am alerted via email every 5 minutes until recovery.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have just implemented the phone to SMS alerts aswell but I want to limit the amount of texts as I don’t want a text every 5 minutes until recovery for sanity reasons and also cost reasons!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">This is what I would like to happen If a host goes down:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Email and SMS to be sent out on the 3<sup>rd</sup> failed check to the host (So 1<sup>st</sup> alert is sent out after 3 minutes of the host being down.)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Then……</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I want to be alerted via email every 5 minutes until the host recovers</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">But……</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I only want 2 more SMS after the initial SMS, 5 minutes apart and then no more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 minutes of the host being down, then a recovery SMS.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is this possible?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks in advance</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="" lang="EN-US">Kind Regards</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Andrew</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">T: 01386 834000<br>
F: 01386 834100<br>
<br>
<u></u></span></p>
<p class="MsoNormal"><u><span style="" lang="EN-US"><a href="mailto:Andrew@fulgent.co.uk" target="_blank"><span style="color: blue;">Andrew@fulgent.co.uk</span></a></span></u><span style="" lang="EN-US"><br>
<a href="http://www.fulgent.co.uk/" title="http://www.fulgent.co.uk/" target="_blank"><span style="color: blue;">www.fulgent.co.uk</span></a>
</span><span style=""></span></p>
<p class="MsoNormal"><b><span style="" lang="EN-US"> </span></b></p>
<p class="MsoNormal"><span style="" lang="EN-US"><br>
Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are
 not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication
 from your computer.</span><span style=""></span></p>
<p class="MsoNormal"> </p>
</div>
<br>------------------------------------------------------------------------------<br>RSA(R) Conference 2012<br>Save $700 by Nov 18<br>Register now<br>http://p.sf.net/sfu/rsa-sfdev2dev1<br>_______________________________________________<br>Nagios-users mailing list<br>Nagios-users@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/nagios-users<br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</div><br></div></body></html>