[Nagiosplug-devel] [ nagiosplug-Patches-2802895 ] Enforce C locale usage for parsing text output

Jan Wagner waja at cyconet.org
Tue Jun 16 15:52:29 CEST 2009


Hi,

On Monday 15 June 2009 12:37:36 SourceForge.net wrote:
> Many plugins rely on parsing text output. But the formatting of this output
> varies according to the current system locale, making it quite fragile. It
> was already reported for instance in
> https://sourceforge.net/tracker/index.php?func=detail&aid=1433114&group_id=
>29880&atid=397597
>
> The attached patch, contributed former mandriva package maintainer Oden
> Eriksson,  enforces the use of C locale for all plugins, fixing the issue.
>
> ----------------------------------------------------------------------
>
> >Comment By: Holger Weiß (hweiss)
>
> Date: 2009-06-15 12:37
>
> Message:
> This patch would eliminate the locale specific output generated by most
> plugins; that's not an option, sorry. Therefore, we can only accept patches
> which enforce the C locale specifically for the execution of external
> commands (as in #1433114).

wasn't there any discussion about localized output of the plugins? I thought 
there was, but can't find it anymore in my archives.

We have actually one open bug[1] and a closed one[2] caused by localization.

Thanks and with kind regards, Jan.
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531716
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509359
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20090616/3685b114/attachment.sig>


More information about the Devel mailing list