<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yobi.be/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=85.234.199.11</id>
	<title>YobiWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yobi.be/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=85.234.199.11"/>
	<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Special:Contributions/85.234.199.11"/>
	<updated>2026-04-30T14:59:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Munin&amp;diff=1548</id>
		<title>Munin</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Munin&amp;diff=1548"/>
		<updated>2006-11-29T23:38:24Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: /* sensors_ plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Munin is a nice Monitoring framework&lt;br /&gt;
&lt;br /&gt;
==Sites==&lt;br /&gt;
* http://munin.projects.linpro.no/&lt;br /&gt;
* http://www.debian-administration.org/articles/229&lt;br /&gt;
* http://www.debianhelp.co.uk/munin.htm&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===On the collector===&lt;br /&gt;
 apt-get install munin libdate-manip-perl&lt;br /&gt;
Configure /etc/munin/munin.conf to add nodes to collect&lt;br /&gt;
===On each node===&lt;br /&gt;
 apt-get install munin-node libnet-snmp-perl libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl libio-socket-inet6-perl libwww-perl libnet-irc-perl smartmontools ethtool&lt;br /&gt;
Maybe you will have to relax the firewall when installing munin otherwise install will stall during plugin detection if loopback connections to port 3128 are dropped.&lt;br /&gt;
&amp;lt;br&amp;gt;Bind the monitor only to the wanted IP in /etc/munin/munin-node.conf and tell which server can get the info:&lt;br /&gt;
 host &amp;lt;my_ip&amp;gt;&lt;br /&gt;
 allow ^&amp;lt;regex IP of the collector&amp;gt;$ (see examples)&lt;br /&gt;
Select plugins from /usr/share/munin/plugins by adding a symlink in /etc/munin/plugins&lt;br /&gt;
&amp;lt;br&amp;gt;To know if a plugin could work, try it with argument &amp;quot;autoconf&amp;quot;, if it says yes then it is usable otherwise look inside the plugin code (perl) for hints.&lt;br /&gt;
&amp;lt;br&amp;gt;Some plugins require some options to be configured, do that in /etc/munin/plugin-conf.d/munin-node&lt;br /&gt;
&lt;br /&gt;
====apache_* plugin====&lt;br /&gt;
Activate apache2 extended status (cf http://www.debian-administration.org/articles/161): &lt;br /&gt;
&amp;lt;br&amp;gt;Install mod_info: &lt;br /&gt;
 a2enmod info&lt;br /&gt;
Activate in /etc/apache2/apache2.conf the section: &lt;br /&gt;
 &amp;lt;Location /server-status&amp;gt; etc &lt;br /&gt;
and add just above this section the following line: &lt;br /&gt;
 ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[apache_*]&lt;br /&gt;
env.lrrd_url &amp;quot;http://&amp;lt;my_ip&amp;gt;:%d/server-status?auto&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====ip_ plugin====&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node (normally it is already done in the last versions):&lt;br /&gt;
 [ip_*]&lt;br /&gt;
 user root&lt;br /&gt;
Add iptables dummy rules to collect stats on a particular IP:&lt;br /&gt;
 iptables -A INPUT -d &amp;lt;ip&amp;gt;;iptables -A OUTPUT -s &amp;lt;ip&amp;gt;&lt;br /&gt;
Install the plugin for this ip: &lt;br /&gt;
 ln -s /usr/share/munin/plugins/ip_ /etc/munin/plugins/ip_&amp;lt;ip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====sensors_ plugin====&lt;br /&gt;
Usually you create symlinks calles sensors_fan, sensors_volt and sensors_temp.&lt;br /&gt;
&lt;br /&gt;
I had many troubles after a kernel upgrade:&lt;br /&gt;
&amp;lt;br&amp;gt;Now the output of &amp;quot;sensors&amp;quot; features a &amp;quot;phantom&amp;quot; chip w83627hf-i2c-0-28 with no valid values, aside the 2 others, w83782d-i2c-0-29 and w83627hf-isa-0290.&lt;br /&gt;
&amp;lt;br&amp;gt;One more or less correct way would be to e.g. add an entry at the end of /etc/sensors.conf with&lt;br /&gt;
 chip &amp;quot;w83627hf-i2c-*&amp;quot;&lt;br /&gt;
    ignore in0&lt;br /&gt;
    ...&lt;br /&gt;
But sth is really wrong no way to get a section only considered by the -isa- and the other by -i2c-, whatever I tried both sections were submitted to the same filtering rules :-(&lt;br /&gt;
&lt;br /&gt;
Last resort was to change the output of sensors when called by munin:&lt;br /&gt;
&amp;lt;br&amp;gt;In /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
 [sensors_*]&lt;br /&gt;
 env.sensors sensors|sed &#039;1,+14d&#039;&lt;br /&gt;
But the entry order was not the same as before, the sections have to be inverted and some new values must be postponed to the end to keep the uniformity in the history values.&lt;br /&gt;
&amp;lt;br&amp;gt;So it becomes:&lt;br /&gt;
 [sensors_*]&lt;br /&gt;
 env.sensors sensors|awk &#039;b==1{p=p&amp;quot;\n&amp;quot;$0};b==2&amp;amp;&amp;amp;/^in/{o=o&amp;quot;\n&amp;quot;$0;next};b==2;/^$/{b+=1};END{print p o}&#039;&lt;br /&gt;
&lt;br /&gt;
====Other plugins====&lt;br /&gt;
More info on plugins incl. how to write yours: http://munin.projects.linpro.no/wiki/HowToWritePlugins&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Munin&amp;diff=1547</id>
		<title>Munin</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Munin&amp;diff=1547"/>
		<updated>2006-11-29T21:54:25Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: /* sensors_ plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Munin is a nice Monitoring framework&lt;br /&gt;
&lt;br /&gt;
==Sites==&lt;br /&gt;
* http://munin.projects.linpro.no/&lt;br /&gt;
* http://www.debian-administration.org/articles/229&lt;br /&gt;
* http://www.debianhelp.co.uk/munin.htm&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===On the collector===&lt;br /&gt;
 apt-get install munin libdate-manip-perl&lt;br /&gt;
Configure /etc/munin/munin.conf to add nodes to collect&lt;br /&gt;
===On each node===&lt;br /&gt;
 apt-get install munin-node libnet-snmp-perl libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl libio-socket-inet6-perl libwww-perl libnet-irc-perl smartmontools ethtool&lt;br /&gt;
Maybe you will have to relax the firewall when installing munin otherwise install will stall during plugin detection if loopback connections to port 3128 are dropped.&lt;br /&gt;
&amp;lt;br&amp;gt;Bind the monitor only to the wanted IP in /etc/munin/munin-node.conf and tell which server can get the info:&lt;br /&gt;
 host &amp;lt;my_ip&amp;gt;&lt;br /&gt;
 allow ^&amp;lt;regex IP of the collector&amp;gt;$ (see examples)&lt;br /&gt;
Select plugins from /usr/share/munin/plugins by adding a symlink in /etc/munin/plugins&lt;br /&gt;
&amp;lt;br&amp;gt;To know if a plugin could work, try it with argument &amp;quot;autoconf&amp;quot;, if it says yes then it is usable otherwise look inside the plugin code (perl) for hints.&lt;br /&gt;
&amp;lt;br&amp;gt;Some plugins require some options to be configured, do that in /etc/munin/plugin-conf.d/munin-node&lt;br /&gt;
&lt;br /&gt;
====apache_* plugin====&lt;br /&gt;
Activate apache2 extended status (cf http://www.debian-administration.org/articles/161): &lt;br /&gt;
&amp;lt;br&amp;gt;Install mod_info: &lt;br /&gt;
 a2enmod info&lt;br /&gt;
Activate in /etc/apache2/apache2.conf the section: &lt;br /&gt;
 &amp;lt;Location /server-status&amp;gt; etc &lt;br /&gt;
and add just above this section the following line: &lt;br /&gt;
 ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[apache_*]&lt;br /&gt;
env.lrrd_url &amp;quot;http://&amp;lt;my_ip&amp;gt;:%d/server-status?auto&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====ip_ plugin====&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node (normally it is already done in the last versions):&lt;br /&gt;
 [ip_*]&lt;br /&gt;
 user root&lt;br /&gt;
Add iptables dummy rules to collect stats on a particular IP:&lt;br /&gt;
 iptables -A INPUT -d &amp;lt;ip&amp;gt;;iptables -A OUTPUT -s &amp;lt;ip&amp;gt;&lt;br /&gt;
Install the plugin for this ip: &lt;br /&gt;
 ln -s /usr/share/munin/plugins/ip_ /etc/munin/plugins/ip_&amp;lt;ip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====sensors_ plugin====&lt;br /&gt;
Usually you create symlinks calles sensors_fan, sensors_volt and sensors_temp.&lt;br /&gt;
&lt;br /&gt;
I had many troubles after a kernel upgrade:&lt;br /&gt;
&amp;lt;br&amp;gt;Now the output of &amp;quot;sensors&amp;quot; features a &amp;quot;phantom&amp;quot; chip w83627hf-i2c-0-28 with no valid values, aside the 2 others, w83782d-i2c-0-29 and w83627hf-isa-0290.&lt;br /&gt;
&amp;lt;br&amp;gt;One more or less correct way would be to e.g. add an entry at the end of /etc/sensors.conf with&lt;br /&gt;
 chip &amp;quot;w83627hf-i2c-*&amp;quot;&lt;br /&gt;
    ignore in0&lt;br /&gt;
    ...&lt;br /&gt;
But sth is really wrong no way to get a section only considered by the -isa- and the other by -i2c-, whatever I tried both sections were submitted to the same filtering rules :-(&lt;br /&gt;
&lt;br /&gt;
Last resort was to change the output of sensors when called by munin:&lt;br /&gt;
&amp;lt;br&amp;gt;In /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
 [sensors_]&lt;br /&gt;
 env.sensors sensors|sed &#039;1,+14d&#039;&lt;br /&gt;
&lt;br /&gt;
====Other plugins====&lt;br /&gt;
More info on plugins incl. how to write yours: http://munin.projects.linpro.no/wiki/HowToWritePlugins&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Munin&amp;diff=1546</id>
		<title>Munin</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Munin&amp;diff=1546"/>
		<updated>2006-11-29T21:47:31Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: /* Other plugins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Munin is a nice Monitoring framework&lt;br /&gt;
&lt;br /&gt;
==Sites==&lt;br /&gt;
* http://munin.projects.linpro.no/&lt;br /&gt;
* http://www.debian-administration.org/articles/229&lt;br /&gt;
* http://www.debianhelp.co.uk/munin.htm&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===On the collector===&lt;br /&gt;
 apt-get install munin libdate-manip-perl&lt;br /&gt;
Configure /etc/munin/munin.conf to add nodes to collect&lt;br /&gt;
===On each node===&lt;br /&gt;
 apt-get install munin-node libnet-snmp-perl libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl libio-socket-inet6-perl libwww-perl libnet-irc-perl smartmontools ethtool&lt;br /&gt;
Maybe you will have to relax the firewall when installing munin otherwise install will stall during plugin detection if loopback connections to port 3128 are dropped.&lt;br /&gt;
&amp;lt;br&amp;gt;Bind the monitor only to the wanted IP in /etc/munin/munin-node.conf and tell which server can get the info:&lt;br /&gt;
 host &amp;lt;my_ip&amp;gt;&lt;br /&gt;
 allow ^&amp;lt;regex IP of the collector&amp;gt;$ (see examples)&lt;br /&gt;
Select plugins from /usr/share/munin/plugins by adding a symlink in /etc/munin/plugins&lt;br /&gt;
&amp;lt;br&amp;gt;To know if a plugin could work, try it with argument &amp;quot;autoconf&amp;quot;, if it says yes then it is usable otherwise look inside the plugin code (perl) for hints.&lt;br /&gt;
&amp;lt;br&amp;gt;Some plugins require some options to be configured, do that in /etc/munin/plugin-conf.d/munin-node&lt;br /&gt;
&lt;br /&gt;
====apache_* plugin====&lt;br /&gt;
Activate apache2 extended status (cf http://www.debian-administration.org/articles/161): &lt;br /&gt;
&amp;lt;br&amp;gt;Install mod_info: &lt;br /&gt;
 a2enmod info&lt;br /&gt;
Activate in /etc/apache2/apache2.conf the section: &lt;br /&gt;
 &amp;lt;Location /server-status&amp;gt; etc &lt;br /&gt;
and add just above this section the following line: &lt;br /&gt;
 ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[apache_*]&lt;br /&gt;
env.lrrd_url &amp;quot;http://&amp;lt;my_ip&amp;gt;:%d/server-status?auto&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====ip_ plugin====&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node (normally it is already done in the last versions):&lt;br /&gt;
 [ip_*]&lt;br /&gt;
 user root&lt;br /&gt;
Add iptables dummy rules to collect stats on a particular IP:&lt;br /&gt;
 iptables -A INPUT -d &amp;lt;ip&amp;gt;;iptables -A OUTPUT -s &amp;lt;ip&amp;gt;&lt;br /&gt;
Install the plugin for this ip: &lt;br /&gt;
 ln -s /usr/share/munin/plugins/ip_ /etc/munin/plugins/ip_&amp;lt;ip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====sensors_ plugin====&lt;br /&gt;
Usually you create symlinks calles sensors_fan, sensors_volt and sensors_temp.&lt;br /&gt;
&lt;br /&gt;
I had many troubles after a kernel upgrade:&lt;br /&gt;
&amp;lt;br&amp;gt;Now the output of &amp;quot;sensors&amp;quot; features a &amp;quot;phantom&amp;quot; chip w83627hf-i2c-0-28 with no valid values, aside the 2 others, w83782d-i2c-0-29 and w83627hf-isa-0290.&lt;br /&gt;
&amp;lt;br&amp;gt;One more or less correct way would be to e.g. add an entry at the end of /etc/sensors.conf with&lt;br /&gt;
 chip &amp;quot;w83627hf-i2c-*&amp;quot;&lt;br /&gt;
    ignore in0&lt;br /&gt;
    ...&lt;br /&gt;
But sth is really wrong no way to get a section only considered by the -isa- and the other by -i2c-, whatever I tried both sections were submitted to the same filtering rules :-(&lt;br /&gt;
&lt;br /&gt;
Last resort was to change the output of sensors when called by munin:&lt;br /&gt;
&amp;lt;br&amp;gt;In /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
 [sensors_]&lt;br /&gt;
 env.sensors=sensors|sed &#039;1,+14d&#039;                                                                                                        &lt;br /&gt;
 &lt;br /&gt;
====Other plugins====&lt;br /&gt;
More info on plugins incl. how to write yours: http://munin.projects.linpro.no/wiki/HowToWritePlugins&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Munin&amp;diff=1545</id>
		<title>Munin</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Munin&amp;diff=1545"/>
		<updated>2006-11-29T21:40:07Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: /* ip_ plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Munin is a nice Monitoring framework&lt;br /&gt;
&lt;br /&gt;
==Sites==&lt;br /&gt;
* http://munin.projects.linpro.no/&lt;br /&gt;
* http://www.debian-administration.org/articles/229&lt;br /&gt;
* http://www.debianhelp.co.uk/munin.htm&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===On the collector===&lt;br /&gt;
 apt-get install munin libdate-manip-perl&lt;br /&gt;
Configure /etc/munin/munin.conf to add nodes to collect&lt;br /&gt;
===On each node===&lt;br /&gt;
 apt-get install munin-node libnet-snmp-perl libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl libio-socket-inet6-perl libwww-perl libnet-irc-perl smartmontools ethtool&lt;br /&gt;
Maybe you will have to relax the firewall when installing munin otherwise install will stall during plugin detection if loopback connections to port 3128 are dropped.&lt;br /&gt;
&amp;lt;br&amp;gt;Bind the monitor only to the wanted IP in /etc/munin/munin-node.conf and tell which server can get the info:&lt;br /&gt;
 host &amp;lt;my_ip&amp;gt;&lt;br /&gt;
 allow ^&amp;lt;regex IP of the collector&amp;gt;$ (see examples)&lt;br /&gt;
Select plugins from /usr/share/munin/plugins by adding a symlink in /etc/munin/plugins&lt;br /&gt;
&amp;lt;br&amp;gt;To know if a plugin could work, try it with argument &amp;quot;autoconf&amp;quot;, if it says yes then it is usable otherwise look inside the plugin code (perl) for hints.&lt;br /&gt;
&amp;lt;br&amp;gt;Some plugins require some options to be configured, do that in /etc/munin/plugin-conf.d/munin-node&lt;br /&gt;
&lt;br /&gt;
====apache_* plugin====&lt;br /&gt;
Activate apache2 extended status (cf http://www.debian-administration.org/articles/161): &lt;br /&gt;
&amp;lt;br&amp;gt;Install mod_info: &lt;br /&gt;
 a2enmod info&lt;br /&gt;
Activate in /etc/apache2/apache2.conf the section: &lt;br /&gt;
 &amp;lt;Location /server-status&amp;gt; etc &lt;br /&gt;
and add just above this section the following line: &lt;br /&gt;
 ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[apache_*]&lt;br /&gt;
env.lrrd_url &amp;quot;http://&amp;lt;my_ip&amp;gt;:%d/server-status?auto&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====ip_ plugin====&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node (normally it is already done in the last versions):&lt;br /&gt;
 [ip_*]&lt;br /&gt;
 user root&lt;br /&gt;
Add iptables dummy rules to collect stats on a particular IP:&lt;br /&gt;
 iptables -A INPUT -d &amp;lt;ip&amp;gt;;iptables -A OUTPUT -s &amp;lt;ip&amp;gt;&lt;br /&gt;
Install the plugin for this ip: &lt;br /&gt;
 ln -s /usr/share/munin/plugins/ip_ /etc/munin/plugins/ip_&amp;lt;ip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====sensors_ plugin====&lt;br /&gt;
Usually you create symlinks calles sensors_fan, sensors_volt and sensors_temp.&lt;br /&gt;
&lt;br /&gt;
I had many troubles after a kernel upgrade:&lt;br /&gt;
&amp;lt;br&amp;gt;Now the output of &amp;quot;sensors&amp;quot; features a &amp;quot;phantom&amp;quot; chip w83627hf-i2c-0-28 with no valid values, aside the 2 others, w83782d-i2c-0-29 and w83627hf-isa-0290.&lt;br /&gt;
&amp;lt;br&amp;gt;One more or less correct way would be to e.g. add an entry at the end of /etc/sensors.conf with&lt;br /&gt;
 chip &amp;quot;w83627hf-i2c-*&amp;quot;&lt;br /&gt;
    ignore in0&lt;br /&gt;
    ...&lt;br /&gt;
But sth is really wrong no way to get a section only considered by the -isa- and the other by -i2c-, whatever I tried both sections were submitted to the same filtering rules :-(&lt;br /&gt;
&lt;br /&gt;
Last resort was to change the output of sensors when called by munin:&lt;br /&gt;
&amp;lt;br&amp;gt;In /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
 [sensors_]&lt;br /&gt;
 env.sensors=sensors|sed &#039;1,+14d&#039;                                                                                                        &lt;br /&gt;
 &lt;br /&gt;
====Other plugins====&lt;br /&gt;
More info on plugins incl. how to write yours: http://munin.projects.linpro.no/wiki/plugins&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Munin&amp;diff=1544</id>
		<title>Munin</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Munin&amp;diff=1544"/>
		<updated>2006-11-29T21:35:06Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Munin is a nice Monitoring framework&lt;br /&gt;
&lt;br /&gt;
==Sites==&lt;br /&gt;
* http://munin.projects.linpro.no/&lt;br /&gt;
* http://www.debian-administration.org/articles/229&lt;br /&gt;
* http://www.debianhelp.co.uk/munin.htm&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
===On the collector===&lt;br /&gt;
 apt-get install munin libdate-manip-perl&lt;br /&gt;
Configure /etc/munin/munin.conf to add nodes to collect&lt;br /&gt;
===On each node===&lt;br /&gt;
 apt-get install munin-node libnet-snmp-perl libio-socket-ssl-perl libcrypt-des-perl libdigest-hmac-perl libio-socket-inet6-perl libwww-perl libnet-irc-perl smartmontools ethtool&lt;br /&gt;
Maybe you will have to relax the firewall when installing munin otherwise install will stall during plugin detection if loopback connections to port 3128 are dropped.&lt;br /&gt;
&amp;lt;br&amp;gt;Bind the monitor only to the wanted IP in /etc/munin/munin-node.conf and tell which server can get the info:&lt;br /&gt;
 host &amp;lt;my_ip&amp;gt;&lt;br /&gt;
 allow ^&amp;lt;regex IP of the collector&amp;gt;$ (see examples)&lt;br /&gt;
Select plugins from /usr/share/munin/plugins by adding a symlink in /etc/munin/plugins&lt;br /&gt;
&amp;lt;br&amp;gt;To know if a plugin could work, try it with argument &amp;quot;autoconf&amp;quot;, if it says yes then it is usable otherwise look inside the plugin code (perl) for hints.&lt;br /&gt;
&amp;lt;br&amp;gt;Some plugins require some options to be configured, do that in /etc/munin/plugin-conf.d/munin-node&lt;br /&gt;
&lt;br /&gt;
====apache_* plugin====&lt;br /&gt;
Activate apache2 extended status (cf http://www.debian-administration.org/articles/161): &lt;br /&gt;
&amp;lt;br&amp;gt;Install mod_info: &lt;br /&gt;
 a2enmod info&lt;br /&gt;
Activate in /etc/apache2/apache2.conf the section: &lt;br /&gt;
 &amp;lt;Location /server-status&amp;gt; etc &lt;br /&gt;
and add just above this section the following line: &lt;br /&gt;
 ExtendedStatus On&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[apache_*]&lt;br /&gt;
env.lrrd_url &amp;quot;http://&amp;lt;my_ip&amp;gt;:%d/server-status?auto&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====ip_ plugin====&lt;br /&gt;
Add to /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
 [ip_*]&lt;br /&gt;
 user root&lt;br /&gt;
Add iptables dummy rules to collect stats on a particular IP:&lt;br /&gt;
 iptables -A INPUT -d &amp;lt;ip&amp;gt;;iptables -A OUTPUT -s &amp;lt;ip&amp;gt;&lt;br /&gt;
Install the plugin for this ip: &lt;br /&gt;
 ln -s /usr/share/munin/plugins/ip_ /etc/munin/plugins/ip_&amp;lt;ip&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====sensors_ plugin====&lt;br /&gt;
Usually you create symlinks calles sensors_fan, sensors_volt and sensors_temp.&lt;br /&gt;
&lt;br /&gt;
I had many troubles after a kernel upgrade:&lt;br /&gt;
&amp;lt;br&amp;gt;Now the output of &amp;quot;sensors&amp;quot; features a &amp;quot;phantom&amp;quot; chip w83627hf-i2c-0-28 with no valid values, aside the 2 others, w83782d-i2c-0-29 and w83627hf-isa-0290.&lt;br /&gt;
&amp;lt;br&amp;gt;One more or less correct way would be to e.g. add an entry at the end of /etc/sensors.conf with&lt;br /&gt;
 chip &amp;quot;w83627hf-i2c-*&amp;quot;&lt;br /&gt;
    ignore in0&lt;br /&gt;
    ...&lt;br /&gt;
But sth is really wrong no way to get a section only considered by the -isa- and the other by -i2c-, whatever I tried both sections were submitted to the same filtering rules :-(&lt;br /&gt;
&lt;br /&gt;
Last resort was to change the output of sensors when called by munin:&lt;br /&gt;
&amp;lt;br&amp;gt;In /etc/munin/plugin-conf.d/munin-node:&lt;br /&gt;
 [sensors_]&lt;br /&gt;
 env.sensors=sensors|sed &#039;1,+14d&#039;                                                                                                        &lt;br /&gt;
 &lt;br /&gt;
====Other plugins====&lt;br /&gt;
More info on plugins incl. how to write yours: http://munin.projects.linpro.no/wiki/plugins&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Table_of_contents&amp;diff=1543</id>
		<title>Table of contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Table_of_contents&amp;diff=1543"/>
		<updated>2006-11-29T21:20:41Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: /* Server side */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Security==&lt;br /&gt;
