Tidy in munin readme

master
Mészáros Mihály 2020-03-20 11:49:17 +01:00
parent 9b8623381f
commit 368b0d7a92
1 changed files with 25 additions and 22 deletions

View File

@ -4,7 +4,7 @@
* install on your docker host munin-node on mm.example.com * install on your docker host munin-node on mm.example.com
``` ```bash
apt install munin-node apt install munin-node
``` ```
@ -12,31 +12,34 @@
cp mm-plugin /usr/share/munin/plugins/mm cp mm-plugin /usr/share/munin/plugins/mm
``` ```bash
sudo ln -s /usr/share/munin/plugins/mm /etc/munin/plugins/mm sudo ln -s /usr/share/munin/plugins/mm /etc/munin/plugins/mm
``` ```
Copy mm-plugin-conf from this directory to munin plugins conf dir as mm * Copy mm-plugin-conf from this directory to munin plugins conf dir as mm
copy mm-plugin-conf as to /etc/munin/plugin-conf.d ```bash
```
cp mm-plugin-conf /etc/munin/plugin-conf.d/mm cp mm-plugin-conf /etc/munin/plugin-conf.d/mm
``` ```
Restart munin * Restart munin
```
```bash
systemctl restart munin-node systemctl restart munin-node
``` ```
# munin master ## munin master
Install a munin master on different host if you don't have munin already.
``` * Install a munin master on different host if you don't have munin already.
```bash
apt install munin apt install munin
``` ```
On your munin master configure the new node * On your munin master configure the new node
edit and add to /etc/munin.conf edit and add to /etc/munin.conf
```
```bash
[mm] [mm]
mm.example.com mm.example.com
``` ```