<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks a lot guys. I'll try that.<br><br>BR,<br>Oyunbat<br><br>--- On <b>Wed, 3/11/09, Andrew Davis <i><nccomp@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Andrew Davis <nccomp@gmail.com><br>Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios<br>To: "Martyn" <martyn@chetnet.co.uk><br>Cc: "'Onotsky, Steve x55328'" <Steve.Onotsky@broadridge.com>, nagios-users@lists.sourceforge.net<br>Date: Wednesday, March 11, 2009, 9:39 AM<br><br><div id="yiv283844187">


  
A combination of the "parents", hostgroups, and escalation. I'll post
my configs later, but once you have confirmed that SMS is setup and
working (make sure that for every email alert, you also get an SMS
alert), then you define your network topology and put them into
hostgroups. In my case, I have a hostgroup of "network-core" which
includes my core routers, firewalls, Exchange server, Exchange storage,
and the switch connecting the Exchange system with the firewall. I then
have a contactgroup of the SMS addresses of three key people (myself
included). If any of those device fail, Nagios sends notification via
SMS. If anything else fails, it goes via emails. The kewl thing is I'll
often sleep through emails, but if I get an SMS, I know something
serious failed and I force myself to get up...<br>
<br>
Additionally, I tend to define a sanity check: a ping to yahoo and http
to MSN and non-caching dns query of Google. If all sanity checks fail
and are not resolved within 4 hours, then through escalations, an SMS
is sent to the manager of the support team at our ISP as we likely have
a bandwidth down issue. If sanity checks AND a core network device
fail, my ISP doesn't get notified as we know its us...<br>
<pre class="moz-signature">  A. Davis<br>  Email:     <a rel="nofollow" class="moz-txt-link-abbreviated" target="_blank" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a><br><br>  "There is no limit to what a man can accomplish<br>   if he doesn't care who gets the credit." - Ronald Reagan<br></pre>
<br>
<br>
Martyn wrote:
<blockquote type="cite">
  
  










 
  <style> _filtered #yiv283844187 {
font-family:Tahoma;}
 _filtered #yiv283844187 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}
#yiv283844187 P.MsoNormal {
FONT-SIZE:12pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Times New Roman";}
#yiv283844187 LI.MsoNormal {
FONT-SIZE:12pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Times New Roman";}
#yiv283844187 DIV.MsoNormal {
FONT-SIZE:12pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Times New Roman";}
#yiv283844187 A:link {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv283844187 SPAN.MsoHyperlink {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv283844187 A:visited {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv283844187 SPAN.MsoHyperlinkFollowed {
COLOR:blue;TEXT-DECORATION:underline;}
#yiv283844187 PRE {
FONT-SIZE:10pt;MARGIN:0cm 0cm 0pt;COLOR:#000099;FONT-FAMILY:"Courier New";}
#yiv283844187 SPAN.EmailStyle18 {
COLOR:navy;FONT-FAMILY:Arial;}
#yiv283844187 DIV.Section1 {
}
</style>
  <div dir="ltr" align="left"><span class="369412016-11032009"><font color="#0000ff" size="2" face="Arial">Beat me too it with the same
question</font></span></div>
  <div> </div>
  <div><span class="369412016-11032009"></span><font face="Arial"><font color="#0000ff"><font size="2">M<span class="369412016-11032009">artyn</span></font></font></font><br>
  </div>
  <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
  <hr tabindex="-1"><font size="2" face="Tahoma"><b>From:</b> Onotsky,
Steve x55328 [<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="mailto:Steve.Onotsky@broadridge.com">mailto:Steve.Onotsky@broadridge.com</a>] <br>
  <b>Sent:</b> 11 March 2009 15:55<br>
  <b>To:</b> <a rel="nofollow" class="moz-txt-link-abbreviated" target="_blank" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>; <a rel="nofollow" class="moz-txt-link-abbreviated" target="_blank" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
  <b>Subject:</b> Re: [Nagios-users] How to receive notification alert
by sms tomobile phone using Nagios<br>
  </font><br>
  </div>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">I’ve been
messing around with this, off and on (as time permits).  How did you
set up your config to go to SMS only if email fails?</span></font></p> 
  <p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">  </span></font></p> 
  <p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">Thanks</span></font></p> 
  <p class="MsoNormal"><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; color: navy; font-family: Arial;">  </span></font></p> 
  <div>
  <p class="MsoNormal"><font color="#000099" size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Steve Onotsky</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Server Support
Technologist</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Broadridge</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Investor Communication
Solutions, Canada</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">5970 Chedworth Way</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Mississauga</span></font><font size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">  ON  
  L5R 4G5</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Tel: (905) 507-5328</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Fax: (905) 507-5312</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">Inet: </span></font><a rel="nofollow" target="_blank" href="mailto:steve.onotsky@broadridge.com"><font size="1" face="Arial"><span style="font-size: 7.5pt; font-family: Arial;">steve.onotsky@broadridge.com</span></font></a></p> 
  <p class="MsoNormal"><font color="#000099" size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p> 
  <p class="MsoNormal"><em><i><font color="#000099" size="1" face="Times New Roman"><span style="font-size: 7.5pt;">Quis
