20 Dec 2022 08:01 AM - last edited on 20 Dec 2022 08:55 AM by MaciejNeumann
Hi,
Been looking for a way to trigger a script if a event/alert happens, what is the easiest way of doing this?
Usecase - Custom log entry metric need to trigger a script that restart process.
-Claus
Solved! Go to Solution.
20 Dec 2022 08:48 AM
Hi @clc,
You should set up a metric event.
Then create a problem notification eg. to Ansible or any Custom Integraion (if you do not have Ansible)
I hope it helps.
Best regards,
Mizső
29 Dec 2022 03:13 PM
In addition to the answer of @Mizső I would also suggest to also use an alerting profile which you configure to only include that specific metric event.