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.

    Christoph



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to