Diferencia entre revisiones de «Munin»
De gacq wiki
(→mbmon) |
|||
Línea 26: | Línea 26: | ||
<pre><nowiki> | <pre><nowiki> | ||
a2enmod info | a2enmod info | ||
+ | </nowiki></pre> | ||
+ | |||
+ | = bind = | ||
+ | /etc/bind/named.conf.local | ||
+ | <pre><nowiki> | ||
+ | logging { | ||
+ | channel "querylog" { file "/var/log/bind9/query.log"; print-time yes; }; | ||
+ | category queries { querylog; }; | ||
+ | }; | ||
+ | </nowiki></pre> | ||
+ | |||
+ | <pre><nowiki> | ||
+ | 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 | ||
</nowiki></pre> | </nowiki></pre> |
Revisión del 12:06 20 mar 2009
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