NSClient problem with russian letters.
Posted: Tue Oct 20, 2015 1:34 pm
Hello.
Ive faced problem that command check_uptime, inside NSClient, returned boot time without russian letters.
Client installed on windows 2008 r2 server with Russian format, location and non-Unicode programs.
so usual check inside nsclient (nscp test) show ??? instead current month in russian letters.
Its looks like: "OK: uptime: 20:21h, boot: 2015-???-19 22:03:36 (UTC)
and should be: OK: uptime: 20:21h, boot: 2015-окт-19 22:03:36 (UTC)
this command runs on client every 5 min and data sends via NSCA channel to Nagios Core main host.
Messages send through NSCA have same problem and Nagios received this as ??? too.
So, question is, can i avoid it except sets regional settings to English (or similar with English language)?
And second question, time always send as UTC, can i set it to server local time?
PS: ive checked NSClient documentation, but did not find anything about changing format date/time or may be sets unicode for output.
Ive faced problem that command check_uptime, inside NSClient, returned boot time without russian letters.
Client installed on windows 2008 r2 server with Russian format, location and non-Unicode programs.
so usual check inside nsclient (nscp test) show ??? instead current month in russian letters.
Its looks like: "OK: uptime: 20:21h, boot: 2015-???-19 22:03:36 (UTC)
and should be: OK: uptime: 20:21h, boot: 2015-окт-19 22:03:36 (UTC)
this command runs on client every 5 min and data sends via NSCA channel to Nagios Core main host.
Messages send through NSCA have same problem and Nagios received this as ??? too.
So, question is, can i avoid it except sets regional settings to English (or similar with English language)?
And second question, time always send as UTC, can i set it to server local time?
PS: ive checked NSClient documentation, but did not find anything about changing format date/time or may be sets unicode for output.