CHECK_NRPE: Socket timeout


#1

I know this is in the manual and I have already done the proposed solution written on it but still no use.

On my browser, I have am getting “CHECK_NRPE: Socket timeout after 30 seconds” . Yes that is right, it is 30 seconds and not 10 seconds because I have included in the configuration of the test, specifically check_user, to have a timeout of 30 seconds.

Now here where it becomes weird. I am having that error when I use my web browser, but when using the CLI, I am using CentOS 5.2, I could easily execute “/usr/lib64/nagios/plugins/check_nrpe -H -c check_users” without the timeout option and I get “USERS OK - 1 users currently logged in |users=1;5;20;0”, which is correct.

Can anybody give me some clue on why is it behaving like that?

Thanks!