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.
<font size=-1>[ This Message was edited by: Steveo on 2003-04-10 15:01 ]</font>
Monitor Terminal Server connections
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.
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.
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
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