Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
How do I configure Nagios mobile / SMS alerts?

does anyone have any recommendations for an SMS gateway to use with Nagios? I'm looking to setup SMS alerting from our existing Nagios server.

share|improve this question

marked as duplicate by sysadmin1138 Jan 16 '12 at 3:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

3 Answers

I'm using googlecl. The notification string sets an event (at 2 minutes after the current) in google calendar with SMS reminder (configured to be sent in a minute before the event). That's how I get notification in a minute after something happens.

But this is not the best way. If something happens with Internet connection, you will not get a notification. It's better to attach a cell phone to your nagios server and send SMS via it.

share|improve this answer
    
Have you done this with a cell phone before? What model? Any concerns about signal quality in a datacenter? –  Kyle Smith Jun 14 '11 at 10:57
    
Unfortunately, no. Quick googling gave me this project: gnokii.org/docs.shtml –  HUB Jun 14 '11 at 11:37
    
thanks for the suggestion, I want to avoid using our internet connection so that should a network outage occur it doesn't also cut off our alerting system. So I guess a cell phone or SMS gateway is the way forward for us. So the question is what hardware have people used and would recommend? –  seaweed Jun 14 '11 at 14:27
add comment

There are lots of complications over billing when using an aggregator for such messages - most won't be interested unless you're going to push a significant volume of messages. HUB's suggestion of using googlecl was a new one on me - probably because the service is only available in the US (and I'm not).

Most mobile phones now support the extensions to the Hayes AT command set for SMS functionality - certainly any modern Nokia phone will. The only problem is how you manage contention and queuing of messages - I'd previously used BSD lpd for this but you could set up a daemon to monitor a queue or a filesystem socket or a mailbox to get messages to send. It's fairly trivial.

share|improve this answer
add comment

If price is a concern, consider an alternate approach:

Set up two or more nagios sites, that monitor each other through the internet. If one goes down, you will get alerts from the other site. As long as they are connected through different internet paths, each can respond in the event of a failure on one or the other.

That way, you can use email to send SMS messages through phonenumber@vtext.com (Verizon) or phonenumber@txt.att.net (AT&T).

share|improve this answer
    
Those two email to text services won't work for most of the world. –  John Gardeniers Jun 22 '11 at 21:56
    
But for the parts of the world they do work for, they work well. Have you checked if your provider has a similar email to text service? The examples I provided were intended as a starting point for you to explore your own cell provider's services. –  Nathan Garabedian Jun 23 '11 at 21:52
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.