Munin plugins and configurations/settings we use on our servers. https://www.hot-chilli.net/munin/
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 7a674ceafb 'prosody/loggrep_prosodyrcerts/README.md' ändern 7 years ago
..
README.md 'prosody/loggrep_prosodyrcerts/README.md' ändern 7 years ago

README.md

Prosody Remote Certificates

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 jabber.hot-chilli.net

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/munin-node/loggrep_prosodyrcerts and put the following into it:

[loggrep_prosodyrcerts]
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

Now you need to restart munin-node:

/etc/init.d/munin-node restart

That's it. Enjoy!