Using an SMS Server to Provide a Robust Alerting Service for Nagios
I’m a big fan of the Nagios network monitoring system and rely on it to tell me if something goes wrong with the systems for which I am responsible. I have made a large investment in time configuring Nagios to monitor exactly what I am interested in, and this effort would be wasted if Nagios detected a problem, but failed to communicate that problem to me. To make Nagios more robust, I wanted to make sure that its alerting mechanism did not depend on connections to the Internet—this would include the physical connection itself and internal and external services, such as e-mail, routing and DNS.
I have relied on e-mail-based systems in the past to deliver alerts; however, my dilemma was that if I was not getting e-mail, I did not know if this meant everything was okay or if there was some problem preventing me from getting the e-mail alerts, such as a down Internet connection or another kind of e-mail failure. I found that I became uneasy after long periods of silence and felt compelled to “poll” the system to make sure everything was okay.
On the other hand, I felt that if my alerting system was robust and I could trust it, my thinking would become “no news is good news”, and the absence of alerts would mean everything was fine.
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Linux-Based X Terminals with XDMCP
- Readers' Choice Awards 2011
- 100% disappointed with the decision to go all digital.
- You Need A Budget
- Parallel Programming with NVIDIA CUDA
- The Linux powered LAN Gaming House
- Validate an E-Mail Address with PHP, the Right Way
- RSS Feeds
- Python for Android
- Why Python?
- I didn't knew this thing by
4 hours 17 min ago - Author's reply
7 hours 41 min ago - Link to modlys
8 hours 48 min ago - I use YNAB because of the
9 hours 4 sec ago - Search
14 hours 3 min ago - Question
14 hours 26 min ago - for the record
14 hours 28 min ago - That's disappointing. Thanks
16 hours 52 min ago - Well spotted. I've corrected
18 hours 21 min ago - This is a great program. We
21 hours 21 min ago





Comments
please dont use the -noma switch unless you know what you doing!
Hello readers!
Eric mentions the rather undocumented noma command line switch. As useful it is to check if the SMS was send successfully, the option is disabled by default for a good reason.
The noma switch refers to our GPL licensed product called notification manager NoMa (http://www.netways.de/en/de/produkte/nagios_add_ons/noma/). And because Nagios is blocking during alerting, it is dangerous to use the -noma switch right out of Nagios. Therefore it is disabled by default and, sorry for that, not very well documented.
Greetings from Germany, Birger Schmidt, Author of the smsfinder.pl script.
Why not an existing SMS provider?
Wondering why you didn't go with an existing SMS provider and tie in through an API like PennySMS, TextMarks, or Advanced API? Likely could have come in well under the $$ this setup cost.
Re: Why not an existing provider?
I have no experience with these providers, but wouldn't they require your Internet connection to be up? I wanted something that would work regardless.
SMS service reminders
It's amazing what solutions are coming out of SMS, other than the usual marketing ones. A recent case study from TextMagic discussed how a home safety company integrated an email to SMS service for life saving smoke detector alerts. Very compelling.
http://blog.textmagic.com/weblog/2010/02/keeping-customers-safe-with-sms...