Munin plugins and configurations/settings we use on our servers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Sebald b93af81235 kleinere Änderungen 7 years ago
.. kleinere Änderungen 7 years ago

Prosody Remote Certificates

This is a plugin for the monitoring software Munin to monitor a Prosody XMPP server.

The plugins monitors the status of the certificates a remote server uses to connect to the local server.

Here's an example how how this plugin works: Prosody Remote Certificates statistics for

Installation and configuration

It is very simple to install this plugin.

Create symlink:

ln -s /usr/share/munin/plugins/loggrep /etc/munin/plugins/loggrep_prosodyrcerts

Create a file /etc/munin/plugin-conf.d/loggrep_prosodyrcerts (we don't want change the standard file /etc/munin/plugin-conf.d/munin-node as future updates might want to undo the changes) and put the following into it:

user root
env.regex_trustedvalid has a trusted valid certificate with
env.label_trustedvalid trusted valid
env.regex_trustedinvalid has a trusted invalid certificate with
env.label_trustedinvalid trusted invalid
env.regex_untrustedinvalid has a untrusted invalid certificate with
env.label_untrustedinvalid untrusted invalid
env.logfile /var/log/prosody/prosody.log
env.title Prosody remote certificates

Edit /etc/munin/munin.conf - in our case we have a Munin host named, please add it under the specifications for your own host:

    loggrep_prosodyrcerts.graph_category prosody
    loggrep_prosodyrcerts.graph_period minute

Now you need to restart munin-node:

/etc/init.d/munin-node restart

That's it. Enjoy!