Package: nagios-plugins-basic
Version: 1.4.12-4
Severity: normal

To be honest, I did not check the sources in detail. However, check_ntp
reports errors at least on some locale settings.

How to repeat:

$ echo $LANG
de_DE.UTF-8
$ /usr/lib/nagios/plugins/check_ntp -4 -H 1.debian.pool.ntp.org -w 0.2 -c 0.5
NTP CRITICAL: Offset 0,001548523083 secs|offset=0,001549s;0,000000;0,000000;
$

$ LANG=C /usr/lib/nagios/plugins/check_ntp -4 -H 1.debian.pool.ntp.org -w 0.2 
-c 0.5
NTP OK: Offset 0.003710093675 secs|offset=0.003710s;0.200000;0.500000;
$


Quick'n'dirty workaround: Add "export LANG=C" somewhere in the beginning
of /etc/init.d/nagios3

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to