* [[Forensics]]&lt;br /&gt;
* [[Bypass Proxy]]&lt;br /&gt;
** [[Bypass Proxy reference]]&lt;br /&gt;
* [[MiscCrypto]]&lt;br /&gt;
** [[Encfs]]&lt;br /&gt;
** [[LoopCrypt]]&lt;br /&gt;
* [[Reverse Cross-Site Request (RCSR) vulnerability]]&lt;br /&gt;
&lt;br /&gt;
==Hobbies==&lt;br /&gt;
* [[Photo]]&lt;br /&gt;
* [[Linux Certification]]&lt;br /&gt;
==Hardware==&lt;br /&gt;
* [[bttv]]&lt;br /&gt;
* [[Canon EOS]]&lt;br /&gt;
* [[Kiss 450]]&lt;br /&gt;
* [[Laptop Asus]]&lt;br /&gt;
* [[Laptop Dell Latitude D600]]&lt;br /&gt;
* [[Laptop Dell Latitude D610]]&lt;br /&gt;
* [[Photo Frame]]&lt;br /&gt;
* [[Philips Webcam]]&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
===Server side===&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
* [[CVS and Subversion]]&lt;br /&gt;
* [[MediaWiki]]&lt;br /&gt;
* [[Mysql]]&lt;br /&gt;
* [[Gallery]]&lt;br /&gt;
* [[PhpMyAdmin]]&lt;br /&gt;
* [[Webcalendar]]&lt;br /&gt;
* [[Avimanager]]&lt;br /&gt;
* [[Munin]]&lt;br /&gt;
====Mail services====&lt;br /&gt;
* [[qmail &amp;amp; ezmlm]]&lt;br /&gt;
* [[Exim]]&lt;br /&gt;
* [[Courier]]&lt;br /&gt;
* [[Procmail]]&lt;br /&gt;
* [[Imapproxy]]&lt;br /&gt;
* [[Squirrelmail]]&lt;br /&gt;
* [[Spamassassin]]&lt;br /&gt;
* [[Fetchmail]]&lt;br /&gt;
* [[Anti-Virus]]&lt;br /&gt;
====Jabber====&lt;br /&gt;
* [[Jabberd]]&lt;br /&gt;
* [[Jabberd-Addons]]&lt;br /&gt;
* [[Jabberd-Conference]]&lt;br /&gt;
* [[Jabberd-Jud]]&lt;br /&gt;
* [[Jabberd-AIM]]&lt;br /&gt;
* [[Jabberd-Icq]]&lt;br /&gt;
* [[Jabberd-Irc]]&lt;br /&gt;
* [[Jabberd-MSN]]&lt;br /&gt;
* [[Jabberd-Yahoo]]&lt;br /&gt;
&lt;br /&gt;
===Desktop side===&lt;br /&gt;
* [[Dict Applications]]&lt;br /&gt;
* [[Screen Tips]]&lt;br /&gt;
* [[Firefox Tips]]&lt;br /&gt;
* [[Bash Tips]]&lt;br /&gt;
* [[Mail Tips]]&lt;br /&gt;
* [[Offlineimap]]&lt;br /&gt;
====[[Jabber]]====&lt;br /&gt;
* [[Jabber Clients]]&lt;br /&gt;
* [[Jabber Send Message]]&lt;br /&gt;
* [[Jabber Utils]]&lt;br /&gt;
&lt;br /&gt;
===Debian===&lt;br /&gt;
* [[Debian Documentation]]&lt;br /&gt;
* [[Debian Commands]]&lt;br /&gt;
* [[DebTags]]&lt;br /&gt;
* [[Debian Alsa]]&lt;br /&gt;
* [[Debian Kernel]]&lt;br /&gt;
* [[Debian Soft Raid]]&lt;br /&gt;
&lt;br /&gt;
==Lifeware==&lt;br /&gt;
* [[whoami]]&lt;br /&gt;
* [[Bébé]]&lt;br /&gt;
* [[Chassis Couronne]]&lt;br /&gt;
* [[Prêts et emprunts]]&lt;br /&gt;
&lt;br /&gt;
==Misc==&lt;br /&gt;
* [[External links]]&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Screen_Tips&amp;diff=1381</id>
		<title>Screen Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Screen_Tips&amp;diff=1381"/>
		<updated>2006-11-16T22:50:21Z</updated>

		<summary type="html">&lt;p&gt;85.234.199.11: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
