Build precise queries to find exactly what you need
Press ESC to close
@aaplmike
Favorites0
Views
Projects0
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?
Reviewed 2 years ago