NSClient NRPE Socket Timeout
Posted: Tue Jul 12, 2011 1:45 pm
Hello,
I have googled and searched and cannot find an answer to the socket timeout error. I have Nagios 3.2.2 installed. I am using the current version of NSClient++ installed on a Win2003 server. I have approximately 20 service checks with about 10 CheckDriveSize service checks on the server using NSClient nrpe. All checks except one CheckDriveSize check work. The check that is not working is intermittent where every once in awhile it gets a socket timeout and it is on drive Y. None of the other drives have this issue.
We have increased the socket_timeout parm to 30 in the nsclient.ini file. If I executed from the CL, the check always works. In the cgi, the check gets the timeout error intermittently. Increasing the socket_timeout parm did not change anything.
Please help.
Regards,
Carol
Here is the service check definition:
define service {
host_name host
use contact
service_description NRPE DISK: Check Y drive
check_command nt_check_nrpe!CheckDriveSize!ShowAll=long MinWarnFree=9% MinCritFree=4% Drive=y:\\
}
I have googled and searched and cannot find an answer to the socket timeout error. I have Nagios 3.2.2 installed. I am using the current version of NSClient++ installed on a Win2003 server. I have approximately 20 service checks with about 10 CheckDriveSize service checks on the server using NSClient nrpe. All checks except one CheckDriveSize check work. The check that is not working is intermittent where every once in awhile it gets a socket timeout and it is on drive Y. None of the other drives have this issue.
We have increased the socket_timeout parm to 30 in the nsclient.ini file. If I executed from the CL, the check always works. In the cgi, the check gets the timeout error intermittently. Increasing the socket_timeout parm did not change anything.
Please help.
Regards,
Carol
Here is the service check definition:
define service {
host_name host
use contact
service_description NRPE DISK: Check Y drive
check_command nt_check_nrpe!CheckDriveSize!ShowAll=long MinWarnFree=9% MinCritFree=4% Drive=y:\\
}