Hi,
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.
Thanks!
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.
Sep, 2015 - Permalink