From 6d612a48efaf05ff4bcba5a0f872900ebdc26131 Mon Sep 17 00:00:00 2001 From: Martin Sebald Date: Mon, 11 Sep 2017 22:29:55 +0200 Subject: [PATCH] =?UTF-8?q?diverse=20=C3=84nderungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prosody/loggrep_prosodyclients/README.md | 11 ++++++- prosody/loggrep_prosodyrcerts/README.md | 11 ++++++- prosody/loggrep_prosodys2sfails/README.md | 40 +++++++++++++++++++++++ 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 prosody/loggrep_prosodys2sfails/README.md diff --git a/prosody/loggrep_prosodyclients/README.md b/prosody/loggrep_prosodyclients/README.md index 2aa50fc..3c68b49 100644 --- a/prosody/loggrep_prosodyclients/README.md +++ b/prosody/loggrep_prosodyclients/README.md @@ -12,7 +12,7 @@ Create symlink: `ln -s /usr/share/munin/plugins/loggrep /etc/munin/plugins/loggrep_prosodyclients` -Create a file */etc/munin/plugin-conf.d/loggrep_prosodyclients* and put the following into it: +Create a file */etc/munin/plugin-conf.d/loggrep_prosodyclients* (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: ``` [loggrep_prosodyclients] user root @@ -46,6 +46,15 @@ env.logfile /var/log/prosody/prosody.log env.title Prosody Client Connects-Disconnects ``` +Edit */etc/munin/munin.conf* - in our case we have a Munin host named *tethys.hot-chilli.net*, please add it under the specifications for your own host: +``` +[tethys.hot-chilli.net] + address 127.0.0.1 + ... + loggrep_prosodyclients.graph_category prosody + loggrep_prosodyclients.graph_period minute +``` + Now you need to restart munin-node: `/etc/init.d/munin-node restart` diff --git a/prosody/loggrep_prosodyrcerts/README.md b/prosody/loggrep_prosodyrcerts/README.md index caf7f4f..a44aaab 100644 --- a/prosody/loggrep_prosodyrcerts/README.md +++ b/prosody/loggrep_prosodyrcerts/README.md @@ -12,7 +12,7 @@ Create symlink: `ln -s /usr/share/munin/plugins/loggrep /etc/munin/plugins/loggrep_prosodyrcerts` -Create a file */etc/munin/plugin-conf.d/loggrep_prosodyrcerts* and put the following into it: +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: ``` [loggrep_prosodyrcerts] user root @@ -26,6 +26,15 @@ 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 *tethys.hot-chilli.net*, please add it under the specifications for your own host: +``` +[tethys.hot-chilli.net] + address 127.0.0.1 + ... + loggrep_prosodyrcerts.graph_category prosody + loggrep_prosodyrcerts.graph_period minute +``` + Now you need to restart munin-node: `/etc/init.d/munin-node restart` diff --git a/prosody/loggrep_prosodys2sfails/README.md b/prosody/loggrep_prosodys2sfails/README.md new file mode 100644 index 0000000..bda54c2 --- /dev/null +++ b/prosody/loggrep_prosodys2sfails/README.md @@ -0,0 +1,40 @@ +# Prosody failed encryted S2S communication +Is a plugin for the monitoring software [Munin](http://munin-monitoring.org) to monitor a [Prosody](http://prosody.im) XMPP server. + +The plugins monitors failed encryted server to server (S2S) communication between a remote server and the local server. + +Here's an example how how this plugin works: [Prosody failed encrypted S2S communication statistics for jabber.hot-chilli.net](https://www.hot-chilli.net/munin/hot-chilli.net/tethys.hot-chilli.net/loggrep_prosodys2sfails.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_prosodys2sfails` + +Create a file */etc/munin/plugin-conf.d/loggrep_prosodys2sfails* (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: +``` +[loggrep_prosodys2sfails] +user root +env.regex_outencfailed outgoing s2s stream .* closed: Encrypted server-to-server communication is required but was not offered +env.label_outencfailed outgoing S2S encryption failed +env.regex_inencfailed incoming s2s stream .* closed: Encrypted server-to-server communication is required but was not used +env.label_inencfailed incoming S2S encryption failed +env.logfile /var/log/prosody/prosody.log +env.title Prosody failed encrypted S2S communication +``` + +Edit */etc/munin/munin.conf* - in our case we have a Munin host named *tethys.hot-chilli.net*, please add it under the specifications for your own host: +``` +[tethys.hot-chilli.net] + address 127.0.0.1 + ... + loggrep_prosodys2sfails.graph_category prosody + loggrep_prosodys2sfails.graph_period minute +``` + +Now you need to restart munin-node: + +`/etc/init.d/munin-node restart` + +That's it. Enjoy! \ No newline at end of file