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

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

How can i monitor if the connections to and RDS servers are allowd or denied?

Votes:

0

Your Vote:

Up

Down

i know i can display the servers with allowed connections on powershell from the session broker by

Get-RDSessionHost -CollectionName "collection" | f1 Sessionhost, NewConnectionAllowed

this will display all the list of hosts within "collection"

SessionHost                     : Server.domain.local
NewConnectionAllowed : Yes

how can i monitor this with a custom script

custom-script powershell prtg

Created on Sep 15, 2022 3:10:34 PM by  fredjmnz (0) 1

Last change on Sep 19, 2022 6:40:07 AM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

the custom script would have to do the query and return the result in a PRTG-compatible format which is documented here.

Created on Sep 19, 2022 12:46:38 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.