[Pkg-nagios-devel] Bug#335871: marked as done (nagios-plugins: check_mrtg return unknown when state is ok)

Debian Bug Tracking System owner at bugs.debian.org
Thu Oct 27 22:33:22 UTC 2005

Your message dated Thu, 27 Oct 2005 15:16:03 -0700
with message-id <E1EVG2V-0006sQ-00 at spohr.debian.org>
and subject line Bug#335871: fixed in nagios-plugins 1.4.2-4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 26 Oct 2005 12:16:46 +0000
>From uno at sysplan.co.jp Wed Oct 26 05:16:46 2005
Return-path: <uno at sysplan.co.jp>
Received: from ns.sysplan.co.jp (sp13.sysplan.co.jp) [] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EUkD0-0007h5-00; Wed, 26 Oct 2005 05:16:46 -0700
Received: from localhost (localhost [])
	by sp13.sysplan.co.jp (Postfix) with ESMTP id 78B301B0AA
	for <submit at bugs.debian.org>; Wed, 26 Oct 2005 21:16:43 +0900 (JST)
Received: from sp05.aka.sysplan.co.jp (sp05.aka.sysplan.co.jp [])
	by sp13.sysplan.co.jp (Postfix) with ESMTP id 7016D1AEA3
	for <submit at bugs.debian.org>; Wed, 26 Oct 2005 21:16:43 +0900 (JST)
Received: from sp107.aka.sysplan.co.jp (sp107.aka.sysplan.co.jp [])
	by sp05.aka.sysplan.co.jp (Postfix) with SMTP id 5DFB43B4CA
	for <submit at bugs.debian.org>; Wed, 26 Oct 2005 21:16:43 +0900 (JST)
Date: Wed, 26 Oct 2005 21:16:43 +0900
From: uno at sysplan.co.jp
To: submit at bugs.debian.org
Subject: nagios-plugins: check_mrtg return unknown when state is ok
Message-Id: <20051026211643.01dda82a.uno at sysplan.co.jp>
X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.6.10; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Scanned-By: AMaViS-ng at sp13
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	NO_REAL_NAME autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: nagios-plugins
Version: 1.4-6
Severity: normal

the check_mrtg command is returning STATE_UNKNOWN when the state is ok.
Here is a one line patch for check_mrtg.
It just fix the default result value is STATE_OK.
(or it needs to put a code "result = STATE_OK" in place.)

--- check_mrtg.c.ORIG   2004-12-26 08:17:44.000000000 +0900
+++ check_mrtg.c        2005-10-26 20:38:22.000000000 +0900
@@ -43,7 +43,7 @@
 main (int argc, char **argv)
-       int result = STATE_UNKNOWN;
+       int result = STATE_OK;
        FILE *fp;
        int line;
        char input_buffer[MAX_INPUT_BUFFER];

UNO Takeshi

Received: (at 335871-close) by bugs.debian.org; 27 Oct 2005 22:18:15 +0000
>From joerg at spohr.debian.org Thu Oct 27 15:18:15 2005
Return-path: <joerg at spohr.debian.org>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EVG2V-0006sQ-00; Thu, 27 Oct 2005 15:16:03 -0700
From: sean finney <seanius at debian.org>
To: 335871-close at bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#335871: fixed in nagios-plugins 1.4.2-4
Message-Id: <E1EVG2V-0006sQ-00 at spohr.debian.org>
Sender: Joerg Jaspert <joerg at spohr.debian.org>
Date: Thu, 27 Oct 2005 15:16:03 -0700
Delivered-To: 335871-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: nagios-plugins
Source-Version: 1.4.2-4

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

  to pool/main/n/nagios-plugins/nagios-plugins-basic_1.4.2-4_i386.deb
  to pool/main/n/nagios-plugins/nagios-plugins-standard_1.4.2-4_i386.deb
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-4.diff.gz
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-4.dsc
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-4_i386.deb

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 335871 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
sean finney <seanius at debian.org> (supplier of updated nagios-plugins 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 ftpmaster at debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 26 Oct 2005 23:17:41 +0200
Source: nagios-plugins
Binary: nagios-plugins nagios-plugins-basic nagios-plugins-standard
Architecture: source i386
Version: 1.4.2-4
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
Changed-By: sean finney <seanius at debian.org>
 nagios-plugins - Plugins for the nagios network monitoring and management system
 nagios-plugins-basic - Plugins for the nagios network monitoring and management system
 nagios-plugins-standard - Plugins for the nagios network monitoring and management system
Closes: 255438 264194 303996 335871
 nagios-plugins (1.4.2-4) unstable; urgency=low
   * Sean Finney:
     - only depend on ntp, not ntp | ntp-simple.  hopefully this should
       allow nagios-plugins to co-exist with openntpd et al.
     - now building against libmysqlclient14-dev.
     - updated Standards-Version to 3.6.2
     - nagios-plugins is now separated into 3 separate packages:
       nagios-plugins, nagios-plugins-basic, and nagios-plugins-standard.
       this should provide folks with a "basic" set of plugins as an
       alternative to those who don't want to bring in so many dependencies
       (specifically, users of nsca and nagios-nrpe-server).  the original
       package will depend on both of the new packages, for backwards
       compatibility.  the list of what-goes-where may change in future
       updates, but nagios-plugins will always bring in everything.
       contact me if you have specific preferences on how the layout should
       be done (closes: #303996, #264194, #255438).
     - another fix to check_mrtg, seems like the WARN and CRIT states
       were working just fine, but there was no way for things to
       be OK.  whoops.  thanks to uno takeshi for looking into this.
       (closes: #335871).
     - updated FSF address, couple other cosmetic lintian-related fixes.
 66e98508095f96b248082af0dc767490 1018 net extra nagios-plugins_1.4.2-4.dsc
 3024aa2950147f550ce0bcb3cffd9435 35981 net extra nagios-plugins_1.4.2-4.diff.gz
 7f7542c023892b96e58b842008b4080f 62560 net extra nagios-plugins_1.4.2-4_i386.deb
 b827f3d362affcce8fcdae78c92aaf3d 263778 net extra nagios-plugins-basic_1.4.2-4_i386.deb
 fb599dfc3c42e8432fca30518419a6a6 147542 net extra nagios-plugins-standard_1.4.2-4_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)


More information about the Pkg-nagios-devel mailing list