Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 10465
  • Last Modified:

Windows SNMP OID for current user on a host

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
4way
Asked:
4way
  • 2
1 Solution
 
The--CaptainCommented:
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
 
4wayAuthor Commented:
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
 
The--CaptainCommented:
>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

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now