Problem with NRPE Socket Timeout and NSClient++

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
clarkgarg85
Posts: 1
Joined: Sat Jan 02, 2021 1:23 pm

Problem with NRPE Socket Timeout and NSClient++

Post by clarkgarg85 »

We have a problem with check_nrpe and NSClient++ when running a specific Powershellskript.

It is called with check_nrpe -H hostaddress -p 5666 -c checkname -t 30

When running on the commandline of the Monitoringserver, everything works, but when running the Servicechecks, we get CHECK_NRPE STATE CRITICAL: Socket timeout after 10 seconds.

All other check_nrpe requests against the machines work just fine.
alicelamm1
Posts: 1
Joined: Thu Jan 28, 2021 9:49 am

Re: Problem with NRPE Socket Timeout and NSClient++

Post by alicelamm1 »

I think in you check command the -t option has to be set before -c. Also check the timeouts inside of nrpe.cfg on the remote host.
Locked