Re: [Nagios-devel] Bug - DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS
Posted: Mon Apr 28, 2008 2:16 pm
This is a multi-part message in MIME format.
--------------090802090805020809020703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Oops. This one is better.
Sorry for this mistake.
Mathieu
Mathieu Gagné wrote:
> Hi all,
>
> The external command DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS seems to not
> work properly.
>
> Attached is a patch that fixes the bug.
>
> --
> Mathieu
>
>
--------------090802090805020809020703
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-original/base/commands.c 2008-04-28 18:01:20.000000000 -0400
+++ nagios-3.0.1/base/commands.c 2008-04-28 18:02:10.000000000 -0400
@@ -3770,7 +3770,7 @@
unsigned long attr=MODATTR_NOTIFICATIONS_ENABLED;
/* no change */
- if(cntct->service_notifications_enabled==TRUE)
+ if(cntct->service_notifications_enabled==FALSE)
return;
/* set the attribute modified flag */
--------------090802090805020809020703--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
--------------090802090805020809020703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Oops. This one is better.
Sorry for this mistake.
Mathieu
Mathieu Gagné wrote:
> Hi all,
>
> The external command DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS seems to not
> work properly.
>
> Attached is a patch that fixes the bug.
>
> --
> Mathieu
>
>
--------------090802090805020809020703
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-original/base/commands.c 2008-04-28 18:01:20.000000000 -0400
+++ nagios-3.0.1/base/commands.c 2008-04-28 18:02:10.000000000 -0400
@@ -3770,7 +3770,7 @@
unsigned long attr=MODATTR_NOTIFICATIONS_ENABLED;
/* no change */
- if(cntct->service_notifications_enabled==TRUE)
+ if(cntct->service_notifications_enabled==FALSE)
return;
/* set the attribute modified flag */
--------------090802090805020809020703--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]