Best Answer · By JanBask DevOps Expert
Answered on Nov 17, 2019
Any service can be restarted via Nagios at schedule time using event handlers.
First, Define an event handler in Nagios.
Second, define specific command under commands.cfg file
ensuring nrpe_event handler exists on remote hosts.
Restarting nagios.
Via this way the associated command will be executed at remote hosts.