Kaseya Community

Number of sessions om a citrix server

  • Is there an easy way to make a script to see how many sessions the are currently active om a citrix server?

    Legacy Forum Name: Number of sessions om a citrix server,
    Legacy Posted By Username: Basw
  • Not sure about a script, but I use the Terminal Server Active User Sessions counter in a monitor set. This way I can see how many users were logged into a server at any point in time.

    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <monitor_set_definition version="1.0">
    -<MonitorSet name="TS Users" description=''>
    -<Counters>
    <Counter name='Terminal Services Active User Sessions'  description='null' counterObject='Terminal Services'  counter='Active Sessions'  counterSampleInterval='300' collectionOperator='Over'  collectionThreshold='-1' trendTimeSpan='1209600' trendReArm='3600' thresholdOperator='Over'  thresholdAmount='15' thresholdDuration='25' thresholdWarning='10' thresholdReArm='3600'/>
    </Counters>
    -<Services>
    </Services>
    -<Processes>
    </Processes>
    </MonitorSet>
    </monitor_set_definition>
    
    *Note I have a threshold set at 15 in this set as that's how many licenses one of our customers has.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: CCDave



    [edited by: Brendan Cosgrove at 12:51 PM (GMT -8) on 12-13-2010] .