19
0
Fork 0

Ajout d'un node munin

This commit is contained in:
btatu 2019-12-16 12:06:04 +01:00
parent f55b857489
commit 4e31d115cf
1 changed files with 26 additions and 0 deletions

View File

@ -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 !