From 35c9961a82896632a75cd5e6afe0ec83f28e04a1 Mon Sep 17 00:00:00 2001 From: Martin Sebald Date: Mon, 11 Sep 2017 17:26:29 +0200 Subject: [PATCH] =?UTF-8?q?komplett=20mit=20Inhalt=20gef=C3=BCllt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prosody/loggrep_prosodyrcerts/README.md | 32 ++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/prosody/loggrep_prosodyrcerts/README.md b/prosody/loggrep_prosodyrcerts/README.md index 7c9a489..39c1ab0 100644 --- a/prosody/loggrep_prosodyrcerts/README.md +++ b/prosody/loggrep_prosodyrcerts/README.md @@ -1,3 +1,33 @@ # Prosody Remote Certificates +Is a plugin for the monitoring software [Munin](http://munin-monitoring.org) to monitor a [Prosody](http://prosody.im) XMPP server. -https://www.hot-chilli.net/munin/hot-chilli.net/tethys.hot-chilli.net/loggrep_prosodyrcerts.html \ No newline at end of file +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](https://www.hot-chilli.net/munin/hot-chilli.net/tethys.hot-chilli.net/loggrep_prosodyrcerts.html) + +## 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/loggrepprosodyrcerts* 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! \ No newline at end of file