New Question
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

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

Is it possible to reuse SSH sessions?



Your Vote:




I have a probe running a handful of custom SSH scripts against a remote Tomato-based router. It opens a new SSH session for each script, at each sampling interval. The connection overhead is not insignificant (i.e. long execution times), and when I increase my probe frequency it becomes quite unfriendly to the router's default connection rate throttlers.

Is it possible to have PRTG "reuse" SSH sessions? i.e. Keep the session open, and simply run the scripts within it at the appropriate intervals. (Maybe starting a new subshell each time, or something, to maintain isolation and prevent misbehaved scripts from impacting other ones).

This would be a lot more efficient, for both the remote device and the probe.

If it's not possible, but sensible, could it be opened as a feature request? I think VMware has such a feature in the Root Group.


prtg ssh ssh-script

Created on Sep 22, 2015 9:46:30 AM by  rkagerer (2) 1

1 Reply



Your Vote:



Dear RKagere

Thank you for the feedback. I am sorry, we don't plan to introduce an option to reuse SSH sessions. It is not as simple to implement as it maybe looks.

Normally, it is okay to run SSH sensors just every 10 or 30 minutes, since the metrics (like free disk space) usually don't change too much in that time. Scanning much more frequently can put additional load on the device, this is correct. However, please don't expect this option in the foreseeable future as we currently focus on other areas to improve.

Created on Sep 23, 2015 2:00:14 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.