?
Solved

Windows SNMP OID for current user on a host

Posted on 2004-10-06
4
Medium Priority
?
10,454 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

719 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