Search found 5 matches

Return to advanced search

Re: check_expiry

sorry for replying late @npolovenko I am able to run it successfully with "su - nagios" -bash-4.1$ /usr/local/nagios/libexec/check_expiry.sh appuser1 OK - Password never expires -bash-4.1$ vim /usr/local/nagios/etc/nrpe.cfg -bash-4.1$ /usr/local/nagios/libexec/check_expiry.sh appuser2 OK -...
by hardik185
Thu Jun 13, 2019 11:08 am
 
Forum: Community Support
Topic: check_expiry
Replies: 10
Views: 1873

Re: check_expiry

hi @npolovenko ,
I have added entries in sudoer file as suggested but did not help. not sure what is still missing.
by hardik185
Fri May 31, 2019 6:00 am
 
Forum: Community Support
Topic: check_expiry
Replies: 10
Views: 1873

Re: check_expiry

Hi @npolovenko,
Sure. I have added the entries as suggested in /etc/sudoers but still same output. Please find attached nrpe.cfg and suggest if there is any way to enable this check.
by hardik185
Tue May 28, 2019 7:05 am
 
Forum: Community Support
Topic: check_expiry
Replies: 10
Views: 1873

Re: check_expiry

Hi, Thanks for your response. I have tried both but I still get the same error. strace does not really help. If I run the script as nagios user I get the right output. It is just check_nrpe does not give. /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_appuser NRPE: Unable to read output ...
by hardik185
Fri May 24, 2019 10:19 am
 
Forum: Community Support
Topic: check_expiry
Replies: 10
Views: 1873

check_expiry

Hi, I am using check_expiry on Linux (RHEL 6) but while running it with check_nrpe, I always get "NRPE: Unable to read output"

I can see nagios is not able to execute this script to check user's password expiry information. any idea on how this can be achieved?
by hardik185
Wed May 15, 2019 11:49 am
 
Forum: Community Support
Topic: check_expiry
Replies: 10
Views: 1873

Return to advanced search