Home Directory

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

Directory

deutschf3

Reviews(1)
bydeutschf3, March 20, 2012
1 of 1 people found this review helpful
Thanks, that's what I needed!
To use it with NRPE, do the following:

1. add the following to commands.cfg on the Nagios server:
"
# check mountpoints
define command {
command_name check_mountpoints
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_mountpoints -a $ARG1$ $ARG2$
}
"

2. Copy / move / download the plugin to the target server's plugin directory.

3. Adjust the NRPE config on the target server to be monitored:

#:nano /etc/nagios/nrpe.d/template.cfg
add:
"command[check_mountpoints]=/usr/lib/nagios/plugins/check_mountpoints.sh $ARG1$"

4. Restart the NRPE damon
#:/etc/init.d/nagios-nrpe-server restart

5. Add a service check on the nagios server..