[JDEV] How to get current number of users?

2003-01-22 Thread Sylvain Roberdeau
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

Re: [JDEV] How to get current number of users?

2003-01-22 Thread David 'TheRaven' Chisnall
Browsing servername/admin gives you a list of online users, which you can just enumerate. If you're concerned about the bandwidth implications of this, you could write a very simple component which would live locally and get the list, and send on the number. Sylvain Roberdeau wrote: HI,

Re: [JDEV] How to get current number of users?

2003-01-22 Thread Sylvain Roberdeau
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

[JDEV] server error

2003-01-22 Thread Adrian Brown
Could someone explain what went wrong here, I got this message from my server: 19700101T11:52:57: [notice] (adrian-browns-computer.local): bouncing a routed packet to [EMAIL PROTECTED]/work from 13@c2s/19FB40: Internal Delivery Error And my client was disconnected: REC:

Re: [JDEV] How to get current number of users?

2003-01-22 Thread Ralph Meijer
On Wed, Jan 22, 2003 at 02:07:09PM +0100, Sylvain Roberdeau wrote: But by this way it's impossible to distinguish component - jabberd connection to client- jabberd connection. Components do not connect to port 5222, thought bots might. Everything that connects via port 5222 is considered a

Re: [JDEV] How to get current number of users?

2003-01-22 Thread lukasm
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

Re: [JDEV] How to get current number of users?

2003-01-22 Thread Yanming Xiao
Write a new JSM component containing a function similiar to that of js_users_gc (user.c) , which is a heart-beat callback function installed in jsm.c: void jsm(instance i, xmlnode x) { ... register_beat(j_atoi(xmlnode_get_tag_data(si-config,usergc),60),js_users_ gc,(void *)si); } -Yanming

Re: [JDEV] How to get current number of users?

2003-01-22 Thread Justin Georgeson
I've never had any confidence in this feature. It frequently reports sessions for users I know are not online. David 'TheRaven' Chisnall wrote: Browsing servername/admin gives you a list of online users, which you can just enumerate. If you're concerned about the bandwidth implications of

Re: [JDEV] server error

2003-01-22 Thread Matthias Wimmer
Hi Adrian! Adrian Brown wrote: Could someone explain what went wrong here, I got this message from my server: 19700101T11:52:57: [notice] (adrian-browns-computer.local): bouncing a routed packet to [EMAIL PROTECTED]/work from 13@c2s/19FB40: Internal Delivery Error Your system has a very

Re: [JDEV] How to get current number of users?

2003-01-22 Thread Peter Millard
Sylvain Roberdeau wrote: 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. All of the other solutions are overkill IMO... on jabber.org, we use

Re: [JDEV] server error

2003-01-22 Thread Peter Saint-Andre
Considering that you sent this message on 1 Jan 1970, perhaps the Jabber server didn't exist back then? ;) Peter -- Peter Saint-Andre Jabber Software Foundation http://www.jabber.org/people/stpeter.php On Thu, 1 Jan 1970, Adrian Brown wrote: Could someone explain what went wrong here, I got

Re: [JDEV] server error

2003-01-22 Thread Adrian Brown
I set-up the Jabber.xml with the computer's IP, and got this error when I did computer to computer networking, when I set it up with an IP that has been broadcast DHCP its fine, this clock thing is a pain, damn APPLE bug! Is it because of this time thing that I'm seeing this failure? thanks

Re: [JDEV] server error

2003-01-22 Thread Matthias Wimmer
Hi Adrin! You have to set up the jabber.xml file with the domain name that you are using to address your messages and to which you will log in. In your case you have to use adrian-browns-computer.local. - Or if you want to keep the IP address you have to log in to this IP address instead of

[JDEV] FOSDEM 2003

2003-01-22 Thread Ralph Meijer
Hi, This years FOSDEM (Free and Open source Software Developers' European Meeting, http://fosdem.org) will be held 8 and 9 february 2003 in Brussels, Europe. Although it is too late to organise a Jabber track or something, it would be nice to know who will be attending this event, so we might

Re: [JDEV] FOSDEM 2003

2003-01-22 Thread Mikael Hallendal
tor 2003-01-23 klockan 01.05 skrev Ralph Meijer: Hi, Hi! As said on Jabber me and Richard Hult will be going to FOSDEM and will be arriving on the morning Friday 7th. Regards, Mikael Hallendal This years FOSDEM (Free and Open source Software Developers' European Meeting,

[JDEV] attempt at documenting route/

2003-01-22 Thread Justin Kirby
I have attempted to document what route/ is (for component devs). You can find my initial attempt at [1]. Any and all feedback is welcome before (and after) it goes into official jabber doc form. Anything from, you mispelled forsight you fool to who the hell cares about this would be great