Search found 12 matches

by ads1923
Fri May 29, 2015 5:28 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

Box293, that solved it. I added these values to the nsclient.ini file and now the 3 servers that weren't working are. [/settings/external scripts] timeout = 65 [/settings/NRPE/server] timeout = 70 ./check_nrpe -H servername.domain.com -c check_queue_health -t 75 Thank you very much for all of your h...
by ads1923
Thu May 28, 2015 4:10 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

Here is the output:

PS C:\Program Files\NSClient++\scripts> powershell.exe .\QueueHealth.ps1
OK: All mail queues within limits.
by ads1923
Thu May 28, 2015 2:13 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

I have tried to increase the timeout value before and it still fails, it fails with a different message though. Command ran on the Nagios server: ./check_nrpe -H servername.domain.org -c check_queue_health -t 59 Result: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error...
by ads1923
Tue May 26, 2015 2:08 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

I followed your steps and ran the command from the nagios server. Attached is the nsclient.log that you requested. I still get the same response on the nagios server. Just a reminder i have 3 other servers in these subnet that are working using the same nsclient.ini file and external scripts. output...
by ads1923
Fri May 22, 2015 3:07 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

I made the changes to the nsclient.ini file that you suggested and I get the same result.

CHECK_NRPE: Socket timeout after 30 seconds.
by ads1923
Fri May 22, 2015 1:21 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

Thank you for the replies. I updated the nsclient.ini file with this: check_queue_health=cmd /c echo scripts\QueueHealth.ps1; exit $LastExitCode | PowerShell.exe -Command - I ran nscp.exe test check_queue_health The local server reported: d rvice\NSClient++.cpp:616 NSClient++ - 0,4,1,105 2014-04-28 ...
by ads1923
Wed May 20, 2015 10:26 am
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

@tgriep

I have tried to increase the timeout value and I get the same result.
by ads1923
Wed May 20, 2015 10:24 am
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

@box293 the check runs fine on the local machine it just doesn't seem to send the response back to the Nagios server. Here is what the test output looks like: d rvice\NSClient++.cpp:616 NSClient++ - 0,4,1,105 2014-04-28 Started! l ce\simple_client.hpp:32 Enter command to inject or exit to terminate....
by ads1923
Tue May 19, 2015 7:01 pm
Forum: Open Source Nagios Projects
Topic: NRPE Socket Timeout when running check that loads PSSNapin f
Replies: 22
Views: 14386

Re: NRPE Socket Timeout when running check that loads PSSNap

The nsclient service is running as local system on all of the servers and the client is all the same version.
nsclient version 4.1.105