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


Article Comments