KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Monitor Terminal Server connections

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
Steveo



Joined: 09 Apr 2003
Posts: 4

PostPosted: Thu Apr 10, 2003 1:47 pm    Post subject: Reply with quote

Can HM be used to check if someone is logged into a server or Terminal Server connection?

We have PC's running time clock software in remote locations. They connect through Terminal Server over an Internet VPN.
We are monitoring the VPN and pinging the time clock PC. Our problem is that the software on the PC does not always reconnect when the VPN comes back up. We have cases where the VPN is down for 2 min. but they think the Time Clock is down for 2 hours. We see that the VPN and clock are responding an assume that everything is back online.
What we need to be able to monitor is their connection to the Terminal server.

[ This Message was edited by: Steveo on 2003-04-10 15:01 ]
Back to top
View user's profile Send private message
mpriess



Joined: 02 Jul 2002
Posts: 112
Location: Arizona, USA

PostPosted: Thu Apr 10, 2003 4:12 pm    Post subject: Reply with quote

This can be done using the Termianal Services performance counters.
Back to top
View user's profile Send private message
Steveo



Joined: 09 Apr 2003
Posts: 4

PostPosted: Fri Apr 11, 2003 6:21 am    Post subject: Reply with quote

Thank you for the reply. OK Performance Counters are from SNMP? and I need to know the OID? of the information that I want to check??

I won't bother you with questions that will show that I am in over my head. I will get some outside help.

Thank You.
Back to top
View user's profile Send private message
mpriess



Joined: 02 Jul 2002
Posts: 112
Location: Arizona, USA

PostPosted: Fri Apr 11, 2003 7:51 am    Post subject: Reply with quote

Open up performance monitor and look for the Terminal services category. There should be a counter called 'Total Sessions'.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Fri Apr 11, 2003 12:43 pm    Post subject: Reply with quote

>OK Performance Counters are from SNMP

No, HostMonitor has test called "Performance Counter". Its not related to SNMP.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Steveo



Joined: 09 Apr 2003
Posts: 4

PostPosted: Sat Apr 12, 2003 11:21 am    Post subject: Reply with quote

Thanx Alex. My copy was a few reversions old. I now see the performance counters. This might work if the number of connections does not change, unfortunately, we have other sessions that are logging in to this same server. I really need to query a specific user ID to see if they are connected.
I guess a third party program that would output a list of connected users to a text file and then have HM monitor this file through script or external program for the user being checked.
While I am wishing.... I would want the configuration to only notify me if the user does not login within x minutes of when their connection goes live again. I might need to dust off my copy of winbatch.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Mon Apr 14, 2003 2:25 pm    Post subject: Reply with quote

>I really need to query a specific user ID to see if they are connected.

I am not sure about Windows XP but Windows NT 4 and W2K don't have any documented method to check is user logged in or not
Probably Terminal Service provides some API, I will try to find information...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
agressiv



Joined: 06 Oct 2002
Posts: 35

PostPosted: Wed Apr 23, 2003 12:45 pm    Post subject: Reply with quote

There are some command-line utilities to get the current logged in users:

http://www.clusteresis.com/itm00006.htm

I use tsquery, but you'll have to put the output in a flat file and do like a regexp or sed on it to see if the user in question is there. Performance counters only relay connection count, not actual users.

There might be a few other ways you can script it, but nothing with a really easy solution. You are better off enabling auditing with the security event log and then doing an event log monitor for that user.

Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index