Your message dated Mon, 12 Apr 2010 21:46:46 +0000
with message-id <[email protected]>
and subject line Bug#553300: fixed in nagios3 3.2.0-5
has caused the Debian Bug report #553300,
regarding nagios3: please provide a check interface to the init script
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.)


-- 
553300: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios3
Version: 3.0.6-4~lenny2
Severity: wishlist
Tags: patch

Hi there,

It would be great if I could run 
/etc/init.d/nagios3 check

and find out if I've just screwed something up.  Something like:

--- /etc/init.d/nagios3 2009-01-25 18:15:10.000000000 +0000
+++ nagios3     2009-10-29 23:57:51.000000000 +0000
@@ -85,6 +85,10 @@
   echo $*
 }
 
+check () {
+  $DAEMON -v $NAGIOSCFG
+}
+
 check_config () {
   if $DAEMON -v $NAGIOSCFG >/dev/null 2>&1 ; then
     # First get the user/group etc Nagios is running as
@@ -227,8 +231,11 @@
   status)
     status
     ;;
+  check)
+    check
+    ;;
   *)
-    log_failure_msg "Usage: $0 
{start|stop|restart|reload|force-reload|status}" >&2
+    log_failure_msg "Usage: $0 
{start|stop|restart|reload|force-reload|status|check}" >&2
     exit 1
   ;;
 esac

Should do.  I know that the init script will already tell me when I try
to restart it, but I'd like an interface that could be run separately
from any action commands (restart/reload/etc).

