Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
send_twilio_phone
6323c1057d
2013-04-21
- Nagios 3.x
Other
39151
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 a text to speach notification to a PSTN phone number via Twilio.
define contact{
contact_name simonPhone
use phone-contact
alias Simon Green Phone
service_notification_options c
host_notification_options d,u
service_notification_commands notify-service-by-phone!+441234123456
host_notification_commands notify-host-by-phone!+441234123456
}
define command{
command_name notify-host-by-phone
command_line $USER1$/send_twilio_phone -d $ARG1$ -H $HOSTNAME$ -S $HOSTSTATE$ -O "$HOSTOUTPUT$"
}
define command{
command_name notify-service-by-sms
command_line $USER1$/send_twilio_phone -d $ARG1$ -s $SERVICESTATE$ -H "$HOSTNAME$" -D $SERVICEDESC$ -O "$SERVICEOUTPUT$"
}
define contact{
contact_name simonPhone
use phone-contact
alias Simon Green Phone
service_notification_options c
host_notification_options d,u
service_notification_commands notify-service-by-phone!+441234123456
host_notification_commands notify-host-by-phone!+441234123456
}
define command{
command_name notify-host-by-phone
command_line $USER1$/send_twilio_phone -d $ARG1$ -H $HOSTNAME$ -S $HOSTSTATE$ -O "$HOSTOUTPUT$"
}
define command{
command_name notify-service-by-sms
command_line $USER1$/send_twilio_phone -d $ARG1$ -s $SERVICESTATE$ -H "$HOSTNAME$" -D $SERVICEDESC$ -O "$SERVICEOUTPUT$"
}
Reviews (0)
Be the first to review this listing!