Skip to content

candy-chat/mod_onlineusers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod_onlineusers

Displays the number of online users via the http interface of ejabberd.

  • To compile, clone it to the ejabberd-modules folder you checked out from svn and call ./build.sh (ignore the warning regarding LocalPath).
  • After that, copy ebin/mod_onlineusers.ebin to your ebin folder of ejabberd.
  • Then, edit ejabberd.cfg and add the following to your modules config: {mod_onlineusers, []}.
  • Also in ejabberd.cfg, add to your http-listen configuration the following: {request_handlers, [{["onlineusers"], mod_onlineusers}]}
  • Restart ejabberd

Usage

Go to (http://example.com:5280/onlineusers) to see your currently online users. (Change example.com to your server & 5280 to your ejabberd http port).

Be aware: I just did it because I didn't find a better way to do it via a standard module from ejabberd. There may be bugs and there may be a better way to achieve it.

About

Displays the number of onlineusers on ejabberd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published