Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
send_sms.php
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!
You will need an account with credits on smscity.com to use this plugin.
Unpack the archive in nagios/libexec/
change the variables in send_sms.php to reflect your user and password, and of course your sender name.
Add the following to commands.cfg:
define command{
command_name notify-host-by-sms
command_line $USER1$/send_sms.php -T $_CONTACTMOBILE$ -M '$HOSTSTATE$: $HOSTNAME$ $HOSTACKCOMMENT' > /dev/null 2>&1
}
define command{
command_name notify-service-by-sms
command_line $USER1$/send_sms.php -T $_CONTACTMOBILE$ -M '$SERVICESTATE$: $SERVICEDESC$ on $HOSTNAME$ $SERVICEACKCOMMENT$' > /dev/null 2>&1
}
Make sure you add _Mobile to every contact in your contacts.cfg, this should contain the 06-number to send the SMS to.
Unpack the archive in nagios/libexec/
change the variables in send_sms.php to reflect your user and password, and of course your sender name.
Add the following to commands.cfg:
define command{
command_name notify-host-by-sms
command_line $USER1$/send_sms.php -T $_CONTACTMOBILE$ -M '$HOSTSTATE$: $HOSTNAME$ $HOSTACKCOMMENT' > /dev/null 2>&1
}
define command{
command_name notify-service-by-sms
command_line $USER1$/send_sms.php -T $_CONTACTMOBILE$ -M '$SERVICESTATE$: $SERVICEDESC$ on $HOSTNAME$ $SERVICEACKCOMMENT$' > /dev/null 2>&1
}
Make sure you add _Mobile to every contact in your contacts.cfg, this should contain the 06-number to send the SMS to.
Reviews (0)
Be the first to review this listing!