Solved

Windows SNMP OID for current user on a host

Posted on 2004-10-06
4
10,378 Views
Last Modified: 2012-05-05
First of all, in advance, I want to thank all of you for your help.

I am in the process of building an application which logs a list of current users logged to windows workstations in school windows network.

I want to use SNMP form a Linux server to get me the current user logged to the workstation. Please let me know if there is a know windows SNMP OID that gives the current user logged in to a windows host or give me any advice as to how I can go about this.

Thank you.

4way.
0
Comment
Question by:4way
  • 2
4 Comments
 
LVL 16

Expert Comment

by:The--Captain
ID: 12252890
I installed the SNMP agent on my win XP Pro box, and then hit it with with linux's snmpwalk (which should iterate through the tree, and even iterate nodes that are not present in any MIB, since snmpwalk simply issues the equivalent of "Get next SNMP record" after each response from the agent).  The bad news is that although I could see all running processes, all installed software (and the date/time they were installed) and a host of other info, I did not see any info associated with logins (a "grep -i jon" on the output yielded nothing).  

Maybe I have to install more stuff on the windoze side...

Cheers,
-Jon
0
 

Author Comment

by:4way
ID: 12263494
Thank you jon for you comment

If there is no standard MIB object for current users logged in to the windows domain controller. Can I write a mib entry for this purpose, so that I can make the agent the windows agent send trap or provide it to the Linux server through snmpwalk or get command?

This is a project and I don’t have any idea of writing a mib in windows or Linux system.

May be we can start form wringing a mib for windows workstation to provide the current user logged in to it.  Any idea please let me know.

Thank you very mach for your help
0
 
LVL 16

Accepted Solution

by:
The--Captain earned 250 total points
ID: 12265471
>Can I write a mib entry for this purpose, so that I can make the agent the windows agent send trap or provide it to the Linux
>server through snmpwalk or get command

I'm really a linux guy - I could make the linux net-snmp package report anything you want (using the exec function), but I really have no experience with the windows SNMP agent.  Sorry to get your hopes up...

Your suggestion to add to the MIB for the windows agent is intriguing, but it sounds quite difficult - I'd have no idea where to begin.

Cheers,
-Jon

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how should I extend my cat5 cable by 20 feet? 11 71
Point to point connection slow in one direction only 15 46
winscp 000webhost.com 6 48
Lightweight Networking 9 37
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question