[Nagiosplug-devel] Performance output in different locales

Ton Voon ton.voon at opsera.com
Tue Dec 16 16:20:24 CET 2008


On 16 Dec 2008, at 14:41, Hendrik Baecker wrote:

> Sum: +2

OK, looks like a consensus on this.

What's the fix? Do we change the locale to C when calling fperfdata in  
utils.c and then change back?


> Unlike the rest of the english speaking world, we have support trouble
> with PNP if a user used to take locale de_DE for his nagios user.
> In that case the perfdata are with "," instead of dots.

The latest N::P will parse commas as well as dots. If you find any  
thing else that doesn't parse well, please add a test case

Ton





More information about the Devel mailing list