Some usages of &amp;quot;screen&amp;quot;, a very powerful tool!&lt;br /&gt;
&lt;br /&gt;
To create a screen session&lt;br /&gt;
 screen&lt;br /&gt;
&lt;br /&gt;
The shortcut to access screen commands is CTRL-a&lt;br /&gt;
&amp;lt;br&amp;gt;There you can create other windows with CTRL-a c&lt;br /&gt;
&amp;lt;br&amp;gt;Go to next window with CTRL-a n&lt;br /&gt;
&lt;br /&gt;
If the link is broken (kill xterm, ssh fails,...) no prob the session is still runnind detached from any terminal.&lt;br /&gt;
&amp;lt;br&amp;gt;You can also detach with CTRL-a d&lt;br /&gt;
&amp;lt;br&amp;gt;To resume a detached session: &lt;br /&gt;
 screen -r&lt;br /&gt;
&amp;lt;br&amp;gt;To see the list of sessions:&lt;br /&gt;
 screen -ls&lt;br /&gt;
&amp;lt;br&amp;gt;To remotely force a session to be detached and attach it here:&lt;br /&gt;
 screen -r -d&lt;br /&gt;
&amp;lt;br&amp;gt;To attach without first detaching an active session:&lt;br /&gt;
 screen -x&lt;br /&gt;
