NSClient problem with russian letters.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ArDark
Posts: 4
Joined: Tue Mar 17, 2015 12:27 am

NSClient problem with russian letters.

Post by ArDark »

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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NSClient problem with russian letters.

Post by Box293 »

I believe both of these questions will need to be addressed with the developer.

For the characters issue via GitHib

For the UTC question via the NSClient++ Forums
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ArDark
Posts: 4
Joined: Tue Mar 17, 2015 12:27 am

Re: NSClient problem with russian letters.

Post by ArDark »

I think the same, but posted it here in hope that someone already have this issue and, may be, can clarify how to fix it.

But anyway, thanks for links, ill post my questions there too.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NSClient problem with russian letters.

Post by hsmith »

I haven't seen anything come across, but let us know. I wish there was more we could do to help, but it's pretty difficult when it is not our product. I'll leave this open in case anyone has any feedback.
Former Nagios Employee.
me.
Locked