[Pkg-nagios-devel] Bug#509359: Bug#509359: #509359: nagios-plugins-basic: check_ntp fails on locale settings !=C)

Luk Claes luk at debian.org
Sun Dec 21 17:56:21 UTC 2008

Christoph Biedl wrote:
> Debian Bug Tracking System wrote...
>>> $ 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;
>>> $
>> Well with LANG=de_DE.UTF-8 0.2 is not a number so what's after the '.'
>> is not considered AFAICS.
>> So if you want to use it with LANG=de_DE.UTF-8 you should use 0,2.
> This is correct but not the problem.
> Basically I want a working nagios. Currently, re-starting nagios from a
> shell with locale settings will cause the check_ntp plugin to fail upon
> the next test. Which may take some time and was therefore hard to to
> debug.
>> Working around the environment is only breaking things IMHO, so closing
>> this bug.
> If you prefer to cause confusion. Your decision.

Sorry, but if you would set your environment to what you want as you
suggested us to do for you, you wouldn't have any problem.



More information about the Pkg-nagios-devel mailing list