Page 2 of 2

Re: check_expiry

Posted: Thu Jun 13, 2019 4:51 pm
by npolovenko
@hardik185, Did you add Defaults: nagios !requiretty to the sudoers file?

Please open the /usr/local/nagios/etc/nrpe.cfg file and change the command from:

Code: Select all

command[check_appuser]=sudo /usr/local/nagios/libexec/check_expiry.sh aip-app
to

Code: Select all

command[check_appuser]=/usr/local/nagios/libexec/check_expiry.sh aip-app
Restart the nrpe and let me know if the check_nrpe works.