mnagel
9 years agoProfessor
event handlers
In Nagios, there is a concept of an event handler that can run to try to fix problems (e.g., restart a service, remove old files, etc.). I see no similar capability in LM and it is of course somet...
I've created two more DataSources. One that restarts a Linux service and one for Windows that runs specified commands when it detects an alert.
Monitor a Linux Service and restart if needed: http://blog.mikesuding.com/2018/12/27/service-restart-for-linux/
Generic run some PowerShell (Windows) commands or a script if alert happens: http://blog.mikesuding.com/2018/12/03/automatic-action-triggered-by-an-alert/