Hi Experts,
We have some Solaris Server to be monitored in Nagios XI 5.6.6.
These Solaris servers are using a 3rd party SSH client and not the native SSH client on the servers and hence are giving an error "Remote command execution failed: couldn't set locale correctly".
The 3rd party SSH client in this case is : Tectia SSH Client/Server.
Could you please suggest as how can we monitor a Solaris server which is having a 3rd party SSH client/Server.
Regards
Vishal Dhote
Solaris server monitoring having 3rd party SSH client
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Solaris server monitoring having 3rd party SSH client
Hi Vishal,
This looks to be a settings issue on the Solaris server. I'm going to reach out to one the team members whose more familiar with older Unix systems for some input.
In the meantime, take a look at the following posts for some clues:
Solaris and the dreaded "couldn't set locale correctly" message
Couldn't set locale correctly
how to set solaris locale
Best Regards,
Benjamin
This looks to be a settings issue on the Solaris server. I'm going to reach out to one the team members whose more familiar with older Unix systems for some input.
In the meantime, take a look at the following posts for some clues:
Solaris and the dreaded "couldn't set locale correctly" message
Couldn't set locale correctly
how to set solaris locale
Best Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Solaris server monitoring having 3rd party SSH client
Hi Benjamin,
Thank you for the response.
I am going through the links which you have shared, our Solaris admin has referred to those and made similar changes but that didnt help.
Looking forward to hear from you about the inputs which you get from your team member.
Regards
Vishal Dhote
Thank you for the response.
I am going through the links which you have shared, our Solaris admin has referred to those and made similar changes but that didnt help.
Looking forward to hear from you about the inputs which you get from your team member.
Regards
Vishal Dhote
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Solaris server monitoring having 3rd party SSH client
Hi Vishal,
There is another option here. We do have Solaris, 10.x and 11.x, builds for NCPA, you can set up an agent instead of using check_by_ssh.
See: NCPA Downloads
When you login using SSH, it will pass the Lang env variable along with the LC_* . One way to resolve this would be to disable this on the remote system or try to pass the variable when loggin in using ssh, for example:
--Benjamin
Reference:
3 Ways to Fix SSH Locale Environment Variable Error
There is another option here. We do have Solaris, 10.x and 11.x, builds for NCPA, you can set up an agent instead of using check_by_ssh.
See: NCPA Downloads
When you login using SSH, it will pass the Lang env variable along with the LC_* . One way to resolve this would be to disable this on the remote system or try to pass the variable when loggin in using ssh, for example:
Code: Select all
LANG="en_US.UTF-8"
ssh nrpe-one "echo $LANG"
Reference:
3 Ways to Fix SSH Locale Environment Variable Error
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Solaris server monitoring having 3rd party SSH client
Hi Benjamin,
We dont have an option to use an agent. As per our contract, we need to add and monitor servers using check_by_ssh.
Regards
Vishal Dhote
We dont have an option to use an agent. As per our contract, we need to add and monitor servers using check_by_ssh.
Regards
Vishal Dhote
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Solaris server monitoring having 3rd party SSH client
Hi Vishal,
Okay, did you try the suggested shh commands or disabling the locale environment variable forwarding in ssh. Let me know and post any relevant error messages to the thread.
Thanks, Benjamin
Okay, did you try the suggested shh commands or disabling the locale environment variable forwarding in ssh. Let me know and post any relevant error messages to the thread.
Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!