Page 1 of 1

Problem in running Nagios NRPE

Posted: Thu Aug 06, 2009 3:18 am
by vincenthui
Hi,

I installed NRPE v2.12 to monitoring my Scalix Email Server, however, I cannot run the check_nrpe command which included sudo command such as check_services.py. The error "NRPE: Unable to read output" shown.

I already visudo nagios for the script folder. I have tested to run sudo /check_services at command line without problem only cannot run on check_nrpe.

Thanks,
Vincent

Re: Problem in running Nagios NRPE

Posted: Fri Oct 02, 2009 2:54 am
by jorgen3048
Be sure your /etc/sudoers file contains this:
#Defaults requiretty

Note the hash-mark