How can I run a remote bash on error
Modified on 2025-06-10 21:33:13 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
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
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Using PowerShell for executing shell commands should be what you're looking for :)
Apr, 2017 - Permalink