List Info

Thread: How to pull statistics?




How to pull statistics?
user name
2006-12-15 18:17:46
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?

ScriptHead
How to pull statistics?
user name
2006-12-15 20:39:18
just put a quick sh together..  

netstat -a|grep 5222| wc -l 

 will give you connections on 5222, change it to 5223 for
SSL.  create
the script and away you go.

On Fri, 2006-12-15 at 13:17 -0500, 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? 
> 
> ScriptHead
> 
>
____________________________________________________________
_________________
> Scanned by Sanmina-SCI eShield
>
____________________________________________________________
_________________
> _______________________________________________
> JAdmin mailing list
> JAdminjabber.org
> http:/
/mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
> _______________________________________________
-- 
Jeff Garner
ECMS - Identity Management  
Sanmina-SCI Corporation
469.675.2441
972.768.5913
jeff.garnersanmina-sci.com

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended
only for use by the addressee(s) named herein and may
contain legally privileged and/or confidential information.
If you are not the intended recipient of this e-mail
message, you are hereby notified that any dissemination,
distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited.  If you have
received this e-mail message in error, please immediately
notify the sender and permanently delete the original and
any copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE,
THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. 
Notwithstanding the Uniform Electronic Transactions Act or
the applicability of any other law of similar substance and
effect, absent an express statement to the contrary
hereinabove, this e-mail message its contents, and any
attachments hereto are not intended to represent an offer or
acceptance to enter into a contract and are not otherwise
intended to bind the sender, Sanmina-SCI Corporation (or any
of its subsidiaries), or any other person or entity.
____________________________________________________________
_________________
Scanned by Sanmina-SCI eShield 
____________________________________________________________
_________________
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
How to pull statistics?
user name
2006-12-15 20:41:29
Sorry that is for Linux, if your running a WIN box, sorry
about that..
IF this is for a Linux box, you could also add an uptime
command to give
you sys uptime and load.  I am sure someone out there has
better
scripts, but heck this will do the basics.

On Fri, 2006-12-15 at 13:17 -0500, 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? 
> 
> ScriptHead
> 
>
____________________________________________________________
_________________
> Scanned by Sanmina-SCI eShield
>
____________________________________________________________
_________________
> _______________________________________________
> JAdmin mailing list
> JAdminjabber.org
> http:/
/mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
> _______________________________________________
-- 
Jeff Garner
ECMS - Identity Management  
Sanmina-SCI Corporation
469.675.2441
972.768.5913
jeff.garnersanmina-sci.com

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended
only for use by the addressee(s) named herein and may
contain legally privileged and/or confidential information.
If you are not the intended recipient of this e-mail
message, you are hereby notified that any dissemination,
distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited.  If you have
received this e-mail message in error, please immediately
notify the sender and permanently delete the original and
any copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE,
THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. 
Notwithstanding the Uniform Electronic Transactions Act or
the applicability of any other law of similar substance and
effect, absent an express statement to the contrary
hereinabove, this e-mail message its contents, and any
attachments hereto are not intended to represent an offer or
acceptance to enter into a contract and are not otherwise
intended to bind the sender, Sanmina-SCI Corporation (or any
of its subsidiaries), or any other person or entity.
____________________________________________________________
_________________
Scanned by Sanmina-SCI eShield 
____________________________________________________________
_________________
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
How to pull statistics?
user name
2006-12-16 08:14:52
On 12/15/06, Script Head <scriptheadgmail.com> 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?

You didn't say what you would use to monitor the numbers,
but
something like MRTG or Cacti or Munin would be great if you
don't have
anything exisiting in mind.

-- 
- Norman Rasmussen
 - Email: normanrasmussen.co.za
 - Home page: http://norman.rasmusse
n.co.za/
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
How to pull statistics?
user name
2006-12-16 11:34:39
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.ht
ml
or
htt
p://services-jabber.univ-nantes.fr/univ-tchat/

Arnaud

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


-- 
Arnaud Abélard (jabber: arnaud.abelarduniv-nantes.fr)
Administrateur Système
Centre de Ressources Informatiques
Université de Nantes
-
ne pas utiliser: trapemailuniv-nantes.fr
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )