How to receive notification alert by sms tomobile phone using Nagios
tsedendorj oyunbat
t_oyunbat at yahoo.com
Thu Mar 12 02:34:04 CET 2009
Thanks a lot guys. I'll try that.
BR,
Oyunbat
--- On Wed, 3/11/09, Andrew Davis <nccomp at gmail.com> wrote:
From: Andrew Davis <nccomp at gmail.com>
Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile phone using Nagios
To: "Martyn" <martyn at chetnet.co.uk>
Cc: "'Onotsky, Steve x55328'" <Steve.Onotsky at broadridge.com>, nagios-users at lists.sourceforge.net
Date: Wednesday, March 11, 2009, 9:39 AM
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: nccomp at gmail.com
"There is no limit to what a man can accomplish
if he doesn't care who gets the credit." - Ronald Reagan
Martyn wrote:
_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 {
}
Beat me too it with the same
question
Martyn
From: Onotsky,
Steve x55328 [mailto:Steve.Onotsky at broadridge.com]
Sent: 11 March 2009 15:55
To: nccomp at gmail.com; nagios-users at lists.sourceforge.net
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: steve.onotsky at broadridge.com
Quis
custodiet ipsos custodes?
- Juvenal, Satires, VI, 347
From: Andrew Davis [mailto:nccomp at gmail.com]
Sent: March 11, 2009
11:35
To:
nagios-users at lists.sourceforge.net
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: nccomp at gmail.com
"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 <t_oyunbat at yahoo.com>:
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
Nagios-users at lists.sourceforge.net
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
Nagios-users at lists.sourceforge.net
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090311/07a52221/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list