Build precise queries to find exactly what you need
Press ESC to close
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?
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!