&amp;lt;br&amp;gt;Very powerful, this last one!!&lt;br /&gt;
&amp;lt;br&amp;gt;For example, helping a friend via remote administration:&lt;br /&gt;
* ask him to install screen (of course), create a user for you, so you can log in and change your passwd&lt;br /&gt;
* ask him, being root in a xterm, to launch &#039;&#039;su your_username -c &amp;quot;xterm -e screen&amp;quot; &amp;amp;&#039;&#039;&lt;br /&gt;
* you launch &#039;&#039;screen -x&#039;&#039; from your ssh session and now you are both on the same console!&lt;br /&gt;
* you type &#039;&#039;su&#039;&#039; and he types the root passwd, so now you can be momentaneously root on his machine, he did not have to discard root password and he can watch (and learn) what you are doing.&lt;br /&gt;
&lt;br /&gt;
==Multisession==&lt;br /&gt;
To allow other users to join your session:&lt;br /&gt;
&amp;lt;br&amp;gt;Gives +s to screen bin:&lt;br /&gt;
 chmod +s /usr/bin/screen&lt;br /&gt;
From screen session:&lt;br /&gt;
 CTRL-a :&lt;br /&gt;
 multiuser on&lt;br /&gt;
 CTRL-a :&lt;br /&gt;
 addacl user2&lt;br /&gt;
