[Pkg-nagios-devel] Bug#300701: marked as done (nagios-plugins: check_disk_smb doesn't handle freespace calculation with mixed units)

Debian Bug Tracking System owner at bugs.debian.org
Thu Oct 13 10:03:31 UTC 2005

Your message dated Thu, 13 Oct 2005 02:47:09 -0700
with message-id <E1EPzg5-0007YG-00 at spohr.debian.org>
and subject line Bug#300701: fixed in nagios-plugins 1.4.2-3
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; 21 Mar 2005 08:41:29 +0000
>From waoki at umnh.utah.edu Mon Mar 21 00:41:29 2005
Return-path: <waoki at umnh.utah.edu>
Received: from bluebird.umnh.utah.edu [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDITZ-0004F2-00; Mon, 21 Mar 2005 00:41:29 -0800
Received: from chickendelicious.umnh.utah.edu (chickendelicious.umnh.utah.edu [])
	by bluebird.umnh.utah.edu (8.12.10/8.12.10/Debian-umnh1) with ESMTP id j2L8fSSt025624
	for <submit at bugs.debian.org>; Mon, 21 Mar 2005 01:41:28 -0700
Received: from waoki by chickendelicious.umnh.utah.edu with local (Exim 3.36 #1 (Debian))
	id 1DDITY-00084s-00
	for <submit at bugs.debian.org>; Mon, 21 Mar 2005 01:41:28 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Will Aoki <waoki at umnh.utah.edu>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: nagios-plugins: check_disk_smb doesn't handle freespace calculation with
 mixed units
X-Mailer: reportbug 3.8
Date: Mon, 21 Mar 2005 01:41:28 -0700
Message-Id: <E1DDITY-00084s-00 at chickendelicious.umnh.utah.edu>
X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on bluebird.umnh.utah.edu
X-Virus-Status: Clean
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: nagios-plugins
Severity: normal

The documentatino for check_disk_smb indicates that

   If thresholds are followed by either a k, M, or G then check to see if that
   much disk space is available (kilobytes, Megabytes, Gigabytes)

   Warning percentage should be less than critical
   Warning (remaining) disk space should be greater than critical.

If I specify a warning level of 4G and a critical level of 3M,
check_disk_smb works as expected, but if I specify a critical level of
4M, check_disk_smb incorrectly says that

   Disk size: warning (4G) should be greater than critical (4M)

even though four gigabytes is greater than four megabytes.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-plugins depends on:
ii  bind9-host [host]        1:9.2.4-1       Version of 'host' bundled with BIN
ii  dnsutils                 1:9.2.4-1       Clients provided with BIND
ii  fping                    2.4b2-to-ipv6-8 sends ICMP ECHO_REQUEST packets to
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libldap2                 2.1.30-3        OpenLDAP libraries
ii  libmysqlclient12         4.0.23-1        mysql database client library
ii  libnet-snmp-perl         5.0.1-1         Script SNMP connections
ii  libpq3                   7.4.6-5         PostgreSQL C client library
ii  libssl0.9.7              0.9.7e-2        SSL shared libraries
ii  netkit-ping [ping]       0.10-10         The ping utility from netkit
ii  ntp                      1:4.2.0a-11     Network Time Protocol: network uti
ii  ntp-simple               1:4.2.0a-11     Network Time Protocol: daemon for 
ii  ntpdate                  1:4.2.0a-11     The ntpdate client for setting sys
ii  procps                   1:3.2.1-2       The /proc file system utilities
ii  qstat                    2.7-1           Command-line tool for querying qua
ii  radiusclient1            0.3.2-8         /bin/login replacement which uses 
ii  smbclient                3.0.10-1        a LanManager-like simple client fo
ii  snmp                     5.1.2-6         NET SNMP (Simple Network Managemen

-- no debconf information

Received: (at 300701-close) by bugs.debian.org; 13 Oct 2005 09:47:53 +0000
>From katie at spohr.debian.org Thu Oct 13 02:47:53 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EPzg5-0007YG-00; Thu, 13 Oct 2005 02:47:09 -0700
From: sean finney <seanius at debian.org>
To: 300701-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#300701: fixed in nagios-plugins 1.4.2-3
Message-Id: <E1EPzg5-0007YG-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Thu, 13 Oct 2005 02:47:09 -0700
Delivered-To: 300701-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
X-CrossAssassin-Score: 5

Source: nagios-plugins
Source-Version: 1.4.2-3

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_1.4.2-3.diff.gz
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-3.dsc
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-3_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 300701 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: Tue, 11 Oct 2005 10:14:18 +0200
Source: nagios-plugins
Binary: nagios-plugins
Architecture: source i386
Version: 1.4.2-3
Distribution: unstable
Urgency: low
Maintainer: seanius at debian.org
Changed-By: sean finney <seanius at debian.org>
 nagios-plugins - Plugins for the nagios network monitoring and management system
Closes: 278864 285554 296278 296600 300701 307905 309255 309673
 nagios-plugins (1.4.2-3) unstable; urgency=low
   * Sean Finney:
     - include fix from Modesto Alexandre to correct paths in check_log
       (closes: #296600).
     - looks like upstream's check_mrtg has been broken for a while now.
       now including a fix that i'll eventually move upstream.
       (closes: #309673).
     - include a fix to check_smtp to make it speak proper ehlo before
       issueing a starttls command, and also check that the server
       actually supports it before blindly continuing.  thanks to
       Jeroen van Wolffelaar for taking the time to point out the
       details (closes: #285554).
     - in the process of the above, also figured out how to get
       check_smtp to play nicely with gnutls-based servers.
     - check_disk once again will match non-mountpoint directories to
       the closest parent mountpoint (closes: #296278).
     - include jeroen's "less beastly" check_ntp sys.peer regex.
     - fix for braindead command-line option parsing for freespace
       in check_disk_smb (closes: #300701).
     - updated the usage function in check_game to reflect changed
       cmdline options (closes: #307905).
     - upstream is now shipping an non-broken ipv6-capable check_ping,
       with PING6_COMMAND properly set in config.h (closes: #309255).
     - upstream check_mysql can now check slave status (closes: #278864).
 7766e68631fe0cf7c0f64e2cef5132d1 959 net extra nagios-plugins_1.4.2-3.dsc
 3a099ad7388c38c8a952fc66eda278fa 34971 net extra nagios-plugins_1.4.2-3.diff.gz
 75108ddbd441d34df2ad61063101f386 355684 net extra nagios-plugins_1.4.2-3_i386.deb

Version: GnuPG v1.4.2 (GNU/Linux)


More information about the Pkg-nagios-devel mailing list