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
Email: sales@nagios.com

Login

Remember Me

Directory Tree

checkagent

Rating
0 votes
Favoured:
0
Hits
147096
Files:
FileDescription
checkagentcheckagent.pl v1.0
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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'.