Installation
|
1 |
apt-get install munin munin-node munin-plugins-extra |
|
1 |
ln -s /var/cache/munin/www /var/www/munin |
On autorise les IPs listées ou alors tout le monde
|
1 |
nano /etc/munin/apache.conf |
Remplacer « Allow from localhost 127.0.0.1/8 ::1 » par « Allow from all »
|
1 |
/etc/init.d/munin-node restart |
Ajouter une surveillance de Fail2ban
|
1 |
nano /etc/munin/plugin-conf.d/munin-node |
Remplacer « [fail2ban] » par « [fail2ban*] »
|
1 |
munin-node-configure --shell |
|
1 |
/etc/init.d/munin-node restart |
Protection des graphiques
|
1 |
nano /etc/munin/apache.conf |
Décommenter les 4 lignes suivantes:
|
1 2 3 4 5 6 7 |
AuthUserFile /etc/munin/munin-htpasswd AuthName "Munin" AuthType Basic require valid-user |
Créer un mot de passe pour l’utilisateur « Munin »
|
1 |
htpasswd -c /etc/munin/munin-htpasswd Munin |
Attention: la directive « AllowOverride » vHost actif doit être réglée sur « all »