What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

SSH/Linux or Powershell/Windows Custom Sensor Cost

Votes:

0

From a resource perspective, which is better to use from a PRTG server, SSH or Powershell?

I have the option to write a script running from a Linux server via SSH or a Powershell from PRTG to a remote Windows server. It's for checking group membership in AD.

It seems like running a Linux script remotely via SSH would be less intensive, but does the cost of the SSH encryption connection hurt it that much? I see that the SSH Script is in the red, but EXE is not.

Is Powershell running on a PRTG server, remotely sending commands to a remote server less intensive than an SSH connection?

custom-sensor powershell ssh

Created on Oct 13, 2016 4:00:53 AM



1 Reply

Votes:

0

The cost of the SSH encryption is negligible here. From a development-cost-perspective, a PowerShell script would be the easiest way here. Remember to install the AD module for PowerShell, this will spare you from the need of using Remote PowerShell:

Add-WindowsFeature RSAT-AD-PowerShell

This way, the script can query your DC directly and you avoid most of the headache :)

Created on Oct 13, 2016 6:11:12 AM by  Stephan Linke [Paessler Support]




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.