Your message dated Sat, 26 Nov 2016 18:38:14 +0000
with message-id <[email protected]>
and subject line Bug#845765: Removed package(s) from unstable
has caused the Debian Bug report #661660,
regarding contrib script handle-master-proc-event fails to run properly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
661660: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios3
Version: 3.2.1-2
Severity: normal
Tags: upstream, patch
Upstream documentation documents how to setup a redundant setup for
nagios here:
http://nagios.sourceforge.net/docs/3_0/redundancy.html
Some scripts described in the documentation are provided in
contrib/eventhandlers/redundancy-scenario1
In particular, this script (handle-master-proc-event) doesn't actually
run at all, due to a missing dollar sign in a variable usage. It
certainly looks like nobody ever bothered to even run this script at
all.
Furthermore, instead of disable/enabling notifications like the
documentation suggests (and also the host script does,
handle-master-host-event), it insteads turns on and off service
checks, which is a completely different story.
The following patch fixes both issues.
diff --git
a/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event
b/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event
index 50672b3..572a4fc 100755
--- a/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event
+++ b/contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event
@@ -28,7 +28,7 @@ HARD)
# take over the responsibility of monitoring
# the network, so enable active checks...
- `$eventhandlerdir/enable_active_service_checks`
+ `$eventhandlerdir/enable_notifications`
;;
WARNING|UNKNOWN)
@@ -46,7 +46,7 @@ HARD)
# We should go back to being the slave host,
# so disable active checks
- `eventhandlerdir/disable_active_service_checks`
+ `$eventhandlerdir/disable_notifications`
;;
esac
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Version: 3.5.1.dfsg-2.2+rm
Dear submitter,
as the package nagios3 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/845765
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---