So I'm using the Nagios provided event handler for restarting services. I'm wondering if there's a way that I can manually trigger this event handler?
It usually works automatically but sometimes things don't come back up correctly, so it would be super handy to log in from my phone and tell a service to restart again by triggering the event handler on the service manually.
Manually trigger event handlers/commands
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Manually trigger event handlers/commands
You should be able to force a check to the service and in the event it is not running the event handler will trigger again.