[Pkg-nagios-devel] Bug#299467: Need explicit LC_NUMERIC=POSIX for some plugins.

Olleg Samoylov Olleg Samoylov <olleg@mipt.ru>, 299467@bugs.debian.org
Mon, 14 Mar 2005 13:23:47 +0300


Package: nagios-common
Version: 2:1.3-cvs.20050116-4
Severity: normal
Tags: l10n

Some locales, for instance russian, use comma instead of decimal point.
Plugins check_procs, check_load, check_ping, etc  
get float parameters separated by comma and thus don't work. Simplest fix
of this bug is add to /etc/init.d/nagios

export LC_NUMERIC=POSIX

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10-9-amd64-k8
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages nagios-common depends on:
ii  adduser          3.63                    Add and remove users and groups
ii  apache2-mpm-work 2.0.53-5                high speed threaded model for Apac
ii  coreutils [fileu 5.2.1-2                 The GNU core utilities
ii  debconf [debconf 1.4.46                  Debian configuration management sy
ii  mailx            1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii  nagios-pgsql [na 2:1.3-cvs.20050116-4    A host/service/network monitoring 
ii  nagios-plugins   1.4-3                   Plugins for the nagios network mon

-- debconf information excluded