httpd status unknown due to insufficient privileges.
Posted: Wed Feb 25, 2015 1:00 am
/usr/local/nagios/libexec/check_init_service httpd
httpd status unknown due to insufficient privileges.
It works when I execute with sudo.
sudo /usr/local/nagios/libexec/check_etc_service httpd
httpd (pid 1995) is running...
So I have declared following command in nrpe.cfg. But it gives error "unable to read nrpe output"
command[check_httpd]= sudo /usr/local/nagios/libexec/check_init_service httpd
Not sure what I missing here. Could you help me?
httpd status unknown due to insufficient privileges.
It works when I execute with sudo.
sudo /usr/local/nagios/libexec/check_etc_service httpd
httpd (pid 1995) is running...
So I have declared following command in nrpe.cfg. But it gives error "unable to read nrpe output"
command[check_httpd]= sudo /usr/local/nagios/libexec/check_init_service httpd
Not sure what I missing here. Could you help me?