From 368b0d7a92014bfcb9ec65190f8a13d825cbeef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Fri, 20 Mar 2020 11:49:17 +0100 Subject: [PATCH] Tidy in munin readme --- munin/munin.md | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/munin/munin.md b/munin/munin.md index a964e2f..f1cb8ea 100644 --- a/munin/munin.md +++ b/munin/munin.md @@ -4,7 +4,7 @@ * install on your docker host munin-node on mm.example.com - ``` + ```bash apt install munin-node ``` @@ -12,31 +12,34 @@ cp mm-plugin /usr/share/munin/plugins/mm - ``` + ```bash 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 -``` -cp mm-plugin-conf /etc/munin/plugin-conf.d/mm -``` + ```bash + cp mm-plugin-conf /etc/munin/plugin-conf.d/mm + ``` -Restart munin -``` -systemctl restart munin-node -``` +* Restart munin -# munin master -Install a munin master on different host if you don't have munin already. -``` -apt install munin -``` + ```bash + systemctl restart munin-node + ``` -On your munin master configure the new node -edit and add to /etc/munin.conf -``` -[mm] - mm.example.com -``` \ No newline at end of file +## munin master + +* Install a munin master on different host if you don't have munin already. + + ```bash + apt install munin + ``` + +* On your munin master configure the new node + edit and add to /etc/munin.conf + + ```bash + [mm] + mm.example.com + ```