&lt;br /&gt;
It adds user2 to the list of authorized users with full access (partial acces is possible, cf man)&lt;br /&gt;
&amp;lt;br&amp;gt;Then user2 can connect to screen session of user1 with&lt;br /&gt;
 screen -x user1/&lt;br /&gt;
To see the list of sessions of another user:&lt;br /&gt;
 screen -ls user1/&lt;br /&gt;
==Tips==&lt;br /&gt;
Sometimes when using __mc__ through screen the graphical characters mess up the layout.&lt;br /&gt;
&amp;lt;br&amp;gt;Try &amp;quot;mc -a&amp;quot;, it should fix it.&lt;br /&gt;
==Guy notes==&lt;br /&gt;
&lt;br /&gt;
 screen:  to start screen&lt;br /&gt;
 screen -r: to reattach to a session                                             &lt;br /&gt;
 screen -x: to attach to a not detached screen session (multi display mode)&lt;br /&gt;
 screen -d -r: to remotely force a session to be detached and attach it here&lt;br /&gt;
		(to cleanly reattach from another session)&lt;br /&gt;
 screen -D -R:   Attach here and now.&lt;br /&gt;
		In detail this means: If a session is running, then reattach.&lt;br /&gt;
		If necessary detach  and  logout  remotely first.&lt;br /&gt;
		If  it  was not running create it and notify the user.&lt;br /&gt;
		This is the author&#039;s favorite.&lt;br /&gt;
