[JDEV] Help: jabber server Admin
temas
temas at box5.net
Thu Aug 30 20:55:14 CDT 2001
Matt Diez wrote:
> There is currently no way to retrieve the number
> of users from an Info/Query. No one has yet
> written the code to do this.
>
> You will have to write it yourself.
>
> Matthew D. Diez
> Systems Engineer
> Vedalabs, Inc.
> matt at vedalabs.com
>
>
> -----Original Message-----
> From: Dillip Kumar Swain [ mailto:babu95 at yahoo.com ]
> Sent: Thursday, August 30, 2001 12:19 AM
> To: jdev at jabber.org
> Cc: dj.adams at pobox.com
> Subject: Re: [JDEV] Help: jabber server Admin
>
>
> Hi
> Thanx for your immidiate response.
> Yes already I have gone thru. record.log.
> but I need a query/info from which I will extract the
> data and show some where else..
> pl. can you send that query again....
>
> Sorry for disturbing.
> Thanx & regards
> Dillip
>
>
> Message: 9
> Date: Wed, 29 Aug 2001 17:41:06 +0100
> From: DJ Adams <dj.adams at pobox.com>
> To: jdev at jabber.org
> Subject: Re: [JDEV] Help: jabber server Admin
> Reply-To: jdev at jabber.org
>
> On Wed, Aug 29, 2001 at 10:51:26AM -0500, Dustin
> Puryear wrote:
> > > I want to know ..is there any tools from which I
> can
> > > extract below :
> > > 1> no. of users connected to jabber server
> > > 2> Time & Date of Login etc.....
> >
> > How did I get pulled into this? :) Anyway, when
> running jabberd in
> debug
> > mode I know it will show you the number of connected
> users. Also, you
> > could write a script to watch the jabberd log files
> since they are
> > pretty darn detailed for this stuff.
>
> the record.log file shows this sort of stuff too, e.g.
>
>
> 20010829T14:53:25 dj at gnu.mine.nu login ok
> 217.228.41.186 winjab
> ...
> and I think I already posted something on getting the
> online
> users with an info/query request (as admin).
>
> dj
> (breaking his rule of blurting in before he's caught
> up with the
> list)
>
>
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
Sure there is... it's in mod_admin =) jabber:iq:admin.
<iq type='get'>
<query xmlns='jabber:iq:admin'>
<who/>
</query>
</iq>
If I remember correctly. You have to count the results, but the info
is there.
--temas
More information about the JDev
mailing list