check_expiry

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: check_expiry

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked