[Pkg-nagios-devel] Bug#386152: nagios2-common: Wrong path in
submit_check_result
Marc Haber
mh+debian-packages at zugschlus.de
Sat Sep 9 14:46:01 UTC 2006
tags #386152 confirmed pending
thanks
On Tue, Sep 05, 2006 at 10:15:34AM -0700, Richard A Nelson wrote:
> In /usr/share/nagios2/plugins/eventhandlers/submit_check_result,
> the path to the pipe is incorrect:
> CommandFile="/usr/local/nagios/var/rw/nagios.cmd"
> it should be
> /var/lib/nagios2/rw/nagios.cmd
Fixed in svn, thanks.
dpatch attached.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
-------------- next part --------------
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_submit_check_result_386152.dpatch by Marc Haber <mh+debian-packages at zugschlus.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fix wrong path in contrib/eventhandlers/submit_check_result
@DPATCH@
diff -urNad nagios2~/contrib/eventhandlers/submit_check_result nagios2/contrib/eventhandlers/submit_check_result
--- nagios2~/contrib/eventhandlers/submit_check_result 2002-02-26 05:03:37.000000000 +0100
+++ nagios2/contrib/eventhandlers/submit_check_result 2006-09-09 16:43:53.945631182 +0200
@@ -24,7 +24,7 @@
echocmd="/bin/echo"
-CommandFile="/usr/local/nagios/var/rw/nagios.cmd"
+CommandFile="/var/lib/nagios2/rw/nagios.cmd"
# get the current date/time in seconds since UNIX epoch
datetime=`date +%s`
More information about the Pkg-nagios-devel
mailing list