<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>johker&#039;s blog &#187; server-status</title>
	<atom:link href="http://johker.ibutho.de/tag/server-status/feed/" rel="self" type="application/rss+xml" />
	<link>http://johker.ibutho.de</link>
	<description>stories about me, my life and my trips</description>
	<lastBuildDate>Sun, 18 Dec 2011 11:53:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Der neue Server: Teil 8 Monitoring mit munin</title>
		<link>http://johker.ibutho.de/2009/04/04/der-neue-server-teil-8-monitoring-mit-munin/</link>
		<comments>http://johker.ibutho.de/2009/04/04/der-neue-server-teil-8-monitoring-mit-munin/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 14:29:17 +0000</pubDate>
		<dc:creator>johker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[konfiguration]]></category>
		<category><![CDATA[mod_status]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server-status]]></category>
		<category><![CDATA[system monitoring]]></category>

		<guid isPermaLink="false">http://johker.ibutho.de/?p=222</guid>
		<description><![CDATA[Munin ist ein Tool zum System-Monitoring, ist einfach in der Konfiguration, bietet eine Vielfalt an Plugins und stellt die Ergebnisse über ein Webinterface grafisch dar. Im folgenden wird die Installation und eine beispielhafte Basiskonfiguration geschildert. Munin hat die Möglichkeit Daten &#8230; <a href="http://johker.ibutho.de/2009/04/04/der-neue-server-teil-8-monitoring-mit-munin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>Munin</em> ist ein Tool zum System-Monitoring, ist einfach in der Konfiguration, bietet eine Vielfalt an Plugins und stellt die Ergebnisse über ein Webinterface grafisch dar. Im folgenden wird die Installation und eine beispielhafte Basiskonfiguration geschildert. <em>Munin</em> hat die Möglichkeit Daten von mehreren Systemen zu sammeln und diese alle zentral zugänglich zu machen. Hier wird nur darauf eingegangen Server und Client auf dem gleichen System zu installieren, doch die Erweiterung gestaltet sich sehr einfach und die Projekthomepage bietet mit ihrem Wiki eine gute Anlaufstelle für Fragen.</p>
<p>Installation:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> munin munin-node munin-plugins-extra</pre></div></div>

<p>Konfiguration:<br />
<em>/etc/munin/munin.conf</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>domain.tld<span style="color: #7a0874; font-weight: bold;">&#93;</span>
    address 127.0.0.1
    use_node_name <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<p>Evtl. muss man auch die Variable &#8220;<em>htmldir</em>&#8221; anpassen.</p>
<p><em>/etc/munin/munin.conf</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#host *</span>
host 127.0.0.1</pre></div></div>

<p><em>Munin</em> aktualisiert die Daten in der Standardkonfiguration alle 5 Minuten, d.h. man muss evtl. etwas warten, bis die ersten Daten über die Weboberfläche verfügbar sind. Die Weboberfläche kann über die Adresse, die man in &#8220;<em>htmldir</em>&#8221; in der Datei <em>munin.conf</em> definiert hat, aufgerufen werden. Man kann/sollte dieses Verzeichnis passwortschützen, damit nicht jeder darauf zugreifen kann.</p>
<p>Falls man Ausschau nach weiteren Plugins hält, dann ist <a href="http://muninexchange.projects.linpro.no/?about" target="_blank">http://muninexchange.projects.linpro.no/?about</a> eine gute Anlaufstelle. Des Weiteren liegen unter &#8220;<em>/usr/share/munin/plugins/</em>&#8221; weitere Plugins, die man einfach nach &#8220;<em>/etc/munin/plugins</em>&#8221; linken kann und danach noch in &#8220;<em>/etc/munin/plugin-conf.d/munin-node</em>&#8221; konfigurieren kann.</p>
<h1>apache Plugin</h1>
<p>Damit das apache-Plugin funktioniert, muss <em>mod_status</em> aktiviert werden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">a2enmod status</pre></div></div>

<p>Danach muss der Zugriff auf die Status-Seite aktiviert und geregelt werden:<br />
<em>/etc/apache2/mods-enabled/status.conf</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>IfModule mod_status.c<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Allow server status reports generated by mod_status,</span>
<span style="color: #666666; font-style: italic;"># with the URL of http://servername/server-status</span>
<span style="color: #666666; font-style: italic;"># Uncomment and change the &quot;.example.com&quot; to allow</span>
<span style="color: #666666; font-style: italic;"># access from other hosts.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>Location <span style="color: #000000; font-weight: bold;">/</span>server-status<span style="color: #000000; font-weight: bold;">&gt;</span>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost ip6-localhost
<span style="color: #666666; font-style: italic;">#    Allow from .example.com</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>Location<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;/</span>IfModule<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Quellen:</p>
<p>http://www.debuntu.org/how-to-monitoring-a-server-with-munin</p>
<p>http://munin.projects.linpro.no/wiki/plugin-conf.d</p>
]]></content:encoded>
			<wfw:commentRss>http://johker.ibutho.de/2009/04/04/der-neue-server-teil-8-monitoring-mit-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

