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


Remember Me

Directory Tree



Hello! Thanks for writing this.

I'm having an issue. When I run the plugin locally with -a, everything reports OK. When I run the command on nagios server via nrpe I get a CRITICAL error. Its almost like its checking for those paths on the nagios server instead of the remote host:

Nagios server:
check_nrpe -H myhost.mydomain.com -c check_mounts
CRITICAL: /mnt/testmnt doesn't exist on filesystem ;

Command from nrpe_local.cfg:
command[check_mounts]=/usr/lib/nagios/plugins/check_mountpoints.sh /mnt/testmnt

Result running command manually on remote host:

/usr/lib/nagios/plugins/check_mountpoints.sh /mnt/testmnt
OK: all mounts were found ( /mnt/testmnt )

Any ideas?