Ajout d'un node munin
This commit is contained in:
parent
f55b857489
commit
4e31d115cf
|
@ -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
|
$ 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
|
||||||
|
|
||||||
Munin 2 permet enfin de zoomer sur les graphiques !
|
Munin 2 permet enfin de zoomer sur les graphiques !
|
||||||
|
|
Loading…
Reference in a new issue