[Pkg-nagios-devel] Bug#327212: nagios-common: locale problem breaks ping plugin

Jerome Alet Jerome.Alet at unice.fr
Thu Sep 8 12:12:16 UTC 2005

Package: nagios-common
Version: 2:1.3-cvs.20050402-2.sarge.1
Severity: grave
Justification: renders package unusable

It seems that Nagios can't parse the output of some plugins when
the decimal point is ',' instead of '.', that's probably why
/etc/init.d/nagios contains LC_NUMERIC=POSIX.

However, this doesn't seem to be sufficient if the system has
started in a non-default locale.

By modifying /etc/init.d/nagios and setting :

	export LC_ALL=POSIX

it seems to work fine.	

hoping this helps.


Jerome Alet

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to POSIX)

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

-- debconf information:
  nagios/adminpassword: (password omitted)
  nagios/wwwsuid: true
* nagios/configapache: None

More information about the Pkg-nagios-devel mailing list