SMS HTTP Gateway

Esendex

notify_sms

Based on the SMS HTTP gateway plugin, it also contains additional debugging code and error checking. Currently set to send through an Esendex.com account, easily extended to other service providers.

Example commands

define command{
command_name service_notify_with_sms
command_line /usr/lib/nagios/plugins/notify_sms -a EsendexAccount -u EsendexUsername -p EsendexPassword -m '$NOTIFICATIONTYPE$: $HOSTNAME$ is $SERVICESTATE$ ($SERVICEOUTPUT$)' -n $CONTACTPAGER$
}

define command{
command_name host_notify_with_sms
command_line /usr/lib/nagios/plugins/notify_sms -a EsendexAccount -u EsendexUsername -p EsendexPassword -m '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($HOSTOUTPUT$)' -n $CONTACTPAGER$
}