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


Shutting down ESXi from an SSH script via a sensor

Votes:

0

Your Vote:

Up

Down

Hi Team,

We have a remote site that has an APC battery backup that we monitor via SNMP. Also, we have a standalone ESXi host that only has a few layers on it as they are a small remote office. Lately we have been having quite a few power issues at the site and we are able to see this via PRTG and respond accordingly which is awesome however, I'd like to take this process and automate shutting down the server.

I would like setup a simple SSH script that will connect to the server and issue the command "poweroff" when the APC runtime sensor falls below 10%. This will assist us with automatically and gracefully shutting down the server and it's layers.

What is the best approach to implementing this task within PRTG?

Thank you, Ryan

apc esxi ssh

Created on Nov 9, 2015 9:45:15 PM by  RyaninCO (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Dear Ryan

That is complicated, but possible. You could setup a threshold trigger and run a notification which is configured to start in program which then starts a script using SSH.

Created on Nov 10, 2015 4:36:03 PM by  Arne Seifert [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.