[PATCH] Add host/service option to control resetting notifications on non-OK state changes

Alex Bame alex at standsure.com
Thu Jun 2 23:41:36 CEST 2011


Hello list,

Attached is a patch against 3.2.3 which provides an option to control
whether or not notification counters and suppression should be reset
when transitioning between non-OK states for hosts and services. The
default behavior is to mimic Nagios' current logic where notifications
are always reset on state changes. I've performed internal testing on
this and it works as expected.

If anyone has a better (shorter) name for the setting than
'reset_notifications_on_non_ok_state_change' I'd be very happy to hear
it, since the option is currently by far the longest for either hosts or
services.

Thanks,
--Alex

-- 
Alex Bame
Sr. Engineer
Stand Sure Systems
"Improving Internet Reliability One Site at a Time"


1077 Independence Ave.
Suite B
Mt. View, CA  94043
www.standsure.com

510.299.2713  CELL
650.967.9070  x2016
650.967.9071  FAX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-add-reset-notifications.patch
Type: text/x-patch
Size: 34630 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110602/fe772004/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list