Unknow: could not fetch information from server
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Unknow: could not fetch information from server
Hello Team,
I have tried to configure the exchange parameter's like exchange server health and queuestatsnagios but the issue is when I am configure this 2 services I am getting unknown error for other windows parameters i.e Unknown: could not fetch information from server
note: for exchange parameters we are using 3rd party scripts.
while getting unknown error i have checked my nsclient log file in log file it's showing
1.Seems we other end is not using ssl: unknown protocol
2.error:c:\source\master\include\socket/connection.hpp:255: Please review the ssl option as well as ssl options in settings
Could you please help me to resolve this issue ?
I have tried to configure the exchange parameter's like exchange server health and queuestatsnagios but the issue is when I am configure this 2 services I am getting unknown error for other windows parameters i.e Unknown: could not fetch information from server
note: for exchange parameters we are using 3rd party scripts.
while getting unknown error i have checked my nsclient log file in log file it's showing
1.Seems we other end is not using ssl: unknown protocol
2.error:c:\source\master\include\socket/connection.hpp:255: Please review the ssl option as well as ssl options in settings
Could you please help me to resolve this issue ?
Re: Unknow: could not fetch information from server
What are the complete commands you're trying to run? Please provide a screenshot showing the output of using the "Run Check Command" button on the services.
Do other checks against nsclient work? What is the output of:
/usr/local/nagios/libexec/check_nrpe -H <nsclient_ip>
?
What are the ssl options, verify mode and insecure lines set to in nsclient.ini? Try setting them to:
ssl options = no-sslv2,no-sslv3
;verify mode = peer-cert
insecure = true
*note that I commented out the verify mode line. The nsclient service must be restarted after making changes to the config.
Do other checks against nsclient work? What is the output of:
/usr/local/nagios/libexec/check_nrpe -H <nsclient_ip>
?
What are the ssl options, verify mode and insecure lines set to in nsclient.ini? Try setting them to:
ssl options = no-sslv2,no-sslv3
;verify mode = peer-cert
insecure = true
*note that I commented out the verify mode line. The nsclient service must be restarted after making changes to the config.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Unknow: could not fetch information from server
Hello cdienger,
The below comment i have already checked the output is showing it's seem to be doing fine and starting nrpe version also shown in this command ouptut. if you want that version let me know i will send you again.
/usr/local/nagios/libexec/check_nrpe -H <nsclient_ip>
The below mentioned lines also already there in my nsclient.ini file. only one change in my ini file below you commented out the verify mode i haven't commented but verify mode=none this is what i mentioned in my ini file.
ing is
ssl options = no-sslv2,no-sslv3
;verify mode = peer-cert
insecure = true
now if i reinstall my nsclient isssue will resolve ?
i checked everything allowed hosts entries are fine but the thing is i able to configure that exchange services but in my case other windows parameter's are getting unknown error.
Let me know next what i need to check ?
The below comment i have already checked the output is showing it's seem to be doing fine and starting nrpe version also shown in this command ouptut. if you want that version let me know i will send you again.
/usr/local/nagios/libexec/check_nrpe -H <nsclient_ip>
The below mentioned lines also already there in my nsclient.ini file. only one change in my ini file below you commented out the verify mode i haven't commented but verify mode=none this is what i mentioned in my ini file.
ing is
ssl options = no-sslv2,no-sslv3
;verify mode = peer-cert
insecure = true
now if i reinstall my nsclient isssue will resolve ?
i checked everything allowed hosts entries are fine but the thing is i able to configure that exchange services but in my case other windows parameter's are getting unknown error.
Let me know next what i need to check ?
Re: Unknow: could not fetch information from server
Please provide the full command that is failing. I would also check to see that the following is in the nsclient.ini config:
[/settings/NRPE/server]
allow arguments=false
[/settings/external scripts]
allow arguments=false
Does the script work if you run it manually outside of nsclient?
[/settings/NRPE/server]
allow arguments=false
[/settings/external scripts]
allow arguments=false
Does the script work if you run it manually outside of nsclient?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Unknow: could not fetch information from server
Hello Team,
I have tried below command also but still i am getting error,
1. I have added as per the below all the lines in nsclient.ini after that exchange services are working fine but windows services showing same error i.e unknown error could not fetch information from server
2) In fresh nsclient file(with my external scripts) exchange services showing CHECK_NRPE: Socket timeout after 60 seconds that time my windows services are working fine.
Does the script work if you run it manually outside of nsclient?
we have already monitoring this exchange services using same script but monitoring on another environment but here we are facing this issue.
PFB SS for the same let me know next step ?
I have tried below command also but still i am getting error,
1. I have added as per the below all the lines in nsclient.ini after that exchange services are working fine but windows services showing same error i.e unknown error could not fetch information from server
2) In fresh nsclient file(with my external scripts) exchange services showing CHECK_NRPE: Socket timeout after 60 seconds that time my windows services are working fine.
Does the script work if you run it manually outside of nsclient?
we have already monitoring this exchange services using same script but monitoring on another environment but here we are facing this issue.
PFB SS for the same let me know next step ?
You do not have the required permissions to view the files attached to this post.
Re: Unknow: could not fetch information from server
What version of nsclient is installed in the working environment? It would be a good step to make sure that the new environment is running the same version and that the configurations are similar.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Unknow: could not fetch information from server
I Will try to install the same Nsclient agent version which is working one and will let you know
Re: Unknow: could not fetch information from server
Let us know how it went. We will keep this topic open for the time being.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
Mani.Murugesan
- Posts: 67
- Joined: Fri May 12, 2017 1:37 am
Re: Unknow: could not fetch information from server
Hello Team,
This is inform to you previously they haven't enabled the nrpe while installing nsclient so now they are going to do that
Please find the below 2 point's and let me know is it possible ?
1. if we can reinstall or update the current agent with Nrpe ? Since this is a feature built in , I believe there must be some way out where we can avoid all the difficult ways.
2. Currently we are installing Nagios client with package created by packaging team with no reboot option . could you create similar package with your requirement ( Nrpe ) with no reboot option.
Could you please suggest for the same ?
This is inform to you previously they haven't enabled the nrpe while installing nsclient so now they are going to do that
Please find the below 2 point's and let me know is it possible ?
1. if we can reinstall or update the current agent with Nrpe ? Since this is a feature built in , I believe there must be some way out where we can avoid all the difficult ways.
2. Currently we are installing Nagios client with package created by packaging team with no reboot option . could you create similar package with your requirement ( Nrpe ) with no reboot option.
Could you please suggest for the same ?
Re: Unknow: could not fetch information from server
You don't need to reinstall the agent - simply follow the steps, outlined in our document on enabling the NRPE listener in NSClient++ here:1. if we can reinstall or update the current agent with Nrpe ? Since this is a feature built in , I believe there must be some way out where we can avoid all the difficult ways.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Can you elaborate on this? Are you asking if you could made modifications on the NRPE configuration and apply these changes without rebooting the server? You need to restart the NRPE service (if NRPE is running as a "standalone daemon") or restart xinetd, so that changes can take effect. You don't need to reboot the server...2. Currently we are installing Nagios client with package created by packaging team with no reboot option . could you create similar package with your requirement ( Nrpe ) with no reboot option.
Be sure to check out our Knowledgebase for helpful articles and solutions!