Page 1 of 1

[Nagios-devel] Bug - DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS

Posted: Mon Apr 28, 2008 2:10 pm
by Guest
This is a multi-part message in MIME format.
--------------040606040106080305020901
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

The external command DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS seems to not
work properly.

Attached is a patch that fixes the bug.

--
Mathieu

--------------040606040106080305020901
Content-Type: text/plain;
name="patch-disable-contactgroup-svc-notifications.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch-disable-contactgroup-svc-notifications.txt"

--- nagios-3.0.1/base/commands.c 2008-04-28 18:02:10.000000000 -0400
+++ nagios-3.0.1-original/base/commands.c 2008-04-28 18:01:20.000000000 -0400
@@ -3770,7 +3770,7 @@
unsigned long attr=MODATTR_NOTIFICATIONS_ENABLED;

/* no change */
- if(cntct->service_notifications_enabled==FALSE)
+ if(cntct->service_notifications_enabled==TRUE)
return;

/* set the attribute modified flag */

--------------040606040106080305020901--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]