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: [EMAIL PROTECTED], [EMAIL PROTECTED] (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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to