<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[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]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:#000099;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:#000099;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:#000099;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Andrew,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>How are you configuring your sanity checks in Nagios?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Andrew Davis [mailto:nccomp@gmail.com]
<br>
<b>Sent:</b> March/11/2009 9:39 AM<br>
<b>To:</b> Martyn<br>
<b>Cc:</b> 'Onotsky, Steve x55328'; nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Nagios-users] How to receive notification alert by sms
tomobile phone using Nagios<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>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>
<br>
<o:p></o:p></p>

<pre><o:p> </o:p></pre><pre>  A. Davis<o:p></o:p></pre><pre>  Email:     <a
href="mailto:nccomp@gmail.com">nccomp@gmail.com</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>  "There is no limit to what a man can accomplish<o:p></o:p></pre><pre>   if he doesn't care who gets the credit." - Ronald Reagan<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
Martyn wrote: <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Beat me too it with the same question</span><o:p></o:p></p>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Martyn</span><o:p></o:p></p>

</div>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Onotsky, Steve x55328 [<a
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 href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>; <a
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</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>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><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Thanks</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> </span><o:p></o:p></p>

<div>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Steve
Onotsky</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Server
Support Technologist</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Broadridge</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Investor
Communication Solutions, Canada</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>5970
Chedworth Way</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Mississauga 
ON  L5R 4G5</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Tel:
(905) 507-5328</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Fax:
(905) 507-5312</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Inet:
</span><a href="mailto:steve.onotsky@broadridge.com"><span style='font-size:
7.5pt;font-family:"Arial","sans-serif"'>steve.onotsky@broadridge.com</span></a><o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal><em><span style='font-size:7.5pt'>Quis custodiet ipsos
custodes?</span></em><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:7.5pt'>- Juvenal, <em>Satires</em>,
VI, 347</span><o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='color:windowtext'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Andrew Davis [<a
href="mailto:nccomp@gmail.com">mailto:nccomp@gmail.com</a>] <br>
<b>Sent:</b> March 11, 2009 11:35<br>
<b>To:</b> <a 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 to
mobile phone using Nagios</span><o:p></o:p></p>

</div>

<p class=MsoNormal> <o:p></o:p></p>

<p class=MsoNormal>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>
<br>
<o:p></o:p></p>

<pre> <o:p></o:p></pre><pre>  A. Davis<o:p></o:p></pre><pre>  Email:     <a
href="mailto:nccomp@gmail.com">nccomp@gmail.com</a><o:p></o:p></pre><pre> <o:p></o:p></pre><pre>  "There is no limit to what a man can accomplish<o:p></o:p></pre><pre>   if he doesn't care who gets the credit." - Ronald Reagan<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
Jim Avery wrote: <o:p></o:p></p>

<pre>2009/3/11 tsedendorj oyunbat <a href="mailto:t_oyunbat@yahoo.com"><t_oyunbat@yahoo.com></a>:<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>I'm new one in Nagios system.<o:p></o:p></pre><pre>I work in mobile cellular operator company. And I need to know is there any<o:p></o:p></pre><pre>chance to get notification alert via sms to my mobile phone when BSC or HLR<o:p></o:p></pre><pre>equipments go down or stop working?<o:p></o:p></pre><pre>Is there any configuration on Nagios? And how to connect Nagios server to<o:p></o:p></pre><pre>sms center.<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre> <o:p></o:p></pre><pre>Currently I use an external email-sms service similar to<o:p></o:p></pre><pre><a
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></pre><pre>usual way and have them converted to SMS.  It's extremely easy to set<o:p></o:p></pre><pre>up, but has the disadvantage that if the email system goes down, we<o:p></o:p></pre><pre>don't know about it!<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Alternatively, you could connect a mobile 'phone to your Nagios server<o:p></o:p></pre><pre>and send SMS using gnokii <a
href="http://www.gnokii.org/">http://www.gnokii.org/</a> or similar, or your<o:p></o:p></pre><pre>mobile operator might well have an http interface you could use or can<o:p></o:p></pre><pre>recommend other options.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>In Nagios, you specify the notification methods in command definitions<o:p></o:p></pre><pre>which you can write yourself so it's extremely flexible.  See<o:p></o:p></pre><pre><a
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></pre><pre>heading "Notification Methods".<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>hth,<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Jim<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>------------------------------------------------------------------------------<o:p></o:p></pre><pre>Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<o:p></o:p></pre><pre>powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<o:p></o:p></pre><pre>easily build your RIAs with Flex Builder, the Eclipse(TM)based development<o:p></o:p></pre><pre>software that enables intelligent coding and step-through debugging.<o:p></o:p></pre><pre>Download the free 60 day trial. <a
href="http://p.sf.net/sfu/www-adobe-com">http://p.sf.net/sfu/www-adobe-com</a><o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Nagios-users mailing list<o:p></o:p></pre><pre><a
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><o:p></o:p></pre><pre><a
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><o:p></o:p></pre><pre>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <o:p></o:p></pre><pre>::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>This message and any attachments are intended only for the use of the addressee and<o:p></o:p></pre><pre>may contain information that is privileged and confidential. If the reader of the <o:p></o:p></pre><pre>message is not the intended recipient or an authorized representative of the<o:p></o:p></pre><pre>intended recipient, you are hereby notified that any dissemination of this<o:p></o:p></pre><pre>communication is strictly prohibited. If you have received this communication in<o:p></o:p></pre><pre>error, please notify us immediately by e-mail and delete the message and any<o:p></o:p></pre><pre>attachments from your system.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>  <o:p></o:p></pre></div>

</body>

</html>