Hi there,

I would like to run a bash script on a remote host when a state of a monitored device changes to a down?

I want to run a bash script located on a remote linux server that will kill certain java process and restarts specific docker when the CPU usage of the server has been at 90% more than 10 minutes.

What's best practice ?


Article Comments

Using PowerShell for executing shell commands should be what you're looking for :)


Apr, 2017 - Permalink