Notifications

nagios-notify-by-pager.pl

Description:

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.

Current Version

1.2

Last Release Date

2009-08-09

Compatible With

  • Nagios 3.x

Owner


Project Notes
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.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
1
Views
101,050