[Pkg-nagios-changes] [pkg-nagios] r1604 - in nagios3/trunk/debian: . patches

Alexander Wirt formorer at alioth.debian.org
Fri Dec 12 12:52:46 UTC 2008


Author: formorer
Date: 2008-12-12 12:52:46 +0000 (Fri, 12 Dec 2008)
New Revision: 1604

Added:
   nagios3/trunk/debian/patches/90_fix_forced_servicechecks.dpatch
Modified:
   nagios3/trunk/debian/changelog
   nagios3/trunk/debian/patches/00list
Log:
Fix forced servicechecks


Modified: nagios3/trunk/debian/changelog
===================================================================
--- nagios3/trunk/debian/changelog	2008-12-08 02:07:44 UTC (rev 1603)
+++ nagios3/trunk/debian/changelog	2008-12-12 12:52:46 UTC (rev 1604)
@@ -1,3 +1,9 @@
+nagios3 (3.0.6-2) unstable; urgency=low
+
+  * Fix forced single servicechecks  
+
+ -- Alexander Wirt <formorer at debian.org>  Fri, 12 Dec 2008 13:51:44 +0100
+
 nagios3 (3.0.6-1) unstable; urgency=high
 
   * New upstream version

Modified: nagios3/trunk/debian/patches/00list
===================================================================
--- nagios3/trunk/debian/patches/00list	2008-12-08 02:07:44 UTC (rev 1603)
+++ nagios3/trunk/debian/patches/00list	2008-12-12 12:52:46 UTC (rev 1604)
@@ -6,3 +6,4 @@
 60_fix_p1.pl_patch_mini_epn.dpatch
 70_fix_eventhandler_paths.dpatch
 80_fix_encoding_trends.cgi.dpatch
+90_fix_forced_servicechecks.dpatch

Added: nagios3/trunk/debian/patches/90_fix_forced_servicechecks.dpatch
===================================================================
--- nagios3/trunk/debian/patches/90_fix_forced_servicechecks.dpatch	                        (rev 0)
+++ nagios3/trunk/debian/patches/90_fix_forced_servicechecks.dpatch	2008-12-12 12:52:46 UTC (rev 1604)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 90_fix_forced_servicechecks.dpatch by Alexander Wirt <formorer at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes handling of forced checks
+
+ at DPATCH@
+diff -urNad nagios3-3.0.6~/cgi/cmd.c nagios3-3.0.6/cgi/cmd.c
+--- nagios3-3.0.6~/cgi/cmd.c	2008-11-30 18:22:58.000000000 +0100
++++ nagios3-3.0.6/cgi/cmd.c	2008-12-12 13:50:46.000000000 +0100
+@@ -2033,7 +2033,8 @@
+ 		break;
+ 
+ 	case CMD_SCHEDULE_SVC_CHECK:
+-	case CMD_SCHEDULE_FORCED_SVC_CHECK:
++		if (force_check == TRUE)
++			cmd = CMD_SCHEDULE_FORCED_SVC_CHECK;
+ 		result = cmd_submitf(cmd,"%s;%s;%lu",host_name,service_desc,start_time);
+ 		break;
+ 


Property changes on: nagios3/trunk/debian/patches/90_fix_forced_servicechecks.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-nagios-changes mailing list