From 4e31d115cf5df5a2a51a0854cd9b65c8653b628e Mon Sep 17 00:00:00 2001 From: btatu Date: Mon, 16 Dec 2019 12:06:04 +0100 Subject: [PATCH] Ajout d'un node munin --- HowtoMunin.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/HowtoMunin.md b/HowtoMunin.md index 780757b7..f804e7d2 100644 --- a/HowtoMunin.md +++ b/HowtoMunin.md @@ -65,6 +65,32 @@ Voici un exemple pour tracer un graphe de load sur un intervalle passé : $ rrdtool graph foo.png -a PNG --start -15d --end -4d --width 800 --height 800 'DEF:load=localhost.localdomain-load-load-g.rrd:42:AVERAGE' 'LINE1:load#ff0000:Load' -l 0 -u 1 ~~~ +## Ajouter un noeud + +Commençons par autoriser les connections avec le master (31.120.1.12) depuis la machine cliente (31.120.1.13) : + +~~~ +echo "allow ^31\.120\.1\.12$" >> /etc/munin/munin-node.conf +/etc/init.d/minifirewall restart +~~~ + +Il reste plus qu'a indiquer la machine sur master + + +~~~ +vim /etc/munin/munin-node.conf ; /etc/init.d/minifirewall restart +~~~ + +Et ajouter ces directives : + +~~~ +[client.foo.com] + address 31.120.1.13 + use_node_name yes +~~~ + + + ## Munin 2 Munin 2 permet enfin de zoomer sur les graphiques !