Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Who's Logged In - with PHP

Status
Not open for further replies.

MSRez

Programmer
Dec 22, 2004
57
0
0
EU
My client would like a script that allows him to monitor users that are logged in to various SNMP-enabled systems but I can't find any way of actually getting the user -- is this possible?
 
Hi,

I don't know what systems you are talking about, but you might like to get a command line tool such as net-snmp ( and do an 'snmpwalk' for the whole device.

It will list all possible snmp MIB variables for the device and you may be able to see if any user info is provided.

You need to be more specific about the SNMP agent that you are interested in if you need more help (e.g. Windows snmp agent ?)

HTH

Nigel Bowden
 
Hi Nigel,

Thanks very much for getting back to me. Sorry, I should have explained - it is for the Windows environment running SNMP version 1 I believe.

I have tried using the snmpwalk command and it comes up with a lot of information including even what processes are running and what software is installed on the system but not the current user logged in. I would have thought, though, there must be some kind of add-on that can be installed so users can be monitored as it must be a popular feature amongst administrators.

Many thanks,

Miles
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top