[Pkg-nagios-devel] Bug#306244: marked as done (nagios-plugins: check_load fails to parse arguments when LANG=de_DE@euro)

Debian Bug Tracking System owner at bugs.debian.org
Fri Oct 7 21:18:20 UTC 2005


Your message dated Fri, 07 Oct 2005 14:02:04 -0700
with message-id <E1ENzLw-0004Oh-00 at spohr.debian.org>
and subject line Bug#306244: fixed in nagios-plugins 1.4.2-2
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; 25 Apr 2005 08:48:39 +0000
>From pastor at uni-mainz.de Mon Apr 25 01:48:39 2005
Return-path: <pastor at uni-mainz.de>
Received: from mailgate2.zdv.uni-mainz.de [134.93.178.130] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DPzGh-0008Ob-00; Mon, 25 Apr 2005 01:48:39 -0700
Received: from patty (patty.BWL.Uni-Mainz.DE [134.93.229.88])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mailgate2.zdv.Uni-Mainz.DE (Postfix) with ESMTP id DA75F3000088
	for <submit at bugs.debian.org>; Mon, 25 Apr 2005 10:48:37 +0200 (CEST)
Received: from root by patty with local (Exim 4.50)
	id 1DPymF-0007u9-0f
	for submit at bugs.debian.org; Mon, 25 Apr 2005 10:17:11 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Kai Pastor <pastor at uni-mainz.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: nagios-plugins: check_load fails to parse arguments when LANG=de_DE at euro
X-Mailer: reportbug 3.8
Date: Mon, 25 Apr 2005 10:17:10 +0200
Message-Id: <E1DPymF-0007u9-0f at patty>
X-Virus-Scanned: by amavisd-new at uni-mainz.de
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
X-Spam-Level: 

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


check_load used to work so far, but with version 1.4-3 it fails.
Example:

patty:~# /usr/lib/nagios/plugins/check_load -w 3,3,3 -c 5,5,5
Warning threshold must be float or float triplet!

Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15


I think it's a problem with parsing the arguments while using a
localization which uses ',' instead of '.' as decimal point. Setting
LANG=C seems to help:

patty:~# LANG=C /usr/lib/nagios/plugins/check_load -w 3,3,3 -c 5,5,5
OK - load average: 0.00, 0.00, 0.00|load1=0.000000;3.000000;5.000000;0.000000 load5=0.000000;3.000000;5.000000;0.000000 load15=0.000000;3.000000;5.000000;0.000000


This issue breaks existing configurations. In the case of a single
maching, it might be fixed by changing the configuration, but when
checking a large number of servers by means of NRPE, each server would
need to be modified.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

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-10  sends ICMP ECHO_REQUEST packets to
ii  iputils-ping [ping]    3:20020927-2      Tools to test the reachability of 
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.24-5          mysql database client library
ii  libnet-snmp-perl       5.0.1-1           Script SNMP connections
ii  libpq3                 7.4.7-5           PostgreSQL C client library
ii  libssl0.9.7            0.9.7e-3          SSL shared libraries
ii  ntp                    1:4.2.0a+stable-2 Network Time Protocol: network uti
ii  ntp-simple             1:4.2.0a+stable-2 Network Time Protocol: daemon for 
ii  ntpdate                1:4.2.0a+stable-2 The ntpdate client for setting sys
ii  procps                 1:3.2.1-2         The /proc file system utilities
ii  qstat                  2.8-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.1         NET SNMP (Simple Network Managemen

-- no debconf information

---------------------------------------
Received: (at 306244-close) by bugs.debian.org; 7 Oct 2005 21:08:10 +0000
>From katie at spohr.debian.org Fri Oct 07 14:08:10 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ENzLw-0004Oh-00; Fri, 07 Oct 2005 14:02:04 -0700
From: sean finney <seanius at debian.org>
To: 306244-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#306244: fixed in nagios-plugins 1.4.2-2
Message-Id: <E1ENzLw-0004Oh-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Fri, 07 Oct 2005 14:02:04 -0700
Delivered-To: 306244-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-Level: 
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: 2

Source: nagios-plugins
Source-Version: 1.4.2-2

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:

nagios-plugins_1.4.2-2.diff.gz
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-2.diff.gz
nagios-plugins_1.4.2-2.dsc
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-2.dsc
nagios-plugins_1.4.2-2_i386.deb
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-2_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 306244 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
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)


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

Format: 1.7
Date: Fri, 07 Oct 2005 22:19:09 +0200
Source: nagios-plugins
Binary: nagios-plugins
Architecture: source i386
Version: 1.4.2-2
Distribution: unstable
Urgency: low
Maintainer: seanius at debian.org
Changed-By: sean finney <seanius at debian.org>
Description: 
 nagios-plugins - Plugins for the nagios network monitoring and management system
Closes: 278817 306244 308458 312228 316534 316882 327212 332667
Changes: 
 nagios-plugins (1.4.2-2) unstable; urgency=low
 .
   * Sean Finney:
     - ack, the perl plugins broke on the last upload, because "use lib"
       wasn't being properly substituted in.  fixed. (closes: #332667).
     - include upstream fix for check_ups temperature perfdata.  thanks
       to Chris AtLee for originally reporting this (closes: #316534).
     - stop mucking around with config.sub/config.guess in debian/rules.
     - last update in the changelog was missing a colon on the following:
       (closes: #312228, #306244, #308458, #327212, #316882).
     - have check_mysql read in defaults from my.cnf (closes: #278817).
Files: 
 aaa7a8e305d1ea300d27fd4350379314 959 net extra nagios-plugins_1.4.2-2.dsc
 cabe99cfabace7af16464a00c14a02f3 28967 net extra nagios-plugins_1.4.2-2.diff.gz
 54bde448e6b541bf63a52676aa138b1d 354576 net extra nagios-plugins_1.4.2-2_i386.deb

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

iD8DBQFDRt+HynjLPm522B0RAuroAKCGLqWBoKHAz3hJb6Lkv9mPb/XPawCeP+Sh
jw6q6+qYE1V4oBNw8OYzRp0=
=Af7h
-----END PGP SIGNATURE-----




More information about the Pkg-nagios-devel mailing list