Hi again, On Thu, Sep 08, 2005 at 09:40:03AM -0400, sean finney wrote: > > Justification: renders package unusable > > i'm readjusting the severity of this, as the nagios is still quite > installable for everyone and useable for most people. i'm also > pondering reassigning it to nagios-plugins, as i believe it is > specific plugins failing and not the nagios subsystem, but i'll > hold off on that until we get all the information necessary.
OK. > > 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. > > hmm.. strange. i would think that exporting the above would be all > that we needed, i guess not. can you give me a specific example? > > > 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'd be nice if there were some medium ground where non-relevant > locale settings could remain at what they were, so error messages etc > could remain in the right locale. > > really, i'm suspecting the real fix should be in the individual plugins > (which i've actually fixed upstream in later versions), but i'll need > to see an example before i can be sure of that. I too think the fix should be done once and for all in the plugins, however the LC_ALL solution fixed the problem for me. Here's what I've got : --- 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 --- 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 bye Jerome Alet
signature.asc
Description: Digital signature