&lt;br /&gt;
 C-a d:   to detach from the session&lt;br /&gt;
 C-a ?:   to obtain a list of commands&lt;br /&gt;
 C-a x:   to lock your current session&lt;br /&gt;
 C-a a:   to obtain &amp;quot;Ctrl-a&amp;quot; (for emacs for example)&lt;br /&gt;
 C-a A:   to set the title of the newly created window while in screen&lt;br /&gt;
	    (equivalent to screen -t name_of_window)&lt;br /&gt;
 C-a c:   to create new window&lt;br /&gt;
 C-a k:   to remove the current window from the list and forcibly&lt;br /&gt;
	    terminate whatever programs were running in it&lt;br /&gt;
 C-a C-a: to switch between screen&#039;s windows&lt;br /&gt;
 C-a n:   to switch to the next window&lt;br /&gt;
 C-a p:   to switch to the previous window&lt;br /&gt;
 C-a N:   to switch to the corresponding window (N in [0,9])&lt;br /&gt;
 C-a &amp;quot;:   to get a full-screen list of windows&lt;br /&gt;
 C-a w:   to get a small, non-interactive list of windows&lt;br /&gt;
&lt;br /&gt;
 C-a S:   to split the region in two&lt;br /&gt;
 C-a tab: to switch from on region to the other one&lt;br /&gt;
 C-a N:   to display any of your window in the current region (N in [0,9])&lt;br /&gt;
 C-a c:   to create a new shell in the current region&lt;br /&gt;
 C-a Q:   to make the current region the only one visible&lt;br /&gt;
 C-a X:   to kill the current region (and the programs running in it)&lt;br /&gt;
