Zabbix Template for Prosody using "internal" statistics / mod_munin / mod_measure_*
Works with the very good docker image https://github.com/unclev/prosody-docker-extended
Listed here: https://share.zabbix.com/cat-app/misc/prosody-xmpp-server
- Configure Prosody Server (editing prosody.cfg.lua)
- Enable modules measure_client_presence, measure_stanza_counts and munin
modules_enabled = {
[...]
"measure_client_presence";
"measure_stanza_counts";
"munin";
}
- Enable statistics
-- Uncomment to enable statistics
-- For more info see https://prosody.im/doc/statistics
statistics = "internal"
- If you are using prosody-docker-extended, you need to update docker-compose.yml, adding the following line in the "ports:" section:
- "127.0.0.1:4949:4949"
And apply changes by using docker-compose down; docker-compose up -d
-
If you are not using prosody-docker-extended, reload prosody configuration by
prosodyctl reload
-
Put prosody_munin.conf in your zabbix_agentd.conf.d directory of your Prosody Host (/etc/zabbix/zabbix_agentd.conf.d/ on Linux by default) and reload zabbix agent on it
-
Import zabbix_prosody_template.xml and link the template in Zabbix to your Prosody host