Jeff already pointed out that the username is encoded in the OID itself. (3.97.100.109 = 3 bytes, ascii 97, ascii 100, ascii 109... so "adm"). You're looking at the ...46.1.11 tree though, not 46.1.9 which is where idle times are stashed. 46.1.8 has the session start time, 46.1.7 has IP addresses, and 46.1.6 has port names. Actually, just start at .1.3.6.1.4.1.429.4.2.1.46.1 and you'll find a good deal of stuff there. I rewrote my pmwho emulator (arcwho) to use this new table yesterday and damned if it doesn't run 50% faster AND show idle times now. This is pretty cool. :) Mike Andrews (MA12) * mandrews@dcr.net * http://www.bit0.com/ VP, sysadmin, & network guy, Digital Crescent Inc, Frankfort KY Internet services for Frankfort, Lawrenceburg, Owenton, Shelbyville www.fark.com: If it's not news, it's Fark. (Or something like that.) On Fri, 9 Jun 2000, Jason Englander wrote:
On Thu, 8 Jun 2000, Mike Andrews wrote:
A quick "grep -i idle" on hiperarc.mib shows uumActiveSessionIdleTime, which works out to .1.3.6.1.4.1.429.4.2.1.46.1.9. I haven't tried this yet, but I'm about to... I could use this and I hadn't noticed they'd added it. Thanks :)
Thank YOU :-) The mib says that .1.3.6.1.4.1.429.4.2.1.46.1.9 should be username, right? Does it work for you?
I tried it on 5 ARCs and get this every time:
enterprises.429.4.2.1.46.1.11.3.97.100.109 = "" enterprises.429.4.2.1.46.1.11.3.97.110.110 = "" enterprises.429.4.2.1.46.1.11.4.114.111.111.116 = "" enterprises.429.4.2.1.46.1.11.7.100.101.102.97.117.108.116 = ""
?
Jason
-- Jason Englander <jason@interl.net> Systems Administrator - InterLink L.C.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.
- To unsubscribe to usr-tc, send an email to "majordomo@xmission.com" with "unsubscribe usr-tc" in the body of the message. For information on digests or retrieving files and old messages send "help" to the same address. Do not use quotes in your message.