Restarting service automatically.

581    Asked by AbdulRehman in Devops , Asked on Nov 17, 2019
Answered by Abdul Rehman

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.



Your Answer

Interviews

Parent Categories