[ejabberd] mod_statsdx

Bryan Barnes Bryan.Barnes at verety.com
Fri May 12 21:49:01 MSD 2006

It starts correctly, but this is the error I get after a user logs in:

=INFO REPORT==== 2006-05-12 12:40:09 ===
I(<0.309.0>:ejabberd_c2s:601): ({tlssock,#Port<0.284>,#Port<0.354>})
Accepted authentication for bbarnes

=INFO REPORT==== 2006-05-12 12:40:09 ===
I(<0.309.0>:ejabberd_c2s:696): ({tlssock,#Port<0.284>,#Port<0.354>})
Opened session for bbarnes at testim.verety.com/Gaim

=ERROR REPORT==== 2006-05-12 12:40:09 ===
E(<0.309.0>:ejabberd_hooks:172): {function_clause,
running hook: {user_send_packet,[{jid,"bbarnes",

=ERROR REPORT==== 2006-05-12 12:42:34 ===
{mod_statsdx, get_authusers,...

If I run the commands in your reply I get the following without a user
logged in:
Erlang (BEAM) emulator version 5.4.13 [source] [hipe] [kernel-poll]

Eshell V5.4.13  (abort with ^G)
(ejabberd at farjabber01)1> mod_statsdx:get(node(), ["totalerlproc"]).
(ejabberd at farjabber01)2> mod_statsdx:get(node(), ["authusers"]).

If I then log in via Gaim:

(ejabberd at farjabber01)3> mod_statsdx:get(node(), ["totalerlproc"]).
(ejabberd at farjabber01)4> mod_statsdx:get(node(), ["authusers"]).

I get the same error in the logs however.  I am also running
mod_stats2file, and that is the part that is not working.  Perhaps I
have misidentified the problem, and it is not mod_statsdx that I have
the problem with but mod_stats2file?


-----Original Message-----
From: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] On
Behalf Of Badlop
Sent: Friday, May 12, 2006 11:58 AM
To: ejabberd at jabber.ru
Subject: Re: [ejabberd] mod_statsdx

2006/5/12, Bryan Barnes <Bryan.Barnes at verety.com>:
> Does anybody know if mod_statsdx is compatible with ejabberd 1.1.1?
> compiles and runs successfully but crashes as soon as a user logs in,
> which his less than useful.

I've tried it right now and seems to work:

(ejabberd2 at atenea)14> mod_statsdx:get(node(), ["totalerlproc"]).
(ejabberd2 at atenea)15>
=INFO REPORT==== 12-May-2006::18:53:59 ===
I(<0.233.0>:ejabberd_listener:90): (#Port<0.360>) Accepted connection
{{XXX},55676} -> {{XXX},5222}

=INFO REPORT==== 12-May-2006::18:53:59 ===
I(<0.398.0>:ejabberd_c2s:382): (#Port<0.360>) Accepted legacy
authentication for badlop at atenea/Tka

(ejabberd2 at atenea)15>
(ejabberd2 at atenea)15>
(ejabberd2 at atenea)15> mod_statsdx:get(node(), ["totalerlproc"]).
(ejabberd2 at atenea)16> mod_statsdx:get(node(), ["authusers"]).
(ejabberd2 at atenea)17>

Does any error appear on your logs?

ejabberd mailing list
ejabberd at jabber.ru

More information about the ejabberd mailing list