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.

Read Full Article from the March, 2010 Issue

Buy This Issue

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

please dont use the -noma switch unless you know what you doing!

Birger Schmidt's picture

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?

Vitaliy Levit's picture

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?

epearce's picture

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

Anonymous's picture

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

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix