Hi,
So I can’t find a descent example of how to add a custom command with sudo.
What is the correct format?
Thank you in advance!
Kind regards.
Hi,
So I can’t find a descent example of how to add a custom command with sudo.
What is the correct format?
Thank you in advance!
Kind regards.
Hi @florius
using full paths to sudo and the plugin works.
Example:
/usr/bin/sudo /usr/lib/nagios/plugins/check_disk
Kind regards
Lame, was hoping to keep using BaseDir. But we’ll have to deal with it! Thanks for the source @ritzgu.