Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
send_twilio_sms
b20f5a4a95
2012-12-31
- Nagios 3.x
Other
39289
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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$"
}
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$"
}
Reviews (0)
Be the first to review this listing!