New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How can I run a remote bash on error

Votes:

0

Your Vote:

Up

Down

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 ?

linux monitoring remote snmp-sensor trigger

Created on Apr 20, 2017 9:07:15 PM by  stamnik (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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

Created on Apr 24, 2017 6:02:55 PM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


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.