This is a multi-part message in MIME format.
--------------070209080600060505060300
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
wondering if this diff is valid, if not, I don't see the purpose of the
"if" condition in this case. if retention data is read only once at
start up before any checks take place, I'm wondering why we check for
flapping and not just go with what was in retention data. anyway, if the
host/service was not flapping and is calculated to be flapping, I think
notifications should be allowed, which is what the diff should change.
any advice appreciated.
thanks.
--------------070209080600060505060300
Content-Type: text/x-patch;
name="xrddefault.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="xrddefault.diff"
--- xdata/xrddefault.c 2009-05-17 17:44:20.000000000 +0200
+++ /tmp/xrddefault.c 2009-06-04 22:03:16.000000000 +0200
@@ -784,7 +784,7 @@
allow_flapstart_notification=FALSE;
else
/* flapstart notifications are okay */
- allow_flapstart_notification=FALSE;
+ allow_flapstart_notification=TRUE;
/* check for flapping */
check_for_host_flapping(temp_host,FALSE,FALSE,allow_flapstart_notification);
@@ -855,7 +855,7 @@
allow_flapstart_notification=FALSE;
else
/* flapstart notifications are okay */
- allow_flapstart_notification=FALSE;
+ allow_flapstart_notification=TRUE;
/* check for flapping */
check_for_service_flapping(temp_service,FALSE,allow_flapstart_notification);
--------------070209080600060505060300--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]