npolovenko wrote:You're saying that running this command manually changes what you see in the UI? That is impossible.It will only work when i ran the /usr/local/nagios/libexec/check_nrpe -H (IP Adress of server) -c restart_service -a spooler than it will go back to its current state.You can try chown apache.nagios /usr/local/nagios/libexec/restart_service.shwhen I run chown apache:nagios /usr/local/nagios/libexec/restart_service.sh i get this error chown: invlaid user: apache:nagios
No sorry I meant when i run that command it automatically restarts the service.
And when i chown apache.nagios /usr/local/nagios/libexec/restart_service.sh same error