How to Change NRPE Timeout Length

Nagios Remote Plug-in Executor (NRPE), a product of Nagios monitoring software, is used for monitoring network services and resources in remote Linux and Unix host systems, such as CPU load, disk space usage, memory usage and number of logged-in users. This event handler is managed remotely once the NRPE daemon is installed in the remote machine. The low CPU load NRPE imposes makes it an often-preferred method for monitoring a large quantity of remote systems. "Connection Refused" errors often occur when the NRPE daemon runs a command that takes longer than the established timeout limit. You can change the NRPE timeout with a specific "check_nrpe" command.

Instructions

    • 1

      Log in to the system, and access the Nagios user account on the remote host on which NRPE daemon and plug-in are installed.

    • 2

      Type a root user username and corresponding password when prompted. Check to ensure NRPE daemon is working properly by typing the following command:

      /usr/local/nagios/libexec/check_nrpe -H localhost

    • 3

      Allow for the result to display. The result should correspond to the version of NRPE installed, such as "NRPE v2.9."

    • 4

      Change the NRPE timeout length by executing a command and typing the desired timeout length, preceded by the "-t" command, as follows:

      /usr/local/nagios/check_nrpe -H localhost -c samplecommand -t 30

      Note: this sample command will change the timeout length to 30 seconds.

Related Searches:

References

Comments

Related Ads

Featured