Can Watcher execute external script upon alert?

Hi All,
I would like to use Watcher to execute external script on alert condition is it possible?
If yes if can i get reference link to how to
Please advice

Not currently, no.

When will Watcher be able to execute external scripts upon alert? I have a similar requirement - and would like Watcher to execute a remote script when a certain alert condition occurs.

Watcher runs in the same sandbox as Elasticsearch does, with the java security manager enabled to prevent random reads/writes of files as well as executing any code (and many many more things to improve security). This is the reason, why you need another (hopefully more compartmentalized) component to execute scripts and use the webhook (or an index action) to trigger that.


1 Like

Thank you, Alex - I will pursue the webhook route.