TransWikia.com

check_nrpe: ssocket time out after 10 seconds

Server Fault Asked by Suganya on January 19, 2021

I have a Nagios core setup in my environment for monitoring Windows, Linux servers etc.

Recently i have configured a physical and swap memory monitoring using the plugin ./check_nrpe for windows servers. All the servers are working fine but for a specific server if i run the command i’m getting the error ‘CHECK_NRPE: Socket timeout after 10 seconds.’

When i tried executing the plugin without the command and only with IP address as below also giving the same error.

[root@serverlibexec]# ./check_nrpe -H xx.xx.xx.xx
CHECK_NRPE: Socket timeout after 10 seconds.

Then i tried increasing the timeout value to maximum of 2000 using -t option which throws the same error :(. I’m wondering how the check_nrpe plugin is becoming time out even after 2000 seconds :-/.

Kindly help me in resolving the same.

Thank you,

One Answer

The Nagios server can't connect to the NRPE service on the server you are monitoring.

  1. Check that the NRPE service in running on the destination server
  2. Check that you have configured allowed_hosts correctly on the destination server so that the Nagios server is allowed connect (nrpe.cfg)
  3. Check that no firewalls are blocking the connections

My guess is that its Number 2.

Answered by Garreth McDaid on January 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP