Munin
De gacq wiki
Contenido
ip_conntrack
chmod o+r /proc/net/ip_conntrack
mbmon
Monitorea temperatura y voltajes sin demasiadas dependencias
chmod +s /usr/bin/mbmon
smartmontools
apt-get install smartmontools
apache
To enable the handler uncomment the following section in the file /etc/apache2/apache2.conf:
ExtendedStatus On <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location>
You will only need to ensure that you have the mod_info module loaded which you can do by running
a2enmod info
bind
/etc/bind/named.conf.local
logging { channel "querylog" { file "/var/log/bind9/query.log"; print-time yes; }; category queries { querylog; }; };
mkdir -p /var/lib/named/var/log/bind9/ touch /var/lib/named/var/log/bind9/query.log chown bind:adm /var/lib/named/var/log/bind9/query.log ln -s /var/lib/named/var/log/bind9/query.log /var/log/bind9/query.log touch /var/lib/munin/plugin-state/bind9.state chown munin:munin /var/lib/munin/plugin-state/bind9.state
edit /etc/munin/plugins and replace
/usr/bin/perl /var/lib/munin/plugin-state
/etc/logrotate.d/bind9-query
/var/lib/named/var/log/bind9/query.log { daily missingok rotate 10 postrotate /etc/init.d/bind9 reload > /dev/null endscript create 664 bind adm compress delaycompress notifempty }
/etc/init.d/bind9 restart /etc/init.d/munin-node restart