But by this way it's impossible to distinguish component -> jabberd connection to client-> jabberd connection. And if you use a "Jadc2s" for polling, only one connection is visible for all clients.
I'm looking for a way to obtain info from the Jabberd himself. Sylvain Ralph Meijer a �crit : > On Wed, Jan 22, 2003 at 01:27:29PM +0100, Sylvain Roberdeau wrote: > > HI, > > > > I'm looking for a way to get current number of connected users for a > > stat service and RRD Tools. > > First, I thought that an admin command or an jabberd module exist. > > > > Before create a specific module, I would like to know if there is an > > existing way to do that. > > > > Thanks for the anwser > > > > Sylvain > > > > The easiest way to measure this outside jabber is to count the number of > incoming connections to port 5222. You can do this by parsing the output of > netstat -a, but if you are familiar with snmp, use cricket and have an snmpd > running, the information is available there, too. > > You can try querying: > > tcp.tcpConnTable.tcpConnEntry.tcpConnState.x.x.x.x.5222.y.y.y.y.p > > where x.x.x.x is your external IP address, y.y.y.y is the other party and p is > the port their local port. If y.y.y.y is 0.0.0.0 and p is 0 you found the > listen entry (value is 2), established connections have a value of 5. > > -- > Groetjes, > > Ralphm > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev
begin:vcard n:Roberdeau;Sylvain tel;fax:(33) 1 47 66 55 54 tel;work:(33) 1 47 66 55 50 x-mozilla-html:FALSE url:http://www.terravirtual.net org:<img SRC="http://www.terravirtual.net/Logo/ani.gif" height=60 width=80><br><img SRC="http://www.terravirtual.net/logo/logo.gif" BORDER=0 height=19 width=100> adr:;;73, rue de Saussure;PARIS;;75017;France version:2.1 email;internet:[EMAIL PROTECTED] title:Directeur G�n�ral fn:Sylvain Roberdeau end:vcard