&lt;br /&gt;
 C-a [:   to enter &amp;quot;copy mode&amp;quot;&lt;br /&gt;
 C-a ]:   to paste the text previously copied&lt;br /&gt;
&lt;br /&gt;
 C-a _;:  to start or stop monitoring the current window for 30 seconds of silence&lt;br /&gt;
 C-a M:   to start or stop monitoring the current window for activity&lt;br /&gt;
&lt;br /&gt;
 C-a C-\: to force closing of screen (not recommended)&lt;br /&gt;
&lt;br /&gt;
===Remark 1: collaborative session===&lt;br /&gt;
One other good use for the detach and reattach is as a console-mode &amp;quot;remote desktop&amp;quot; feature.&lt;br /&gt;
&amp;lt;br&amp;gt;You can detach from a screen session at work, shell into the machine from home, and reattach.&lt;br /&gt;
&amp;lt;br&amp;gt;With a bit of extra work, you can even have a number of terminals all attached to the same session &lt;br /&gt;
(great for collaborative efforts and meetings).&lt;br /&gt;
&lt;br /&gt;
For example, helping a friend via remote administration:&lt;br /&gt;
* ask him to install screen (of course), create a user for you, so you can log in and change your passwd&lt;br /&gt;
* ask him, being root in a xterm, to launch&lt;br /&gt;
 su your_username -c &amp;quot;xterm -e screen&amp;quot; &amp;amp;&lt;br /&gt;
* you launch screen -x from your ssh session and now you are both on the same console!&lt;br /&gt;
* you type su and he types the root passwd, so now you can be momentaneously root on his machine, he did not have to discard root password and he can watch (and learn) what you are doing.	&lt;br /&gt;
&lt;br /&gt;
Also:&lt;br /&gt;
 C-a :multiuser on           : to activate multiuser mode&lt;br /&gt;
 C-a :achchg username +rwx &amp;quot;#&amp;quot; : to give permission to username to connect&lt;br /&gt;
Be especially careful with the execute permission as that will let other people create new windows and change the acl permissions themselves.&lt;br /&gt;
&lt;br /&gt;
Now the user you granted access to can connect with:&lt;br /&gt;
 $ screen -r stan/&lt;br /&gt;
