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 + ```