[Nagiosplug-devel] -w and -c values are locale-dependend

Dmitry Sivachenko trtrmitya at gmail.com
Thu Dec 8 05:18:48 CET 2011


Hello!

Many plugins understand -w and -c options for warning and critical 
threshold.

Help output says that fraction values should use dot as seaerator:
-w 0.5 -c 0.9

But this is not the case with, say, ru_RU.KOI8-R locale.
I should use comma to get the desired results:

-w 0,5 -c 0,9

This is not convenient when starting nagios from command line.

Is there any chance to fix that so it works the same way regardless of 
locale?

Thanks!




More information about the Devel mailing list