Nagios Alerts to SMS using SMSTools help?

Sean McAfee smcafee at collaborativefusion.com
Mon Jul 6 14:53:41 CEST 2009


Mirza Dedic wrote:
> Hello,
> 
> I plan to use "smstools" for my Nagios box to send out alerts to our cells if per say, our email gateway was down and Nagios alerts would not be delivered to the blackberries.
> 
> In order to do this, I see a lot of users are using "smstools", when I checked their site it seems that the development has been passed to another author and is now called smstools 3.
> 
> Has anyone got smstools 3 working with nagios alerts?
> 
> I live in Canada, will a cell-phone such as MOTO KRZR or RAZR work?
> 
> Thanks.

smstools3 is just a fork of smstools, which won't be receiving updates; 
functionally, they're the same.

I'm using smstools3 with the following notification commands:

# 'notify-host-by-sms' command definition
define command{
         command_name    notify-host-by-sms
         command_line    /usr/local/bin/sendsms $CONTACTPAGER$ "** 
$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **"
         }

# 'notify-service-by-sms' command definition
define command{
         command_name    notify-service-by-sms
         command_line    /usr/local/bin/sendsms $CONTACTPAGER$ "** 
$NOTIFICATIONTYPE$ Service Alert: $SERVICEDESC$ is $SERVICESTATE$ **"
         }

I can't answer your compatibility question, but if you have problems 
with it, the Moxa OnCell G2100 
(http://www.moxa.com/product/OnCell_G2100_Series.htm) has been 
absolutely rock solid.

-- 
Sean McAfee
System Engineer

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