How to monitor number of active Terminal Server sessions?

Votes:

0

Your Vote:

Up

Down

How can I monitor the number of active Terminal Server sessions on a Windows Terminal Server?

custom-exe custom-sensor terminal-server windows wql

Created on Feb 8, 2010 7:22:49 PM by  Dirk Paessler [Paessler Support] (9,613) 3 3

Last change on Feb 12, 2010 9:04:09 AM by  Daniel Zobel [Paessler Support] (21,383) 3 3



2 Replies

Accepted Answer

Votes:

1

Your Vote:

Up

Down

Hi, I wrote s small exe that can be used as a user defined program sensor. It needs a installed Microsoft Net 3.5 environment. Programm and source can be found here: http://www.obeco.de/termseraszip.exe

Created on Feb 9, 2010 11:37:06 AM by  Joachim Berger (60) 1



Votes:

1

Your Vote:

Up

Down

you could use a custom WMI sensor using these WQL querys

depending on the OS...

2003

Total Sessions

SELECT TotalSessions FROM Win32_PerfFormattedData_TermService_TerminalServices

Active Sessions

SELECT ActiveSessions FROM Win32_PerfFormattedData_TermService_TerminalServices

2008

Total Sessions

SELECT TotalSessions FROM Win32_TerminalService

Active Sessions

SELECT ActiveSessions FROM Win32_PerfFormattedData_LocalSessionManager_TerminalServices

Created on Feb 10, 2010 2:28:09 PM by  Aurelio Lombardi [Paessler Support] (7,239) 3 1



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.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

150.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Visit
www.paessler.com

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

Top Tags


View all Tags