Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) SNMP



  If you're running a *nix, grap cmu-snmp from
sunsite.unc.edu/pub/Linux/system/

Use snmpwalk to grab the user information, the variable to use would be
.1.3.6.1.4.1.529.12.3.1.4, then grep -v \\\"\\\", this will give a list of
all the users currently connected, plus their session id.  which can be
used to disconnect them via:
snmpset host write .1.3.6.1.4.1.529.12.3.1.3.sessid i 1
   Of course, this isn't the most efficient way to do it, the best way to
do it w/ perl would be to get the SNMP mod from ftp.cpan.org.  I haven't
quite gotten it to work completely right yet though :)

On Mon, 3 Aug 1998, Gerhard Poul wrote:

> Hi,
> 
> Do you now of an easy method (perl or c/c++) to get some information from
> the max via snmp??? (Like which users are online or so...??)
> 
> I'm thinking about a Web cgi or something like that...
> 
> cu
>  gerhard
> 

++ 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: