Hi,
We just did a bulk upgrade on all Windows servers to latest NSClient++. We have a weird problem where several servers are not able to connect to the Nagios server. Running check_nt or check_nrpe returning socket timeout after 10 seconds. The rest of the servers are OK. We have a mixed of 2008, 2012 and 2012 R2.
Can anyone shed some light on this please?
Thanks.
Servers not reporting after client upgrade
Re: Servers not reporting after client upgrade
Did you try increasing the socket Timeout? Because sometimes the plugin will take longer time to respond than the default 10sec.
I would suggest to increase the timeout and check.
here are few troubleshooting steps to common problems in NRPE:
https://assets.nagios.com/downloads/nag ... utions.pdf
I would suggest to increase the timeout and check.
here are few troubleshooting steps to common problems in NRPE:
https://assets.nagios.com/downloads/nag ... utions.pdf
"Machines don't make mistakes, we do."
Re: Servers not reporting after client upgrade
Hi,
I did try -t 20 but still getting time out, this is with both check_nrpe and check_nt. It doesn't make sense that the rest of the servers are fine and only several aren't. We have 200+ servers.
I did try -t 20 but still getting time out, this is with both check_nrpe and check_nt. It doesn't make sense that the rest of the servers are fine and only several aren't. We have 200+ servers.
Re: Servers not reporting after client upgrade
How exactly is this happening?jamesc23 wrote:Hi,
I did try -t 20 but still getting time out, this is with both check_nrpe and check_nt. It doesn't make sense that the rest of the servers are fine and only several aren't. We have 200+ servers.
Are the same servers the ones having problems each time?
Is it a 100% failure rate?
Former Nagios Employee.
me.
me.
Re: Servers not reporting after client upgrade
So,
I ran the commands manually from server as well as checking them from web based console. All services like CPU, uptime, memory, etc. are reporting CRITICAL - Socket timeout after 10 seconds.
Yes, all of the servers that aren't able to report back to the server are having the same issues.
I ran the commands manually from server as well as checking them from web based console. All services like CPU, uptime, memory, etc. are reporting CRITICAL - Socket timeout after 10 seconds.
Yes, all of the servers that aren't able to report back to the server are having the same issues.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Servers not reporting after client upgrade
Sounds like one of the modules is not loaded.
I've seen NSClient++ blow away the ini file in upgrades.
Here are some steps to re-create the ini file:
http://sites.box293.com/nagios/guides/n ... t-ini-file
I've seen NSClient++ blow away the ini file in upgrades.
Here are some steps to re-create the ini file:
http://sites.box293.com/nagios/guides/n ... t-ini-file
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Servers not reporting after client upgrade
OK I will try that bit later.
I have another issue where I need to add external script to nsclient.ini. I've copied the commands from the old ini but they don't seem to be working with the new version.
What's changed?
Edit: Please ignore. it's working now. sorry.
I have another issue where I need to add external script to nsclient.ini. I've copied the commands from the old ini but they don't seem to be working with the new version.
What's changed?
Edit: Please ignore. it's working now. sorry.
Last edited by jamesc23 on Tue Aug 18, 2015 8:24 pm, edited 1 time in total.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Servers not reporting after client upgrade
The CheckExternalScripts module might not be enabled. Steps to enable this are in my previous post.
Paste your ini file here and let us know which command is a problem.
Paste your ini file here and let us know which command is a problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Servers not reporting after client upgrade
It was this that was missing from the ini file
[/settings/external scripts/scripts]
[/settings/external scripts/scripts]
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Servers not reporting after client upgrade
Yep that'll cause problems.
I like using those commands that are in the link I posted. Specifically the --add-defaults can prevent issues in the future.
I like using those commands that are in the link I posted. Specifically the --add-defaults can prevent issues in the future.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.