Installer Munin
apt-get install munin munin-node munin-plugins-extra libnet-snmp-perl
nano /etc/munin/munin-node.conf
allow ^127\.0\.0\.1$
# Which address to bind to;
host *
#host 127.0.0.1
# And which port
port 4949
nano /etc/munin/munin.conf
# a simple host tree
[localhost.localdomain]
address 127.0.0.1
use_node_name yes
su - munin --shell=/bin/bash
/usr/share/munin/munin-update --nofork --debug
service munin-node restart
nano /etc/nginx/sites-available/default
ajoutez avant la dernière } :
location /munin {
alias /var/cache/munin/www;
index index.html;
}
location /stats {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
service nginx reload
http://ipduraspberry/munin/