check_expiry

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: check_expiry

Postby npolovenko » 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:
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.
npolovenko
Support Tech
 
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Previous

Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 1 guest