Nagios plugins languages

Hello people,

I have an issue with some Nagios plugins like Check_ping and Check_nt. Ok, for starters:

  • I’m french
  • The server is localized (and configured so) in France
  • I’m using Nagios 3.0.2 and Nagios-plugins 1.4.11 on a Ubuntu-Server x86 8.04.1

Everything is working fine, my problem is just that some plugins outputs are in French and I would like them in english.

Plugins --help are in French too.

I guess it’s something to be configured when the plugins are configured/compiled, I’ve search but I really don’t know what it is.

Is someone have some experience on that issue, please help me.

Thank you a lot,

Clement.

Salut!

Just to know: did you download a french version for your plugins ? (or did you do a “apt-get” or rpm ?).
If yes => just download the official plugins (nagiosplugins.org/) and compile them.
=> that could explain the --help in french :slight_smile:

j’espere que c’etait juste ca le souci; sinon, le souci peut peut etre venir du fait que ton executable “ping” soit en francais => le plug in s’adapte a ca lors de la compilation.

Hope this helps :slight_smile:

No I downloaded the plugins from the sourceforge depository and compiled it. I wonder if it detects the system localisation and compile a version in the country language… I hope not.

My Ubuntu Server is in English, as is the result from the ping command…

STOP, I found out. Sorry, I was searching while responding.

There is some files in the directory /usr/local/nagios/share/locale that gives translation for the plugins messages.

Those files are created (or it seems so) using the files in the “po” directory of the plugin package.

Now that I know where the translations are made, I’ll try to find a solution… maybe delete the translation file.

I’ll keep you posted.

Thanks.

Ok, confirmed. A solution is to delete the “fr” folder (I’ve renamed it) in /usr/local/nagios/share/locale/. Nagios not founding an fr folder anymore doesn’t translate the messages.