11 years ago
ability for alert to trigger a script to be ran
Our engineers has asked for the ability to run a script ( groovy script) when an alert triggers.
Example of use case:
Given a database, They want to be able to get a snapshot of the processlist when connections spike to 500% above normal. The processlist would show who is beating the database up and help troubleshoot/prevent issue.
Currently there is no way for them to do that. If given that ability to trigger a script, i would write a groovy script to login into the database, run show processlist and dump it to filesystem or email it.
Thanks