Rule-Based Notifier

Yueh-Hung Liu yuehung.liu at gmail.com
Sun Jan 9 11:17:57 CET 2011


Hi all,

I have a new work here:

http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule%252DBased-Notifier/details

This simple Perl script is a rule-based notification addon for Nagios.
Nagios has its own notification logic which decides whether a notification
for an alert should be sent. If this script is defined as the notification
commands, further conditions can be defined by admins to control whether a
notification should be "actually" sent.

By using this script, Nagios admins can decide:

	WHO should(or not) be notified,
	notification for WHICH hosts/services should(or not) be controlled,
	on WHAT states should(or not) be concerned,
	at WHEN a notification should(or not) be sent,
	and HOW to send a notification.

All these features are implemented by defining some "rules" which will
be matched by this script while Nagios hand off a notification to it.
Rules are defined in a plain text config file(see below), no database is
needed.

At first I wrote this script just for myself(as an Nagios admin) to
fulfill different needs from different Nagios contacts: someone want to be
notified on some specific situations, while another contacts don't want be
"annoyed" on some conditions, etc.

This script has been tested and used for several monthes in the system
administered by me, it should be workable and now is released to share with
anyone who need it. Perhaps many functions this script provided could be
achievable by complex Nagios configuration, it is here for another, simpler
I think, choice. Any suggestion and feedback are greatly welcome. Thanks.

Y.H.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list