My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Monitor  
Transport monitoring
Updated Feb 4, 2010 by r000ns...@gmail.com

You have perfect jabber server and transports installed, all stuff works, but you have not enough information about current status of a platform?

This page can make your life a bit better.

How to monitor entire system? Better solution is to choose special product for monitoring. For example, Munin. It's a monitoring application, accessible via web interface with modular architecture.

If your server is ejabberd, you can get plugin for it. You already can monitor server.

Transport monitoring. I don't found plugins for this, but in most cases it's not a problem. You run transport under separate user, right? Then we can just view statistics for it!

Since 0.8.1b3 PyICQt contains Munin plugins for monitoring of memory consumption and threads counting "out-of-box". You can get them from /tools directory.

How to use:

  • Install Munin :)
  • Put memory and threads scripts to /usr/share/munin/plugins directory (check your path)
  • Make them executable
  • Create symlinks in /etc/munin/plugins (if you run PyICQt under pyicqt user, names should be a memory_pyicqt and threads_pyicqt)
  • Add to /etc/munin/plugin-conf.d/munin-node file lines:

[memory_*]
user root

[threads_*]
user root

That's all. Now you should restart munin-node and look result at http://localhost/munin/ (in basic case):

Comment by ffault@gmail.com, Feb 5, 2009

Unfortunately, these plugins only work in linux, there is no file system /proc. in BSD. I had to rewrite them myself. I would like to get the rest of statistics: the number of connected users, the number of messages, etc

Powered by Google Project Hosting