custodiet ipsos custodes?</span></font></i></em></p> 
  <p class="MsoNormal"><font color="#000099" size="1" face="Times New Roman"><span style="font-size: 7.5pt;">- Juvenal, <em><i><font face="Times New Roman">Satires</font></i></em>, VI, 347</span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p> 
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font color="black" size="3" face="Times New Roman"><span style="font-size: 12pt; color: windowtext;" lang="EN-US">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" size="2" face="Tahoma"><span style="font-weight: bold; font-size: 10pt; color: windowtext; font-family: Tahoma;" lang="EN-US">From:</span></font></b><font color="black" size="2" face="Tahoma"><span style="font-size: 10pt; color: windowtext; font-family: Tahoma;" lang="EN-US"> Andrew Davis [<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="mailto:nccomp@gmail.com">mailto:nccomp@gmail.com</a>] <br>
  <b><span style="font-weight: bold;">Sent:</span></b> March 11, 2009
11:35<br>
  <b><span style="font-weight: bold;">To:</span></b>
<a rel="nofollow" class="moz-txt-link-abbreviated" target="_blank" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re:
[Nagios-users] How to receive notification alert by sms to mobile phone
using Nagios</span></font><font color="black"><span style="color: windowtext;" lang="EN-US"></span></font></p> 
  </div>
  <p class="MsoNormal"><font color="#000099" size="3" face="Times New Roman"><span style="font-size: 12pt;">  </span></font></p> 
  <p class="MsoNormal"><font color="#000099" size="3" face="Times New Roman"><span style="font-size: 12pt;">In "Nagios 2nd Edition" from
Wolfgang Barth, he covers this in section 12.4.2. He covers
"smsclient", "yasp", and "smssend", but he points out what Jim pointed
out... most are email to SMS conversion tools so if email is done,
you're still not notified. "smsclient" and a modem resolve this. I have
it installed and working fine. Our normal notifications go via email,
but if a network device or email server is down, then notifications go
via SMS.<br>
  <br>
  </span></font></p> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  A. Davis</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  Email:     <a rel="nofollow" target="_blank" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a></span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  "There is no limit to what a man can accomplish</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">   if he doesn't care who gets the credit." - Ronald Reagan</span></font></pre> 
  <p class="MsoNormal"><font color="#000099" size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
  <br>
Jim Avery wrote: </span></font></p> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">2009/3/11 tsedendorj oyunbat <a rel="nofollow" target="_blank" href="mailto:t_oyunbat@yahoo.com"><t_oyunbat@yahoo.com></a>:</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">I'm new one in Nagios system.</span></font></pre> 
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">I work in mobile cellular operator company. And I need to know is there any</span></font></pre> 
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">chance to get notification alert via sms to my mobile phone when BSC or HLR</span></font></pre> 
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">equipments go down or stop working?</span></font></pre> 
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Is there any configuration on Nagios? And how to connect Nagios server to</span></font></pre> 
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">sms center.</span></font></pre> 
    <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">    </span></font></pre> 
  </blockquote>
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Currently I use an external email-sms service similar to</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;"><a rel="nofollow" target="_blank" href="http://www.intellisms.co.uk">http://www.intellisms.co.uk</a> so I can send emails from Nagios in the</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">usual way and have them converted to SMS.  It's extremely easy to set</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">up, but has the disadvantage that if the email system goes down, we</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">don't know about it!</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Alternatively, you could connect a mobile 'phone to your Nagios server</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">and send SMS using gnokii <a rel="nofollow" target="_blank" href="http://www.gnokii.org/">http://www.gnokii.org/</a> or similar, or your</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">mobile operator might well have an http interface you could use or can</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">recommend other options.</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">In Nagios, you specify the notification methods in command definitions</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">which you can write yourself so it's extremely flexible.  See</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;"><a rel="nofollow" target="_blank" href="http://nagios.sourceforge.net/docs/3_0/notifications.html">http://nagios.sourceforge.net/docs/3_0/notifications.html</a> under the</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">heading "Notification Methods".</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">hth,</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Jim</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">------------------------------------------------------------------------------</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">powering Web 2.0 with engaging, cross-platform capabilities. Quickly and</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">easily build your RIAs with Flex Builder, the Eclipse(TM)based development</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">software that enables intelligent coding and step-through debugging.</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Download the free 60 day trial. <a rel="nofollow" target="_blank" href="http://p.sf.net/sfu/www-adobe-com">http://p.sf.net/sfu/www-adobe-com</a></span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">_______________________________________________</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">Nagios-users mailing list</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;"><a rel="nofollow" target="_blank" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;"><a rel="nofollow" target="_blank" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">::: Messages without supporting info will risk being sent to /dev/null</span></font></pre> 
  <pre><font color="#000099" size="2" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre> 
  </div>
  <pre>This message and any attachments are intended only for the use of the addressee and<br>may contain information that is privileged and confidential. If the reader of the <br>message is not the intended recipient or an authorized representative of the<br>intended recipient, you are hereby notified that any dissemination of this<br>communication is strictly prohibited. If you have received this communication in<br>error, please notify us immediately by e-mail and delete the message and any<br>attachments from your system.<br><br>  </pre>
</blockquote>
 
</div><pre>------------------------------------------------------------------------------<br>Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<br>powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<br>easily build your RIAs with Flex Builder, the Eclipse(TM)based development<br>software that enables intelligent coding and step-through debugging.<br>Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com</pre><pre>_______________________________________________<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<br>any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</pre></blockquote></td></tr></table><br>