SMS Notify

Clockwork

SMS Notify - Clockwork

Send SMS notifications from Nagios.

Uses the Nagios pager configuration to send SMS through the Clockwork SMS Gateway.

Example commands:

define command {

    command_name notify-by-sms

    command_line $USER1$/notify_sms.pl -k API_KEY -t $CONTACTPAGER$ -f Nagios -m "Service: $SERVICEDESC$ Host: $HOSTNAME$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Info: $SERVICEOUTPUT$ Date: $LONGDATETIME$"

 }
define command {

    command_name host-notify-by-sms

    command_line $USER1$/notify_sms.pl -k API_KEY -t $CONTACTPAGER$ -f Nagios -m "Host $HOSTNAME$ is $HOSTSTATE$ Info: $HOSTOUTPUT$ Time: $LONGDATETIME$"

 }

To use this script you will need a Clockwork account available from http://www.clockworksms.com/platforms/nagios/

 

The latest version of this plugin with full change history can always be found at:

http://github.com/mediaburst/Nagios-Plugins