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: <A HREF="http://www.ufba.br/~ivocarv">http://www.ufba.br/~ivocarv</A> "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: <<A HREF="http://www.nealis.net/ascend/faq">http://www.nealis.net/ascend/faq</A>>
>
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <<A HREF="http://www.nealis.net/ascend/faq">http://www.nealis.net/ascend/faq</A>>
</PRE>
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<!--X-Follow-Ups-End-->
<!--X-References-->
<HR>
<STRONG>References</STRONG>:
<UL>
<LI><STRONG><A HREF="msg10773.html">(ASCEND) max 4000/radius question</A></STRONG></LI>
<UL>
<LI><EM>From</EM>: Ivo de Carvalho Peixinho <ivocarv@ufba.br></LI>
</UL>
</UL>
<!--X-References-End-->
<!--X-BotPNI-->
<HR>
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg10786.html">(ASCEND) Phone solicitations</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg10785.html">RE: (ASCEND) which service is not usable with NAT ?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg10773.html">(ASCEND) max 4000/radius question</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg10775.html">(ASCEND) dialout from Radius Profile?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="maillist.html#10784"><STRONG>Main</STRONG></A></LI>
<LI><A HREF="thrd243.html#10784"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</BODY>
</HTML>