Solved

Windows SNMP OID for current user on a host

Posted on 2004-10-06
4
10,395 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

856 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