Solved

Windows SNMP OID for current user on a host

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now