hey jerome, On Thu, Sep 08, 2005 at 03:50:49PM +0200, [EMAIL PROTECTED] wrote: > --- CUT --- > servmediup:~# printenv |grep LC_ > [EMAIL PROTECTED] > servmediup:~# /usr/lib/nagios/plugins/check_ping -H 134.59.53.14 -w 10,15% -c > 15,20% > /bin/ping -n -U -w 10 -c 5 134.59.53.14 > CRITIQUE - Impossible d'interpréter le réponse de la commande ping > servmediup:~# export LC_NUMERIC=POSIX > servmediup:~# /usr/lib/nagios/plugins/check_ping -H 134.59.53.14 -w 10,15% -c > 15,20% > /bin/ping -n -U -w 10 -c 5 134.59.53.14 > CRITIQUE - Impossible d'interpréter le réponse de la commande ping > servmediup:~# export LC_ALL=POSIX > servmediup:~# /usr/lib/nagios/plugins/check_ping -H 134.59.53.14 -w 10,15% -c > 15,20% > PING OK - Packet loss = 0%, RTA = 0.29 ms > servmediup:~# > --- CUT ---
okay, looks like it's LC_TIME that's doing it. try export LC_NUMERIC export LC_TIME LC_NUMERIC=POSIX LC_TIME=POSIX /usr/lib/nagios/plugins/check_ping -H 134.59.53.14 -w 10,15% -c 15,20% > the lines beginning with "CRITIQUE" are the error message translated > into French. I guess the original is something like : > > "CRITICAL - Impossible to parse the answer of the ping command" > > hoping this helps je pense que oui--je voudrais bien savoir ci ça marche :) sean --
signature.asc
Description: Digital signature