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

Re: (ASCEND) max 4000/radius question





Prezado "Fish", 


You can get a list of users with snmpwalk:

snmpwalk <max-dns-name-or-ip> ascend.sessionStatusGroup.sessionActiveTable.sessionActiveEntry.ssnActiveUserName | awk '{ print $7 }' 

To get the IP address, use:

snmpwalk <max-dns-name-or-ip> ascend.sessionStatusGroup.sessionActiveTable.sessionActiveEntry.ssnActiveUserIPAddress | awk '{ print $7 }' 


I use snmpwalk that came with HP Openview, but I think you can get
some free snmp package that has it.



Regards,

-- 
+----------------------------------------------------------------------+
 Andre Novaes Cunha 		   || Andre.Cunha@br.global-one.net 
 Systems Engineer                  || Voice:  +55 11 3040-5319          
 Global One Communications         || Fax:    +55 11 3040-5334          
+----------------------------------------------------------------------+



> X-Authentication-Warning: max.bungi.com: majordom set sender to owner-ascend-users using -f
> Date: Sat, 15 Nov 1997 01:56:44 -0300 (GRNLNDST)
> From: Ivo de Carvalho Peixinho <ivocarv@ufba.br>
> Sender: owner-ascend-users@max.bungi.com
> Precedence: bulk
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Content-Length: 778
> 
> 
>  Hi!
> 
>   I have a MAX4000 as a Dialup Server and a Linux machine that handles the
> radius daemon. I need to , inside the Linux machine, get a list of the
> currently online users and their respective IP Address. Anyone knows how i
> do that?some patch to radius? some scipt? 
> 
> -------------------Universidade Federal da Bahia------------------------
>  Ivo de Carvalho "Fish" Peixinho           NetWork Administrator (GOD?)
>  Centro de Processamento de Dados          Divisao de suporte (DISUP)
>  HP: http://www.ufba.br/~ivocarv           "Linux is multitasking...
>  PGP on: finger ivocarv@canudos.ufba.br     Windows is multicrashing..."
> 
> ++ Ascend Users Mailing List ++
> To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
> To get FAQ'd:	<http://www.nealis.net/ascend/faq>
> 
++ 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: