Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: (ASCEND) ip address to username via snmp script needed
Hi,
you could use something like this:
snmptable MAX-IP SNMP-COMMUNITY .1.3.6.1.4.1.529.12.3 | awk
'{if ($5=="USER-IP") {print $4} }'
It's not the most efficient solution because it always retrieves the
hole sessionActiveTable, but ... hey it works ;-)
Marc
PS: You could also use finger instead of snmp(table) if you want to enable
it.
On 20-Oct-98 Mickey Coggins wrote:
> Hi,
>
> Has anyone already hacked together a simple script that,
> given an IP address, it will use SNMP to find the username
> on a TNT (or max) for that ip address? I know I can get
> this information via accounting, but that is not an option
> at this time for other reasons.
>
> Thanks,
> Mickey
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <http://www.nealis.net/ascend/faq>
References: