Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

send_twilio_sms

Current Version
b20f5a4a95
Last Release Date
2012-12-31
Compatible With
  • Nagios 3.x
License
Other
Hits
38887
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Sends an SMS notification via the Twilio SMS service.
Sends an SMS via the Twilio SMS gateway.
Mobile number should be entered with country code, eg +44123412345678

define contact{
contact_name simonSMS
use sms-contact
alias Simon Green SMS
service_notification_options c
host_notification_options d,u
service_notification_commands notify-service-by-sms!+441234123456
host_notification_commands notify-host-by-sms!+441234123456
}

define command{
command_name notify-host-by-sms
command_line $USER1$/send_twilio_sms -d $ARG1$ -H $HOSTNAME$ -S $HOSTSTATE$ -O "$HOSTOUTPUT$"
}
define command{
command_name notify-service-by-sms
command_line $USER1$/send_twilio_sms -d $ARG1$ -s $SERVICESTATE$ -H "$HOSTNAME$" -D $SERVICEDESC$ -O "$SERVICEOUTPUT$"
}