Build precise queries to find exactly what you need
Press ESC to close
You need to define nagios command with sudo prefix, for example:
define command{ command_name check_hddtemp command_line sudo $USER1$/contrib/check_hddtemp.sh /dev/$ARG1$ 40 50 }
And you will also probbly need to do not require tty for nagios user sudo. Add following line into /etc/sudoers:
Defaults:nagios !requiretty
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!