Restarting Nagios Using PHP
- by X-Ware
I am making a tool that is interacting with NAGIOS where some config files should be added so a restart will be needed.
What I need to know is how to restart NAGIOS using PHP code since this tool is written in PHP .. when I try to do this using:
shell_exec("service nagios restart");
changes do not take place but when I do this manually by…