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

Active Sessions in Delivery Group

Votes:

0

Hi all,

I know, there are many messages about "value:message", but I just can't manage to get my sensor working. Are there any special parameters I have to set in the sensor? What am I doing wrong? I used the "EXE/Sensor" script.

My goal is (nothing complicated) to have a graph about the active sessions in a machinecatalog.

Add-PSSnapin Citrix*
$Server = "<FQDN>"
$Active = (Get-BrokerSession -AdminAddress "$Server" | where {$_.Catalogname -eq "<MACHINECATALOG>"} | where {$_.SessionState -eq "Active"}).Count

Write-Host $Active":Sessions"

Best regards and thanks Alex

citrix powershell sensor

Created on Aug 28, 2019 10:20:31 AM

Last change on Aug 28, 2019 10:39:03 AM by  Torsten Lindner [Paessler Support]



Replies

Nobody has replied yet


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.