[mrtg] Re: Monitoring loged on user on Win2K

Davey.Rance at sungard.com Davey.Rance at sungard.com
Thu Dec 5 18:13:17 MET 2002


IF you wish to have the number of people connecting via Terminal server
the WMI query for this is.

select ActiveSessions, TotalSessions from
Win32_perfRawData_TermService_TerminalServices

And that will give you the total number of active sessions and total
which means that you can figure out the number of inactive or use

select ActiveSessions, InactiveSessions from
Win32_perfRawData_TermService_TerminalServices

To get the total the other way :)

If you need a hand for this let me know.

Thanks

Davey

-----Original Message-----
From: Patrick Ouellet [mailto:pouellet at microtecsecurite.com] 
Sent: Thursday, December 05, 2002 15:04
To: MRTG Mailing List
Subject: [mrtg] Monitoring loged on user on Win2K




I found a OID that tell you the number of
user on the system. Unfortunately there is no
real description of the OID which is

1.3.6.1.2.1.25.1.5.0	hrSystemNumUsers.0

Unfortunately the value of this OID is completely
heratic !!!

I have a average of 70 to 80 user a day connected
to our terminal server concurently.

But sometimes the SNMP value is 180 when in fact it
should be 80 or its 100 when it should again be 80.

Did I missed something here or is it useless to try
to monitor Windows 2000 server?


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Ouellet - pouellet at microtecsecurite.com
<mailto:pouellet at microtecsecurite.com>
Administrateur des serveurs reseaux
Informatique - Poste 130
Microtec Technologies inc.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"First they ignore you. Then they laugh at you.
Then they fight you. Then you win."
-Mahatma Gandhi =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list