Re: check_expiry
Posted: Thu Jun 13, 2019 4:51 pm
@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:
to
Restart the nrpe and let me know if the check_nrpe works.
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
Code: Select all
command[check_appuser]=/usr/local/nagios/libexec/check_expiry.sh aip-app