&lt;br /&gt;
At any time, you can delete other users with acldel username&lt;br /&gt;
&lt;br /&gt;
===Remark 2: allowing other users to join your session===&lt;br /&gt;
 chmod +s /usr/bin/screen: to allow other users to join your session&lt;br /&gt;
&lt;br /&gt;
From screen session:&lt;br /&gt;
&lt;br /&gt;
 CTRL-a :&lt;br /&gt;
 multiuser on&lt;br /&gt;
 CTRL-a :&lt;br /&gt;
 addacl user2&lt;br /&gt;
&lt;br /&gt;
It adds user2 to the list of authorized users with full access (partial acces is possible, cf man)&lt;br /&gt;
&amp;lt;br&amp;gt;Then user2 can connect to screen session of user1 with&lt;br /&gt;
 screen -x user1/&lt;br /&gt;
&lt;br /&gt;
To see the list of sessions of another user:&lt;br /&gt;
 screen -ls user1/&lt;br /&gt;
&lt;br /&gt;
===Remark 3: bunch of screens at startup===&lt;br /&gt;
If you want a bunch of screens at startup, edit your ~/.screenrc.&lt;br /&gt;
&lt;br /&gt;
 shell -$SHELL&lt;br /&gt;
 screen -t SHELL0  0&lt;br /&gt;
 screen -t ROOT    1&lt;br /&gt;
 screen -t SHELL2  2&lt;br /&gt;
 screen -t SHELL3  3&lt;br /&gt;
 screen -t SHELL4  4&lt;br /&gt;
 screen -t SHELL5  5&lt;br /&gt;
&lt;br /&gt;
The first line starts the current $SHELL in login mode.&lt;br /&gt;
&amp;lt;br&amp;gt;The others set up six windows and gives them titles.&lt;br /&gt;
&lt;br /&gt;
===Remark 4: logging===&lt;br /&gt;
Screen is also capable of logging to files, but that&#039;s beyond the scope of this tutorial.&lt;br /&gt;
&lt;br /&gt;
===Remark 5: Customizing screen -&amp;gt; $HOME/.screenrc===&lt;br /&gt;
Here&#039;s a short example $HOME/.screenrc file containing comments for each directive:&lt;br /&gt;
&lt;br /&gt;
 # set some options&lt;br /&gt;
 activity &amp;quot;activity: window ~%&amp;quot;  # Message when activity occurs in a window&lt;br /&gt;
 vbell_msg &amp;quot;bell: window ~%&amp;quot;     # Message for visual bell&lt;br /&gt;
 vbellwait 2                     # Seconds to pause the screen for visual bell&lt;br /&gt;
 allpartial off                  # Refresh entire screen on window change&lt;br /&gt;
 autodetach on                   # Autodetach session on hangup instead of&lt;br /&gt;
                                 # terminating screen completely&lt;br /&gt;
 bufferfile /tmp/screen-buffer   # Filename for the paste buffer&lt;br /&gt;
 chdir                           # Change to the home directory&lt;br /&gt;
 escape &amp;quot;``&amp;quot;                     # Redefine the prefix key to ` and define a&lt;br /&gt;
                                 # literal ` as ``&lt;br /&gt;
 shelltitle $HOST                # Set the title of all shell windows&lt;br /&gt;
 defflow off                     # Set the default flow control mode&lt;br /&gt;
 defmode 0620                    # Set the default mode of each pseudo tty&lt;br /&gt;
 defscrollback 200               # Set the default number of scrollback lines&lt;br /&gt;
 deflogin off                    # Do not register the window in utmp&lt;br /&gt;
 startup_message off             # Disable startup messages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 # virtual windows to start when screen starts&lt;br /&gt;
 screen -t emacs@$HOST -h 0 1 /usr/local/bin/emacs -nw&lt;br /&gt;
                                 # Start emacs in window 1 with a scrollback&lt;br /&gt;
                                 # buffer of 0&lt;br /&gt;
 screen -t bash@$HOST -ln -h 100 2&lt;br /&gt;
                                 # Start a shell with the title of&lt;br /&gt;
                                 # tcsh@.  turn off login mode&lt;br /&gt;
                                 # (remove the window from utmp).  Use a&lt;br /&gt;
                                 # scrollback of 100 lines and start the shell&lt;br /&gt;
                                 # in window 2 (or the next available window)&lt;br /&gt;
 monitor on                      # Monitor the above shell window&lt;br /&gt;
&lt;br /&gt;
 # keymap for use with the prefix key (backquote)&lt;br /&gt;
 bind &#039; &#039; windows                # Show listing of all windows&lt;br /&gt;
 bind &#039;a&#039; prev                   # Previous window&lt;br /&gt;
 bind &#039;c&#039; copy                   # Copy paste buffer&lt;br /&gt;
 bind &#039;e&#039; screen -t emacs@$HOST -h 0 1 /usr/local/bin/emacs -nw&lt;br /&gt;
                                 # Create new emacs window&lt;br /&gt;
 bind &#039;i&#039; info                   # Show info about the current window&lt;br /&gt;
 bind &#039;n&#039; next                   # Next window&lt;br /&gt;
 bind &#039;s&#039; screen -t bash@$HOST -ln -h 100  # Create new shell window&lt;/div&gt;</summary>
		<author><name>85.234.199.11</name></author>
	</entry>
</feed>