[Nagios-devel] [PATCH] ndoutils 1.4b7: missing table clearout
-
Guest
[Nagios-devel] [PATCH] ndoutils 1.4b7: missing table clearout
--Apple-Mail-136-31836081
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
ndoutils is missing a clean out of the nagios_service_contactgroups
table.
Duncs
--
Duncan Ferguson
Senior Developer
Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK
Phone: +44 (0) 845 057 7887
Mobile: +44 (0) 7968 148 748
Skype: duncan_j_ferguson Email: [email protected]
www.opsera.com
Opsera Limited is registered in the UK under Company Number 5396532.
Our registered office is Gorse View, Horsell Rise, Woking, Surrey,
GU21 4RB.
--Apple-Mail-136-31836081
Content-Type: multipart/mixed;
boundary=Apple-Mail-137-31836082
--Apple-Mail-137-31836082
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: 7bit
--Apple-Mail-137-31836082
Content-Disposition: attachment;
filename=ndoutils_truncate_servicecontactgroups.patch
Content-Type: application/octet-stream; x-unix-mode=0644;
name="ndoutils_truncate_servicecontactgroups.patch"
Content-Transfer-Encoding: 7bit
diff -ur ndoutils-1.4b7.orig/src/dbhandlers.c ndoutils-1.4b7/src/dbhandlers.c
--- ndoutils-1.4b7.orig/src/dbhandlers.c 2009-04-21 14:04:07.000000000 +0000
+++ ndoutils-1.4b7/src/dbhandlers.c 2009-04-21 14:03:43.000000000 +0000
@@ -686,6 +686,7 @@
ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_HOSTCONTACTS]);
ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_SERVICES]);
ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_SERVICECONTACTS]);
+ ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_SERVICECONTACTGROUPS]);
/* flag all objects as being inactive */
ndo2db_set_all_objects_as_inactive(idi);
--Apple-Mail-137-31836082
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
ndoutils is =
missing a clean out of the nagios_service_contactgroups =
table. <span =
class=3D"Apple-sty
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]