Re: Ubuntu Postfix NRPE: Unable to read output
Posted: Mon Aug 04, 2014 5:54 am
Hi,
I can confirm that I do not have the following on the client nrpe.cfg:
command[check_init_service]=sudo /usr/local/nagios/libexec/check_init_service $ARG1$
This is also the case on the Nagios XI hosting server nrpe.cfg file
Also the following entry is not in the client or host sudoers file:
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service
Do both these entries need to be added to the respective files and if so does this need to be done on both the Nagios host + client or just one of these?
Thanks
I can confirm that I do not have the following on the client nrpe.cfg:
command[check_init_service]=sudo /usr/local/nagios/libexec/check_init_service $ARG1$
This is also the case on the Nagios XI hosting server nrpe.cfg file
Also the following entry is not in the client or host sudoers file:
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service
Do both these entries need to be added to the respective files and if so does this need to be done on both the Nagios host + client or just one of these?
Thanks