Secondary event handlers
Posted: Tue Jun 04, 2013 11:17 am
Is there a way to get an event handler to run again after a certain period of time?
Example:
We are using the Windows Service Restart event handler provided by Nagios. However sometimes there's lag or whatnot and it fails to effectively restart the service.
Would like to have a way that if after X amount of time, if the service has not recovered, the event handler will run again.
Is there an easy way of doing this?
Thanks,
Chris
Example:
We are using the Windows Service Restart event handler provided by Nagios. However sometimes there's lag or whatnot and it fails to effectively restart the service.
Would like to have a way that if after X amount of time, if the service has not recovered, the event handler will run again.
Is there an easy way of doing this?
Thanks,
Chris