Bug#306244: nagios-plugins: check_load fails to parse arguments when LANG=de_DE@euro

2005-04-25 Thread Kai Pastor
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.00;3.00;5.00;0.00 
load5=0.00;3.00;5.00;0.00 
load15=0.00;3.00;5.00;0.00


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.70.9.7e-3  SSL shared libraries
ii  ntp1: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  ntpdate1: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]



Bug#332439: twiki: Undeclared dependency on package bc

2005-10-06 Thread Kai Pastor
Package: twiki
Version: 20040902-3
Severity: normal


The twiki package includes a CGI script which uses "bc" from the "bc" package.
The twiki package doesn't declare this dependency, so that the script
may fail. E.g. in /var/log/apache-ssl/error.log.1:

/usr/lib/cgi-bin/nagios/grouplist.cgi: line 1: bc: command not found



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages twiki depends on:
ii  apache-common 1.3.33-6sarge1 support files for all Apache webse
ii  debconf   1.4.30.13  Debian configuration management sy
ii  libalgorithm-diff-perl1.19.01-1  a perl library for finding Longest
ii  libdigest-sha1-perl   2.10-1 NIST SHA-1 message digest algorith
ii  libtext-diff-perl 0.35-2 Perform diffs on files and record 
ii  perl [libmime-base64-perl 5.8.4-8Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl 5.8.4-8Core Perl modules
ii  rcs   5.7-15 The GNU Revision Control System

-- debconf information excluded


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



Bug#368956: nagios-common: Undeclared dependency on package bc

2006-05-26 Thread Kai Pastor
Package: nagios-common
Version: 2:1.3-cvs.20050402-2.sarge.2
Severity: normal

The nagios-common package includes the CGI script 
/usr/lib/cgi-bin/nagios/grouplist.cgi which uses "bc" from the "bc" package. 
The nagios-common package doesn't declare this dependency. 

The script is not active by default. You need to activate this line in
/etc/nagios/apache.conf:

ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios/grouplist.cgi


When bc is not installed, the bug shows in the apache log file 
/var/log/apache-ssl/error.log:

/usr/lib/cgi-bin/nagios/grouplist.cgi: line 1: bc: command not found


Kai Pastor




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8+vserver
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages nagios-common depends on:
ii  adduser 3.63 Add and remove users and groups
ii  apache-ssl  1.3.33-6sarge1   versatile, high-performance HTTP s
ii  coreutils [ 5.2.1-2  The GNU core utilities
ii  debconf [de 1.4.30.13Debian configuration management sy
ii  mailx   1:8.1.2-0.20040524cvs-4  A simple mail user agent
ii  nagios-plug 1.4-6Plugins for the nagios network mon
ii  nagios-text 2:1.3-cvs.20050402-2.sarge.2 A host/service/network monitoring 

-- debconf information excluded


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



Bug#363391: Working around with /etc/default/fail2ban

2006-05-26 Thread Kai Pastor
Package: fail2ban
Version: 0.6.1-3
Followup-For: Bug #363391

Hi,

I'm using a setup with

[EMAIL PROTECTED]
LC_ALL not set.

I used to work around this bug with LANG=C in /etc/init.d/fail2ban.
Today I tried the suggested workaround in /etc/default/fail2ban. These
are the results:

1. LANG=Cworks.
2. LC_ALL=C  doesn't work.
3. export LC_ALL=C   works.

I hope this finally answers your questions to Marco (2006-05-08).

Kai Pastor

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8+vserver
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages fail2ban depends on:
ii  iptables  1.2.11-10  Linux kernel 2.4+ iptables adminis
ii  lsb-base  2.0-7  Linux Standard Base 2.0 init scrip
ii  python2.3.5-2An interactive high-level object-o

-- no debconf information


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