Hi Andrew,

How are you configuring your sanity checks in Nagios?

Thanks.

From: Andrew Davis [mailto:[email protected]]
Sent: March/11/2009 9:39 AM
To: Martyn
Cc: 'Onotsky, Steve x55328'; [email protected]
Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile 
phone using Nagios

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...

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...




  A. Davis

  Email:     [email protected]<mailto:[email protected]>



  "There is no limit to what a man can accomplish

   if he doesn't care who gets the credit." - Ronald Reagan


Martyn wrote:
Beat me too it with the same question

Martyn
________________________________
From: Onotsky, Steve x55328 [mailto:[email protected]]
Sent: 11 March 2009 15:55
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile 
phone using Nagios
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?

Thanks


Steve Onotsky
Server Support Technologist
Broadridge
Investor Communication Solutions, Canada
5970 Chedworth Way
Mississauga  ON  L5R 4G5
Tel: (905) 507-5328
Fax: (905) 507-5312
Inet: [email protected]<mailto:[email protected]>

Quis custodiet ipsos custodes?
- Juvenal, Satires, VI, 347

________________________________
From: Andrew Davis [mailto:[email protected]]
Sent: March 11, 2009 11:35
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [Nagios-users] How to receive notification alert by sms to mobile 
phone using Nagios

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.





  A. Davis

  Email:     [email protected]<mailto:[email protected]>



  "There is no limit to what a man can accomplish

   if he doesn't care who gets the credit." - Ronald Reagan


Jim Avery wrote:

2009/3/11 tsedendorj oyunbat <[email protected]><mailto:[email protected]>:



I'm new one in Nagios system.

I work in mobile cellular operator company. And I need to know is there any

chance to get notification alert via sms to my mobile phone when BSC or HLR

equipments go down or stop working?

Is there any configuration on Nagios? And how to connect Nagios server to

sms center.





Currently I use an external email-sms service similar to

http://www.intellisms.co.uk so I can send emails from Nagios in the

usual way and have them converted to SMS.  It's extremely easy to set

up, but has the disadvantage that if the email system goes down, we

don't know about it!



Alternatively, you could connect a mobile 'phone to your Nagios server

and send SMS using gnokii http://www.gnokii.org/ or similar, or your

mobile operator might well have an http interface you could use or can

recommend other options.



In Nagios, you specify the notification methods in command definitions

which you can write yourself so it's extremely flexible.  See

http://nagios.sourceforge.net/docs/3_0/notifications.html under the

heading "Notification Methods".



hth,



Jim



------------------------------------------------------------------------------

Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are

powering Web 2.0 with engaging, cross-platform capabilities. Quickly and

easily build your RIAs with Flex Builder, the Eclipse(TM)based development

software that enables intelligent coding and step-through debugging.

Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________

Nagios-users mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/nagios-users

::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.

::: Messages without supporting info will risk being sent to /dev/null



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.




------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to