Cheers,

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31.5-dsa-ia32 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3 depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libgd2-noxpm           2.0.36~rc1~dfsg-3 GD Graphics Library version 2 (wit
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libperl5.10            5.10.0-19lenny2   Shared Perl library
ii  libpng12-0             1.2.27-2+lenny2   PNG library - runtime
ii  nagios3-common         3.0.6-4~lenny2    support files for nagios3
ii  perl                   5.10.0-19lenny2   Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

nagios3 recommends no packages.

Versions of packages nagios3 suggests:
ii  nagios-nrpe-plugin            2.12-1     Nagios Remote Plugin Executor Plug

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: nagios3
Source-Version: 3.2.0-5

We believe that the bug you reported is fixed in the latest version of
nagios3, which is due to be installed in the Debian FTP archive:

nagios3-cgi_3.2.0-5_i386.deb
  to main/n/nagios3/nagios3-cgi_3.2.0-5_i386.deb
nagios3-common_3.2.0-5_all.deb
  to main/n/nagios3/nagios3-common_3.2.0-5_all.deb
nagios3-core_3.2.0-5_i386.deb
  to main/n/nagios3/nagios3-core_3.2.0-5_i386.deb
nagios3-dbg_3.2.0-5_i386.deb
  to main/n/nagios3/nagios3-dbg_3.2.0-5_i386.deb
nagios3-doc_3.2.0-5_all.deb
  to main/n/nagios3/nagios3-doc_3.2.0-5_all.deb
nagios3_3.2.0-5.diff.gz
  to main/n/nagios3/nagios3_3.2.0-5.diff.gz
nagios3_3.2.0-5.dsc
  to main/n/nagios3/nagios3_3.2.0-5.dsc
nagios3_3.2.0-5_i386.deb
  to main/n/nagios3/nagios3_3.2.0-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Wirt <[email protected]> (supplier of updated nagios3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 12 Apr 2010 21:36:13 +0200
Source: nagios3
Binary: nagios3-common nagios3-cgi nagios3 nagios3-core nagios3-doc nagios3-dbg
Architecture: source i386 all
Version: 3.2.0-5
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group 
<[email protected]>
Changed-By: Alexander Wirt <[email protected]>
Description: 
 nagios3    - A host/service/network monitoring and management system
 nagios3-cgi - cgi files for nagios3
 nagios3-common - support files for nagios3
 nagios3-core - A host/service/network monitoring and management system core 
file
 nagios3-dbg - debugging symbols and debug stuff for nagios3
 nagios3-doc - documentation for nagios3
Closes: 553300 561357
Changes: 
 nagios3 (3.2.0-5) unstable; urgency=low
 .
   [ Jan Wagner ]
   * Add Close to last changelog entry
 .
   [ Alexander Wirt ]
   * Don't rely on nagios3-cgi in initscript
   * Fix init-functions logic (Closes: #561357)
   * Add a status interface to init (Closes: #553300)
   * Rework packaging based on my icinga packaging
   * We use debsource 1.0
Checksums-Sha1: 
 7bcc7f90507998e383e0e2cb8070ed1d2e0b8cd4 1773 nagios3_3.2.0-5.dsc
 f34eb5fcf5a8f91eb03788c3c15ec06463bfe1f5 52601 nagios3_3.2.0-5.diff.gz
 0f4910bac7ace30dca7be63cc7cef863c20a0c0a 1336788 nagios3-cgi_3.2.0-5_i386.deb
 12383f9acf0e07d5d415fbdb7ecf9a106fe7259b 1432 nagios3_3.2.0-5_i386.deb
 8f8fedb59604c9dac5b66efcc34e961d0a6f551c 246312 nagios3-core_3.2.0-5_i386.deb
 dc4a86dd7523b02e0860c291309a27231c04223c 2350678 nagios3-dbg_3.2.0-5_i386.deb
 92d9fe3b552fc9d2c0696d712a788223adfc4dab 82862 nagios3-common_3.2.0-5_all.deb
 0bb48c31fa5355a463fa3e1ab616bc4b85805963 1993590 nagios3-doc_3.2.0-5_all.deb
Checksums-Sha256: 
 6bc5008702f71084af5494d70aa7fe66c4286b26d0b1d57c620bb4ebba237de3 1773 
nagios3_3.2.0-5.dsc
 cf5956dff3d301e5e7a09af0d69dd4de3e374e0ff02b811f8f2390796370ceee 52601 
nagios3_3.2.0-5.diff.gz
 73e2b92286565e86586ce5c6c9b554852642f793167ef67e9b3722186f881e8c 1336788 
nagios3-cgi_3.2.0-5_i386.deb
 e2ce3821157caf41217ccbd442dd6555ce086d647eedbf7a74bb03ceb55e9eba 1432 
nagios3_3.2.0-5_i386.deb
 6954426ff12f0c31a73db39ca9223260d58860a35ec8a9795c9501fa5759a713 246312 
nagios3-core_3.2.0-5_i386.deb
 6a414d600b8f054215e51769c62b4d10737589db75c51e3486d734dbe8b9244f 2350678 
nagios3-dbg_3.2.0-5_i386.deb
 b2e5c713442ec9e35ec71e02212e7e6f65acc4de5c6176359cd1c6b6eb3e560e 82862 
nagios3-common_3.2.0-5_all.deb
 270429ae9e790e56333c64d8af7f0304e7968213925cee62d9873d0a82fa269d 1993590 
nagios3-doc_3.2.0-5_all.deb
Files: 
 4165e172e88d43015d6c89e8c05bbb69 1773 net optional nagios3_3.2.0-5.dsc
 bed6fcbe7d5bb982a7cc035f9318597a 52601 net optional nagios3_3.2.0-5.diff.gz
 4490efc8505d881c9e0b62ae48a44a7f 1336788 net optional 
nagios3-cgi_3.2.0-5_i386.deb
 a0f500a714fa284c373ce312c7763472 1432 net optional nagios3_3.2.0-5_i386.deb
 8ec0e1d42faf2859e99664f4ea456d78 246312 net optional 
nagios3-core_3.2.0-5_i386.deb
 e8fe9d61c9972d7f1866e4d0c76a22d8 2350678 debug extra 
nagios3-dbg_3.2.0-5_i386.deb
 96a7f76786759edc9993c27226b1e24d 82862 net optional 
nagios3-common_3.2.0-5_all.deb
 b403ba6f0ac2c9b959f8e977e2b6eaec 1993590 doc optional 
nagios3-doc_3.2.0-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJLw3vcAAoJEOuL0JI5t9GXos8H/2IE7rWSy5o/hSwsw1gwPNrz
NF14G3AR18hGwrf3YBoOKohNrBXBmQzR9Ee0vOnf2iOu1h8+7r5lCVGJyh7Bbl3s
XIgnGABWs6yMnCYoafAgJL0pnkRjSAYZSoSilOPQ2AYBy5BQdkvqRrepK2P7fGfv
Jn0ZKLNzi/NWPYgo9F5Bt49+ogtf5+/BvgBsXvcEnczb1KqoML83RWNGN9zMMHtO
W1VoNG/82u6Or3c+PBzBPSb0U5cplXYYNd/pL/VL/TR8+d0WS7LA+MuQF0V8ArxZ
qE8CfPUycHQVzaRI17NJCLfhicOBArmg3rGJm1eHKKXSHEr6+W8XH+IEUx5WNg8=
=UCac
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to