The external command DISABLE_CONTACT_SVC_NOTIFICATIONS doesn't work due to the same error as mentioned in the patch for DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS by Mathieu Gagné a few days ago. Below a patch which should solve the problem.
Wolfgang
diff -u commands.c.orig commands.c
--- commands.c.orig 2007-11-10 23:54:36.000000000 +0100
+++ commands.c 2008-05-05 21:24:38.000000000 +0200
@@ -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 */
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]