Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me

Directory Tree


0 votes
FileDescription v1.0
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
A short Perl script that will test the specified host for the NRPE and NSClient agents, and will inform the user if they are working as expected. Useful for tracking down communication problems (eg firewalls) after first install of the agents.
This script is pure perl, and will check first for the NRPE agent, then for the NSClient agent. If you also give the -n flag, it will check for NRPE using non-SSL. It will stop once an agent is found, unless you specify the -a flag.

If you install an NRPE service 'version' like this:

commandversion=/bin/uname -a

then this output will be shown on a successful NRPE request (the 'version' command is the one used for testing, so it should exist).

Under NRPE_NT, I define a similar version command that runs a batch file which outputs 'OK'.