I took a look at the nsclient.ini file it is empty and does not have any settings so that is why the check_nt command is failing.
What you need to do is to reinstall the NSClient++ agent by following this document.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
It says that is is for Nagios XI but it will work for Nagios Core as well.
Socket Timeout after 10 Seconds
Re: Socket Timeout after 10 Seconds
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Socket Timeout after 10 Seconds
@tgriep
Thanks for Highlighting the issue.
I replaced the file from another server and it is working now.
But i have another server where this file is blank, and it is blank. Shockingly it is working. Any idea what could be the reason.
Thanks for Highlighting the issue.
I replaced the file from another server and it is working now.
But i have another server where this file is blank, and it is blank. Shockingly it is working. Any idea what could be the reason.
Re: Socket Timeout after 10 Seconds
You could be using a different agent and are running different check commands.
Or, you are testing the wrong host.
Or, you have another copy of the NSClient++ agent that is installed to a different folder and that one is running.
Or, you are testing the wrong host.
Or, you have another copy of the NSClient++ agent that is installed to a different folder and that one is running.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Socket Timeout after 10 Seconds
Today i added one more server to the monitoring
It has started giving the same Error.
I have attached the nclient file from that server. Kindly look into it.
It has started giving the same Error.
I have attached the nclient file from that server. Kindly look into it.
- Attachments
-
- nsclient.ini
- (8.59 KiB) Downloaded 449 times
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Socket Timeout after 10 Seconds
Please ignore the above message.
I have resolved it.
Thanks for your support.
I have resolved it.
Thanks for your support.
Re: Socket Timeout after 10 Seconds
Thanks for posting back that you figured out the issue. If you don't have any further related questions, shall I close and lock the post as solved?
Be sure to check out our Knowledgebase for helpful articles and solutions!