[jadmin] How to pull statistics?

Arnaud Abélard arnaud.abelard at univ-nantes.fr
Sat Dec 16 05:34:39 CST 2006


Script Head wrote:
> I am about to put a Jabberd2 server into production and I was looking 
> for a quick way to gather some basic statistics to monitor its 
> performance. For starters I'd like to get the number of active sessions. 
> How would I do this?

Using your favorite client's xml console you can send this packet (as 
long as you are listed as admin in your jabberd2 configuration):

<iq type='get' id='id1' to='yourdomain.com'>
<query xmlns='http://jabber.org/protocol/disco#items' node='sessions'>
</query>
</iq>

the server will respond with a list of currently connected users.

If you know php or/and perl well enough you can easily generate stuff 
like this:

http://services-jabber.univ-nantes.fr/presence/liste.html
or
http://services-jabber.univ-nantes.fr/univ-tchat/

Arnaud

> 
> ScriptHead
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________


-- 
Arnaud Abélard (jabber: arnaud.abelard at univ-nantes.fr)
Administrateur Système
Centre de Ressources Informatiques
Université de Nantes
-
ne pas utiliser: trapemail at univ-nantes.fr



More information about the JAdmin mailing list