Home Directory Addons Notifications nagios-notify-by-pager.pl

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

nagios-notify-by-pager.pl

Current Version
1.2
Last Release Date
2009-08-09
Compatible With
  • Nagios 3.x
Owner
Hits
101115
Nagios CSP

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!
Use this script for conditional sending of pager (SMS) notifications for hosts/services. The script checks if the custom variable _no_pager is set to 1 for the current host/service/contact, and doesn't do anything if it is. If the variable isn't set, the script generates a notification message (through a customisable template) and sends it to the configured SMS provider.

perldoc nagios-notify-by-pager.pl for complete details.

v1.2 adds support for conveniently handling multiple SMS providers.
nagios-notify-by-pager.pl processes contact and host/service information from the environment set by Nagios and sends an SMS using the given SMS provider.

While the program currently supports one SMS provider -- http://smslane.com/ -- it is trivial to add more providers as long as they have a web interface for sending SMSes.

nagios-notify-by-pager.pl checks if the custom variable _no_pager is set for the current host, service or contact and exits without doing anything if it is. This provides the user with any easy way to disable pager notifications for specific hosts, services and/or contacts: set _no_pager to 1 in the host/service/contact definition.