<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
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" cols="72">
  A. Davis
  Email:     <a class="moz-txt-link-abbreviated" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan
</pre>
<br>
<br>
Martyn wrote:
<blockquote
 cite="mid:!&!AAAAAAAAAAAYAAAAAAAAADw1FTPxxwxAqGSPfErmtgrCgAAAEAAAAAaTNI+AdX5Pr3NKvSx6rNgBAAAAAA==@chetnet.co.uk"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.5659" name="GENERATOR">
<!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType
 name="PostalCode"
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
 name="State" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
 name="City" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
 name="Street" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
 name="address"
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
 name="country-region"
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
 name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
  <style>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: #000099; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: #000099; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: #000099; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; COLOR: #000099; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
  </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 dir="ltr" align="left"><span class="369412016-11032009"><font
 color="#0000ff" face="Arial" size="2">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 face="Tahoma" size="2"><b>From:</b> Onotsky,
Steve x55328 [<a class="moz-txt-link-freetext" 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 class="moz-txt-link-abbreviated" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>; <a class="moz-txt-link-abbreviated" 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" face="Arial" size="2"><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?<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; color: navy; font-family: Arial;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; color: navy; font-family: Arial;">Thanks<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; color: navy; font-family: Arial;"><o:p> </o:p></span></font></p>
  <div>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Steve Onotsky</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Server Support
Technologist</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Broadridge<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Investor Communication
Solutions, <st1:country-region w:st="on"><st1:place w:st="on">Canada</st1:place></st1:country-region><o:p></o:p></span></font></p>
  <p class="MsoNormal"><st1:Street w:st="on"><st1:address w:st="on"><font
 color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">5970 Chedworth Way</span></font></st1:address></st1:Street><o:p></o:p></p>
  <p class="MsoNormal"><st1:place w:st="on"><st1:City w:st="on"><font
 color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Mississauga</span></font></st1:City><font
 face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">  <st1:State w:st="on">ON</st1:State> 
  <st1:PostalCode w:st="on">L5R 4G5</st1:PostalCode></span></font></st1:place><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Tel: (905) 507-5328</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Fax: (905) 507-5312</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">Inet: </span></font><a
 moz-do-not-send="true" href="mailto:steve.onotsky@broadridge.com"><font
 face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;">steve.onotsky@broadridge.com</span></font></a><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"> <o:p></o:p></span></font></p>
  <p class="MsoNormal"><em><i><font color="#000099"
 face="Times New Roman" size="1"><span style="font-size: 7.5pt;">Quis
custodiet ipsos custodes?</span></font></i></em><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="1"><span style="font-size: 7.5pt;">- Juvenal, <em><i><font
 face="Times New Roman">Satires</font></i></em>, VI, 347</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"> </span><o:p></o:p></font></p>
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><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" face="Tahoma" size="2"><span
 style="font-weight: bold; font-size: 10pt; color: windowtext; font-family: Tahoma;"
 lang="EN-US">From:</span></font></b><font color="black" face="Tahoma"
 size="2"><span
 style="font-size: 10pt; color: windowtext; font-family: Tahoma;"
 lang="EN-US"> Andrew Davis [<a class="moz-txt-link-freetext" 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 class="moz-txt-link-abbreviated" 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"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="3"><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>
  <o:p></o:p></span></font></p>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">  A. Davis<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">  Email:     <a moz-do-not-send="true"
 href="mailto:nccomp@gmail.com">nccomp@gmail.com</a><o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">  "There is no limit to what a man can accomplish<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">   if he doesn't care who gets the credit." - Ronald Reagan<o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font color="#000099" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><br>
  <br>
Jim Avery wrote: <o:p></o:p></span></font></p>
  <pre wrap=""><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">2009/3/11 tsedendorj oyunbat <a
 moz-do-not-send="true" href="mailto:t_oyunbat@yahoo.com"><t_oyunbat@yahoo.com></a>:<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">  <o:p></o:p></span></font></pre>
  <blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
    <pre wrap=""><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">I'm new one in Nagios system.<o:p></o:p></span></font></pre>
    <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">I work in mobile cellular operator company. And I need to know is there any<o:p></o:p></span></font></pre>
    <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">chance to get notification alert via sms to my mobile phone when BSC or HLR<o:p></o:p></span></font></pre>
    <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">equipments go down or stop working?<o:p></o:p></span></font></pre>
    <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Is there any configuration on Nagios? And how to connect Nagios server to<o:p></o:p></span></font></pre>
    <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">sms center.<o:p></o:p></span></font></pre>
    <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">    <o:p></o:p></span></font></pre>
  </blockquote>
  <pre wrap=""><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Currently I use an external email-sms service similar to<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="http://www.intellisms.co.uk">http://www.intellisms.co.uk</a> so I can send emails from Nagios in the<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">usual way and have them converted to SMS.  It's extremely easy to set<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">up, but has the disadvantage that if the email system goes down, we<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">don't know about it!<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Alternatively, you could connect a mobile 'phone to your Nagios server<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">and send SMS using gnokii <a
 moz-do-not-send="true" href="http://www.gnokii.org/">http://www.gnokii.org/</a> or similar, or your<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">mobile operator might well have an http interface you could use or can<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">recommend other options.<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">In Nagios, you specify the notification methods in command definitions<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">which you can write yourself so it's extremely flexible.  See<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="http://nagios.sourceforge.net/docs/3_0/notifications.html">http://nagios.sourceforge.net/docs/3_0/notifications.html</a> under the<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">heading "Notification Methods".<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">hth,<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Jim<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">------------------------------------------------------------------------------<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">easily build your RIAs with Flex Builder, the Eclipse(TM)based development<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">software that enables intelligent coding and step-through debugging.<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Download the free 60 day trial. <a
 moz-do-not-send="true" href="http://p.sf.net/sfu/www-adobe-com">http://p.sf.net/sfu/www-adobe-com</a><o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">_______________________________________________<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">Nagios-users mailing list<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></span></font></pre>
  <pre><font color="#000099" face="Courier New" size="2"><span
 style="font-size: 10pt;">  <o:p></o:p></span></font></pre>
  </div>
  <pre>This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

  </pre>
</blockquote>
</body>
</html>