Browse Source

diverse Änderungen

master
Martin Sebald 7 years ago
parent
commit
6d612a48ef
  1. 11
      prosody/loggrep_prosodyclients/README.md
  2. 11
      prosody/loggrep_prosodyrcerts/README.md
  3. 40
      prosody/loggrep_prosodys2sfails/README.md

11
prosody/loggrep_prosodyclients/README.md

@ -12,7 +12,7 @@ Create symlink:
`ln -s /usr/share/munin/plugins/loggrep /etc/munin/plugins/loggrep_prosodyclients` `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] [loggrep_prosodyclients]
user root user root
@ -46,6 +46,15 @@ env.logfile /var/log/prosody/prosody.log
env.title Prosody Client Connects-Disconnects 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: Now you need to restart munin-node:
`/etc/init.d/munin-node restart` `/etc/init.d/munin-node restart`

11
prosody/loggrep_prosodyrcerts/README.md

@ -12,7 +12,7 @@ Create symlink:
`ln -s /usr/share/munin/plugins/loggrep /etc/munin/plugins/loggrep_prosodyrcerts` `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] [loggrep_prosodyrcerts]
user root user root
@ -26,6 +26,15 @@ env.logfile /var/log/prosody/prosody.log
env.title Prosody remote certificates 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: Now you need to restart munin-node:
`/etc/init.d/munin-node restart` `/etc/init.d/munin-node restart`

40
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!
Loading…
Cancel
Save