<?xml version="1.0" encoding="UTF-8"?>
<rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>pregos blog</title>
	
	<link>http://blog.pregos.info</link>
	<description>/me... prego!</description>
	<lastBuildDate>Sun, 13 May 2012 10:58:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PregosBlog" /><feedburner:info uri="pregosblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Create Tarball from a list of files</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/m2D6CQyWR9c/</link>
		<comments>http://blog.pregos.info/2012/05/13/create-tarball-from-a-list-of-files/#comments</comments>
		<pubDate>Sun, 13 May 2012 10:58:23 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2707</guid>
		<description><![CDATA[cat /path/to/list.txt &#124; xargs tar -cf foobar.tar]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>list.txt <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-cf</span> foobar.tar</pre></div></div>

<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/m2D6CQyWR9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/05/13/create-tarball-from-a-list-of-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/05/13/create-tarball-from-a-list-of-files/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=create-tarball-from-a-list-of-files</feedburner:origLink></item>
		<item>
		<title>Neu: Jabberserver</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/lv3oumwZ4ZM/</link>
		<comments>http://blog.pregos.info/2012/05/13/neu-jabberserver/#comments</comments>
		<pubDate>Sun, 13 May 2012 08:55:04 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[/me]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[openfire]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2697</guid>
		<description><![CDATA[Ich bin nun auch per Jabber (self hosted, openfire) erreichbar. Meine Adresse lautet: mail@jan-toenjes.de]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.pregos.info/wp-content/uploads/2012/05/jabber-200x300.png"><img class="aligncenter size-full wp-image-2698" title="jabber-200x300" src="http://blog.pregos.info/wp-content/uploads/2012/05/jabber-200x300.png" alt="" width="200" height="300" /></a></p>
<p>Ich bin nun auch per Jabber (self hosted, <a href="http://www.igniterealtime.org/projects/openfire/" target="_blank">openfire</a>) erreichbar. Meine Adresse lautet:</p>
<ul>
<li><a href="xmpp:mail@jan-toenjes.de" target="_blank">mail@jan-toenjes.de</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/lv3oumwZ4ZM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/05/13/neu-jabberserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/05/13/neu-jabberserver/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=neu-jabberserver</feedburner:origLink></item>
		<item>
		<title>Howto: Backupmailbox – ein Kochrezept</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/KTRMgi53KPI/</link>
		<comments>http://blog.pregos.info/2012/05/11/howto-backupmailbox-ein-kochrezept/#comments</comments>
		<pubDate>Fri, 11 May 2012 18:01:55 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[tr]]></category>
		<category><![CDATA[uudeview]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2689</guid>
		<description><![CDATA[Das Problem: ein Backup von wenigen aber wichtigen kleinen Dateien von einem Server machen, aber irgendwie keine Zeit den eigentlichen Backup-Client einzurichten. Sowieso ist in diesem Fall der Backup-Client auf dem Server eigentlich ein bisschen wie mit Kanonen auf Spatzen zu schiessen. Backup muss aber dennoch gemacht werden. Die Loesung: die Backupmailbox. Auf dem Mailserver [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Das Problem: </strong>ein Backup von wenigen aber wichtigen kleinen Dateien von einem Server machen, aber irgendwie keine Zeit den eigentlichen Backup-Client einzurichten. Sowieso ist in diesem Fall der Backup-Client auf dem Server eigentlich ein bisschen wie mit Kanonen auf Spatzen zu schiessen. Backup muss aber dennoch gemacht werden.</p>
<p><strong>Die Loesung:</strong> die Backupmailbox. Auf dem Mailserver wird eine Backup-Aliasmailadresse eingerichtet. Backups gehen dann per Mail an diese Adresse, ein Skript extrahiert die Anhaenge und legt sie im Dateisystem in einer Ordnerstruktur ab. Diese Ordner werden dann ueber den Backupclient - der auf dem Mailserver sowieso laeuft - mit ins regulaere Backup geschoben. Die Anhaenge werden in Unterordner gespeichert, die dem Namen der EMailadresse entsprechen um sie besser auseinanderzuhalten. Dabei wird das @ gegen einen . ersetzt. Weiter werden nur Emails bearbeitet, die als Betreff ein definiertes Zufallspasswort haben.</p>
<p><strong>Die Umsetzung:</strong> Man benoetigt einen Email-Alias, ein Skript, zwei Ordner im Dateisystem, ein Zufallspasswort und 15min Zeit eines Systemadministrators.</p>
<p>Zuerst lege man in der <em>/etc/aliases</em> einen neuen Backup-Alias an:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">backupalias: &quot;| /path/to/attatchExtract.sh&quot;</pre></div></div>

<p>und uebernehme diesen mit dem Kommando <strong>newaliases</strong>. Danach lege man unter dem definierten Pfad das folgende Skript ab:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;">## base path where attachments and logfile should be stored without trailing slash</span>
<span style="color: #007800;">BASEPATH</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## The subject needs to match this string, otherwise the mail is dropped without action</span>
<span style="color: #007800;">SECRETSUBJECT</span>=<span style="color: #ff0000;">&quot;12345&quot;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## uniq filename for temp file</span>
<span style="color: #007800;">FILENAME</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Filename = <span style="color: #007800;">$FILENAME</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## safe email to tmp file</span>
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$FILENAME</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## extract sender from email</span>
<span style="color: #007800;">SENDER</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;From:&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$FILENAME</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/.*&lt; *//;s/ *&gt;.*//'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #ff0000;">&quot;@&quot;</span> <span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Sender = <span style="color: #007800;">$SENDER</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## extract subject from email</span>
<span style="color: #007800;">SUBJECT</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;Subject:&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$FILENAME</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'/^Subject: */!d; s///; q'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Subject = <span style="color: #007800;">$SUBJECT</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## only do something if secret subject is matched</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SUBJECT</span>&quot;</span> == <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SECRETSUBJECT</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
&nbsp;
  <span style="color: #666666; font-style: italic;">## create folder for email address if doesn't exist</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$BASEPATH</span>/<span style="color: #007800;">$SENDER</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Directory <span style="color: #007800;">$BASEPATH</span>/<span style="color: #007800;">$SENDER</span> does not exist, creating it&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
    <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SENDER</span>
  <span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
&nbsp;
  <span style="color: #666666; font-style: italic;">## extract files from email and safe to correcet folder</span>
  <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>uudeview <span style="color: #660033;">-i</span> <span style="color: #660033;">-a</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SENDER</span><span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$FILENAME</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## otherwise just do nothing</span>
<span style="color: #000000; font-weight: bold;">else</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Subject didn't match secret Subject. Doing nothing...&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$BASEPATH</span><span style="color: #000000; font-weight: bold;">/</span>logfile
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">## delete tmp file</span>
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$FILENAME</span></pre></div></div>

<p>In dem Skript passe man nun das Zufallspasswort gegen ein eigenes an (<strong>makepasswd --chars 40</strong>) und aktualisiere den BASEPATH. Zuletzt noch das Skript mit <strong>chmod 755</strong> ausfuehrbar machen und das Ergebnis aus dem Mailclient seiner Wahl testen.</p>
<p>Sollte es zu Problemen kommen, dass keine Logdatei und Anhaenge abgelegt werden liegt dieses meistens an fehlenden Rechten.</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/KTRMgi53KPI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/05/11/howto-backupmailbox-ein-kochrezept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/05/11/howto-backupmailbox-ein-kochrezept/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=howto-backupmailbox-ein-kochrezept</feedburner:origLink></item>
		<item>
		<title>Neues SSL-Zertifikat und spdy Unterstuetzung</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/jjUgzJnuo-I/</link>
		<comments>http://blog.pregos.info/2012/04/30/neues-ssl-zertifikat-und-spdy-unterstuetzung/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 16:11:39 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cacert]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[spdy]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2676</guid>
		<description><![CDATA[Ab heute hat mein Blog ein neues SSL-Zertifikat von CAcert.org. Wenn mich jemand "assuren" wuerde, waere ich dem sehr dankbar. Weiter ist mein Blog nun auch ueber spdy erreichbar. Ein deutlicher Geschwindigkeitszuwachs, um es mal einfach auszudruecken. Die Installation gestaltete sich sehr einfach: runterladen, installieren, Apache neu starten, fertig. Das Apache-Modul gibt es hier bei [...]]]></description>
			<content:encoded><![CDATA[<p>Ab heute hat mein Blog ein neues SSL-Zertifikat von <a href="http://www.cacert.org" target="_blank">CAcert.org</a>. Wenn mich jemand "assuren" wuerde, waere ich dem sehr dankbar.</p>
<p>Weiter ist mein Blog nun auch ueber spdy erreichbar. Ein deutlicher Geschwindigkeitszuwachs, um es mal einfach auszudruecken. Die Installation gestaltete sich sehr einfach: runterladen, installieren, Apache neu starten, fertig. Das Apache-Modul gibt es <a href="https://developers.google.com/speed/spdy/mod_spdy/" target="_blank">hier bei Google</a>. </p>
<p>Um in den Genuss des schnelleren Seitenaufbaus zu kommen als Firefox-Nutzer unter about:config nach <strong>network.http.spdy.enabled</strong> suchen und auf <strong>true</strong> setzen.</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/jjUgzJnuo-I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/04/30/neues-ssl-zertifikat-und-spdy-unterstuetzung/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/04/30/neues-ssl-zertifikat-und-spdy-unterstuetzung/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=neues-ssl-zertifikat-und-spdy-unterstuetzung</feedburner:origLink></item>
		<item>
		<title>Howto: Apache mit SVN sowie ACL + Migration</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/wzxshy_Hrd8/</link>
		<comments>http://blog.pregos.info/2012/03/26/howto-apache-mit-svn-sowie-acl-migration/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 16:02:16 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[arbeit]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dav]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2657</guid>
		<description><![CDATA[Im folgenden ist beschrieben, wie man einen SVN-Server mit HTTP-Zugang einrichtet und anschliessend ein vorhandenes Repository auf diesen neuen Server umzieht. Die Anleitung bezieht sich auf einen Ubuntu Server, es sollte sich jedoch auf Debian Systemen alles analog verhalten. Zuerst wird die benoetigte Software installiert: apt-get install subversion libapache2-svn Danach werden die erforderlichen Ordnerstrukturen angelegt: [...]]]></description>
			<content:encoded><![CDATA[<p>Im folgenden ist beschrieben, wie man einen SVN-Server mit HTTP-Zugang einrichtet und anschliessend ein vorhandenes Repository auf diesen neuen Server umzieht. Die Anleitung bezieht sich auf einen Ubuntu Server, es sollte sich jedoch auf Debian Systemen alles analog verhalten. </p>
<p>Zuerst wird die benoetigte Software installiert:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion libapache2-svn</pre></div></div>

<p>Danach werden die erforderlichen Ordnerstrukturen angelegt:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>repository
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">chown</span> www-data:www-data <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>repository
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">770</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>repository</pre></div></div>

<p>Als naechstes wird die Datei <em>/etc/apache2/mods-available/dav_svn.conf</em> entsprechend konfiguriert. Hier werden verschiedene Dinge eingestellt, unter anderem fuer die Zugangsbeschraenkungen und ACLs:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">&lt;<span style="color: #000000; font-weight:bold;">Location</span> /svn&gt;
  <span style="color: #00007f;">DAV</span> svn
  <span style="color: #00007f;">SVNParentPath</span> /srv/svn/repository
  <span style="color: #00007f;">AuthType</span> Basic
  <span style="color: #00007f;">AuthName</span> <span style="color: #7f007f;">&quot;Subversion Repository&quot;</span>
  <span style="color: #00007f;">AuthUserFile</span> /srv/svn/dav_svn.passwd
  <span style="color: #00007f;">AuthzSVNAccessFile</span> /srv/svn/dav_svn.authz
  <span style="color: #00007f;">Require</span> valid-<span style="color: #00007f;">user</span>
&lt;/<span style="color: #000000; font-weight:bold;">Location</span>&gt;</pre></div></div>

<p>Nun wird in der <em>/srv/svn/dav_svn.passwd</em> ein neuer Benutzeraccount angelegt, der Zugriff auf das Repository bekommen soll:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">htpasswd <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>dav_svn.passwd USERNAME</pre></div></div>

<p>Und in der <em>/srv/svn/dav_svn.authz</em> die entsprechenden ACL-Rechte gesetzt:</p>

<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">[example:/]
USERNAME = rw</pre></div></div>

<p>Zum Schluss wird das Repository migriert. Dafuer muss auf dem alten Server ein entsprechender Repository-Dump erzeugt, und auf den neuen Server kopiert werden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svnadmin</span> dump <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>foobar <span style="color: #000000; font-weight: bold;">&gt;</span> foobar.dump
<span style="color: #c20cb9; font-weight: bold;">scp</span> foobar.dump user<span style="color: #000000; font-weight: bold;">@</span>example.net:</pre></div></div>

<p>Auf dem neuen Server wird nun ein neues Repository angelegt und mit dem vorher erstellten und kopierten Dump befuellt. Damit es die richtigen Rechte hat, wird es als Benutzer www-data gemacht</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>repository
<span style="color: #c20cb9; font-weight: bold;">su</span> www-data
<span style="color: #c20cb9; font-weight: bold;">svnadmin</span> create foobar
<span style="color: #c20cb9; font-weight: bold;">svnadmin</span> load foobar <span style="color: #000000; font-weight: bold;">&lt;</span> foobar.dump</pre></div></div>

<p>Das wars! Ab nun kann man auf das Repository auf den neuen Server schwenken und damit arbeiten. In diesem Beispielfall koennte es das folgende sein:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">http://example.net/svn/foobar</pre></div></div>

<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/wzxshy_Hrd8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/03/26/howto-apache-mit-svn-sowie-acl-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/03/26/howto-apache-mit-svn-sowie-acl-migration/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=howto-apache-mit-svn-sowie-acl-migration</feedburner:origLink></item>
		<item>
		<title>Bash: Summe von Integers berechnen</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/Tz4TA6gazjA/</link>
		<comments>http://blog.pregos.info/2012/03/21/bash-summe-von-integers-berechnen/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 09:10:37 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bc]]></category>
		<category><![CDATA[calculate]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[logfiles]]></category>
		<category><![CDATA[paste]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[sum]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2648</guid>
		<description><![CDATA[Ich stand gerade wieder einmal vor dem Problem, dass ich aus einer Logdatei Meldungen nach dem Muster: 582 media files copied. extrahieren und davon dann nur die Zahlen zusammenzaehlen wollte. Ein gutes Beispiel um mal ein paar Tools fuer das Arbeiten mit Texten in der Shell vorzustellen. Als erstes moechte ich alle Zeilen extrahieren. Dafuer [...]]]></description>
			<content:encoded><![CDATA[<p>Ich stand gerade wieder einmal vor dem Problem, dass ich aus einer Logdatei Meldungen nach dem Muster:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">        582 media files copied.</pre></div></div>

<p>extrahieren und davon dann nur die Zahlen zusammenzaehlen wollte. Ein gutes Beispiel um mal ein paar Tools fuer das Arbeiten mit Texten in der Shell vorzustellen.</p>
<p>Als erstes moechte ich alle Zeilen extrahieren. Dafuer nutze ich das Kommando <strong>grep</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;media files copied.&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>logfile</pre></div></div>

<p>Ich erhalte daraufhin eine Liste mit allen Zeilen, die diesen String enthalten. Als naechstes moechte ich daraus die Nummern extrahieren. Der String beginnt immer mit acht Leerzeichen, und danach steht die Nummer. Hierfuer nutze ich das Kommendo <strong>cut</strong>, das mir einen String an bestimmten Trennzeichen aufteilt und mir davon die angegebene Spalte ausgibt. Als Trennzeichen eignet sich hier das Leerzeichen, da vor und nach der Nummer eines steht. Da acht Leerzeichen am Anfang sind, brauche ich die neunte Spalte. Dieses erreiche ich mit dem folgenden Code:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;media files copied.&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>logfile <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">9</span></pre></div></div>

<p>Ich leite also mit der Pipe | die Ausgabe des grep Kommandos weiter zu cut. Das Ergebnis ist eine Liste mit vielen Zahlen, die jede fuer sich in einer eigenen Zeile stehen. Um diese nun mit Hilfe des Kommandos <strong>bc</strong> zu addieren, muss daraus noch eine Rechenaufgabe werden. Ich greife dafuer auf das Programm <strong>paste</strong> zurueck. Hiermit kann ich Zeilen zusammenfuehren und dabei den Zeilenumbruch gegen ein von mir vorgegebenes Zeichen ersetzen. In diesem Fall moechte ich, dass jede Zeile nacheineander (seriell, nicht parallel) abgearbeitet wird, und der Zeilenumbruch gegen ein "+" Zeichen ersetzt wird. Dementsprechend sieht mein Aufruf nun wie folgt aus:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;media files copied.&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>logfile <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">9</span> <span style="color: #000000; font-weight: bold;">|</span> paste -sd+</pre></div></div>

<p>Heraus kommt bei mir gerade das:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">32+32+52+32+187+208+22+793+63+632+8+16+40+293+313+48+243+96+32+579+647+768+808+18+48+102+120+258+52+18+52+52+10+52+108+137+512+48+40+48+51+96+582+52+687+101+696+48+48+784+766+776+614+599+804+32+28+779+76+32+86+99+20+34+776+837+44+824+28+803+48</pre></div></div>

<p>was ich nun nur noch zu <strong>bc</strong> pipen muss, und schon weiss ich, dass:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;media files copied.&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>logfile <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">9</span> <span style="color: #000000; font-weight: bold;">|</span> paste -sd+  <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bc</span></pre></div></div>

<p>18869 Dateien kopiert wurden.</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/Tz4TA6gazjA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/03/21/bash-summe-von-integers-berechnen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/03/21/bash-summe-von-integers-berechnen/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bash-summe-von-integers-berechnen</feedburner:origLink></item>
		<item>
		<title>Bei Postfix Absender umschreiben</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/VVo7kD_kNDg/</link>
		<comments>http://blog.pregos.info/2012/03/02/bei-postfix-absender-umschreiben/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 15:39:09 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[mailer]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2642</guid>
		<description><![CDATA[In die /etc/postfix/main.cf folgendes eintragen sender_canonical_maps = hash:/etc/postfix/sender_canonical /etc/postfix/sender_canonical anlegen mit Eintraegen wie z. B.: www-data www-data@wehateyouall.de Folgende Befehle ausfuehren postmap /etc/postfix/sender_canonical /etc/init.d/postfix restart Eine 1:1 Kopie von exdc. Ich habe es bisher immer dort nachgelesen, aber mir ist der Suchen-Suchschlutz einfach zu weit unten in der Sidebar. Darum nun eine Kopie hier rueber in [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>In die /etc/postfix/main.cf folgendes eintragen

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sender_canonical_maps = hash:/etc/postfix/sender_canonical</pre></div></div>

</li>
<li>/etc/postfix/sender_canonical anlegen mit Eintraegen wie z. B.:

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">www-data www-data@wehateyouall.de</pre></div></div>

</li>
<li>Folgende Befehle ausfuehren

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">postmap /etc/postfix/sender_canonical
/etc/init.d/postfix restart</pre></div></div>

</li>
</ol>
<p>Eine 1:1 Kopie von <a href="http://exdc.net" target="_blank">exdc</a>. Ich habe es bisher immer <a href="http://exdc.net/2010/11/03/bei-postfix-absender-umschreiben/" target="_blank">dort nachgelesen</a>, aber mir ist der Suchen-Suchschlutz einfach zu weit unten in der Sidebar. Darum nun eine Kopie hier rueber in meinen Blog.</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/VVo7kD_kNDg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/03/02/bei-postfix-absender-umschreiben/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/03/02/bei-postfix-absender-umschreiben/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bei-postfix-absender-umschreiben</feedburner:origLink></item>
		<item>
		<title>Move SIM contacts on webOS Device to Google</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/_aaK0UVtJD4/</link>
		<comments>http://blog.pregos.info/2012/02/05/move-sim-contacts-on-webos-device-to-google/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 10:03:53 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[zeugs]]></category>
		<category><![CDATA[CelleBrite]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[pre]]></category>
		<category><![CDATA[pre3]]></category>
		<category><![CDATA[sim]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[veer]]></category>
		<category><![CDATA[webos]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2630</guid>
		<description><![CDATA[I've been looking for this for ages now... Open the Phone App For CDMA phones, dial ##66623#. For GSM phones, dial #*66623# and press the green Call Button ( ) Tap the green "CelleBrite Export" button After "Step 1: Export File..." is complete, follow directions for "Step 2: Connect USB cable" and connect your phone to [...]]]></description>
			<content:encoded><![CDATA[<p>I've been looking for this for ages now...</p>
<ol>
<li>Open the Phone App <a href="http://media.precentral.net/resources/images/000/059/705/original/Phoneicon23.jpg" rel="nofollow" target="_blank"><img src="http://media.precentral.net/resources/images/000/059/705/original/Phoneicon23.jpg" alt="Phone App" width="23" height="23" align="absbottom" border="0" /></a></li>
<li>For CDMA phones, dial ##66623#. For GSM phones, dial #*66623# and press the green Call Button ( <a href="http://media.precentral.net/resources/images/000/059/706/original/PhoneCall_0.jpg" rel="nofollow" target="_blank"><img src="http://media.precentral.net/resources/images/000/059/706/original/PhoneCall_0.jpg" alt="Phone Call" width="136" height="29" align="absmiddle" border="0" /></a>)</li>
<li>Tap the green "CelleBrite Export" button</li>
<li>After "Step 1: Export File..." is complete, follow directions for "Step 2: Connect USB cable" and connect your phone to a computer via a USB cable</li>
<li>Access the USB drive by tapping on USB drive notification</li>
<li>Make sure that you set the option on the computer's File Manager to "Show hidden files and folders" and then open up the ".temp" folder on your phone</li>
<li>A file called "PmMigration.vcf" will be inside the ".temp" folder. Just copy this file off your phone and on to your computer.</li>
<li>Properly eject your USB drive. You can either just backup this file for later, or use it to import your contact list into a program or site that accepts .vcf files (e.g. Gmail)</li>
</ol>
<p>(<a href="http://forums.hpwebos.com/t5/Synergy-webOS/Move-contacts-from-Palm-Pre-Plus-into-gmail/m-p/328542#M8395" target="_blank">via</a>)</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/_aaK0UVtJD4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/02/05/move-sim-contacts-on-webos-device-to-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/02/05/move-sim-contacts-on-webos-device-to-google/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=move-sim-contacts-on-webos-device-to-google</feedburner:origLink></item>
		<item>
		<title>Howto: Nagios passive check through webproxy  // NagiosProxySender</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/CAbIXzwPeNI/</link>
		<comments>http://blog.pregos.info/2012/02/04/howto-nagios-passive-check-through-webproxy-nagiosproxysender/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 08:22:49 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2606</guid>
		<description><![CDATA[Ich moechte diesen Blogeintrag mit einer Graphik beginnen um die Ausgangsstellung besser aufzeigen zu koennen: Mein Problem ist, dass ich mit Nagios den Server 1 ueberwachen moechte, der hinter einem Webproxy sitzt. Ich kann von aussen nicht aktiv per NRPE vom Server pullen, und passiv mit NSCA pushen funktioniert auch nicht, da es nicht durch [...]]]></description>
			<content:encoded><![CDATA[<p>Ich moechte diesen Blogeintrag mit einer Graphik beginnen um die Ausgangsstellung besser aufzeigen zu koennen:</p>
<p style="text-align: center;"><a href="http://blog.pregos.info/wp-content/uploads/2012/02/scenario.png"><img class="aligncenter  wp-image-2607" title="Beispielaufbau Netzwerkszenario" src="http://blog.pregos.info/wp-content/uploads/2012/02/scenario.png" alt="" width="543" height="226" /></a></p>
<p>Mein Problem ist, dass ich mit Nagios den Server 1 ueberwachen moechte, der hinter einem Webproxy sitzt. Ich kann von aussen nicht aktiv per NRPE vom Server pullen, und passiv mit NSCA pushen funktioniert auch nicht, da es nicht durch den Webproxy geht. Als Loesungsansatz habe ich mich dann ein bisschen mit <a href="http://npa.sourceforge.net" target="_blank">NPA</a> auseinandergesetzt, bin aber zu der Ueberzeugung gekommen, dass es fuer das was ich eigentlich machen moechte zu gross und zu kompliziert ist.</p>
<p>Fragen, die ich mit einem bash-Skript nicht beantworten kann, versuche ich oft mit einem PHP-Skript zu loesen. Auch dieses mal ist es mir wieder gelungen. Das NagiosProxySender Skript erwartet drei Parameter:</p>
<ol>
<li>-h: Den in Nagios definierten Host fuer den ein Service aktualisiert werden soll</li>
<li>-s: Den in Nagios definierten Service der aktualisiert werden soll</li>
<li>-c: Den Pfad zu dem lokalen Nagios-Plugin, dass ausgefuehrt werden soll inkl. aller Parameter</li>
</ol>
<p>Weiter muessen in dem NagiosProxySender Skript verschiedene Konfigurationseinstellungen gemacht werden. Dieses sind IP und Port von dem Webproxy, die komplette URL zu dem Nagios cmd.cgi-Skript sowie die HTTP-Authentifizierungsdaten um an das cmd.cgi-Skript heranzukommen. Das war es dann eigentlich auch schon. Wenn auf dem Nagios-Server die passiven Checks eingerichtet sind kann es losgehen.</p>
<p>Ich persoenlich habe mir jeden Aufruf in ein eigenes Bash-Skript gepackt, da ich dadurch flexibler bin. Zur Veranschaulichung hier drei Beispiele. Das erste uebermittelt den Updatestatus eines debianbasierten Systems. Das zweite prueft wann eine Logdatei zuletzt geaendert wurde und gibt Warnungen aus wenn es zu lange in der Vergangenheit liegt. Der dritte Aufruf ueberprueft ob auf einem Host beim Aufruf einer URL der HTTP-Code 200 zurueckgegeben wird und auf der Seite ein bestimmter String zu finden ist. Reagiert der Server zu traege gibt es ebenfalls Meldungen.</p>
<p><strong>apt.sh</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>skripte<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>nps.php <span style="color: #660033;">-h</span> myHost <span style="color: #660033;">-s</span> UPDATE <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;/usr/lib/nagios/plugins/check_apt&quot;</span></pre></div></div>

<p><strong>log.sh</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>skripte<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>nps.php <span style="color: #660033;">-h</span> myHost <span style="color: #660033;">-s</span> LOG <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;/usr/lib/nagios/plugins/check_file -w 300 -c 900 -f /var/log/myLog-<span style="color: #007800;">$(date +%Y%m)</span>.log&quot;</span></pre></div></div>

<p><strong>http.sh</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>skripte<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>nps.php <span style="color: #660033;">-h</span> myHost <span style="color: #660033;">-s</span> HTTP <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;/usr/lib/nagios/plugins/check_http -H 1.2.3.4 -u http://www.example.net/my/page.html -e <span style="color: #000099; font-weight: bold;">\&quot;</span>HTTP/1.1 200<span style="color: #000099; font-weight: bold;">\&quot;</span> -s <span style="color: #000099; font-weight: bold;">\&quot;</span>foobar <span style="color: #000099; font-weight: bold;">\&quot;</span> -w 10 -c 20&quot;</span></pre></div></div>

<p>All diese Skripte rufe ich in den von mir gewuenschten Intervallen mit cron auf. Dafuer habe ich mir die Datei <em>/etc/cron.d/nagios-passive</em> angelegt:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Regular cron jobs for the nagios passive checks</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
<span style="color: #000000;">1</span>          <span style="color: #000000;">8</span>,<span style="color: #000000;">16</span>         <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span>   user    <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>skripte<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>apt.sh
<span style="color: #000000;">1</span>,<span style="color: #000000;">15</span>,<span style="color: #000000;">30</span>,<span style="color: #000000;">45</span> <span style="color: #000000; font-weight: bold;">*</span>            <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span>   user    <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>skripte<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>log.sh
<span style="color: #000000;">1</span>,<span style="color: #000000;">15</span>,<span style="color: #000000;">30</span>,<span style="color: #000000;">45</span> <span style="color: #000000; font-weight: bold;">*</span>            <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span>   user    <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>skripte<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>http.sh</pre></div></div>

<p>Zu guter letzt natuerlich das NagiosProxySender Skript (nps.php):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Name:	Nagios Proxy Sender
 *
 * Description:	This script sends the output of a Nagios plugin through 
 *              a webproxy to the Nagios server using the cmd.cgi.
 *
 * Parameter:	-h:  Host name specified in Nagios that you want to update
 *		-s:  Service name of the host that you want to update
 *		-c:  Nagios plugin that you would like to execute with all 
 *                   parameters
 *
 *
 * Usage:	php nps.php -h myHost -s SERVICE -c &quot;/usr/lib/nagios/plugins/check_dummy 0 foo&quot;
 *
 *
 * Changelog:	2012-02-02 - initial Release  // Jan Toenjes &lt;jan.toenjes@intranda.com&gt;
 *
 ***/</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Please define your settings in this section 
 ***/</span>
<span style="color: #000088;">$baseurl</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://www.example.net/nagios/cgi-bin/cmd.cgi'</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">// set url to nagios cmd.cgi script</span>
<span style="color: #000088;">$http_username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'username'</span><span style="color: #339933;">;</span>					<span style="color: #666666; font-style: italic;">// set username for http authentication</span>
<span style="color: #000088;">$http_password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'password'</span><span style="color: #339933;">;</span>				        <span style="color: #666666; font-style: italic;">// set password for http authentication</span>
&nbsp;
<span style="color: #000088;">$proxy_host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'webproxy'</span><span style="color: #339933;">;</span>					<span style="color: #666666; font-style: italic;">// set proxy hostname or ip address here</span>
<span style="color: #000088;">$proxy_port</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'8080'</span><span style="color: #339933;">;</span>						<span style="color: #666666; font-style: italic;">// set proxy port here</span>
&nbsp;
<span style="color: #000088;">$verbose</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> 							<span style="color: #666666; font-style: italic;">// set to 1 if you want some output</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Get commands passed as arguments to this script and give error message
 * if something seems to be wrong... 
 ***/</span>
<span style="color: #000088;">$options</span> <span style="color: #339933;">=</span> <span style="color: #990000;">getopt</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;h:s:c:&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;There was a problem reading in the options.<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;3&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;You need to specify the following parameters: <span style="color: #000099; font-weight: bold;">\n</span>
  -h:   Host name specified in Nagios that you want to update
  -s:   Service name of the host that you want to update
  -c:   Nagios plugin that you would like to execute <span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$verbose</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #990000;">print_r</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'h'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$service</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'s'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$check</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'c'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Perform actual Nagios check and give error message
 * if the return code is not a valid Nagios return code
 ***/</span>
<span style="color: #990000;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$check</span> 2&gt;&amp;1&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$output</span><span style="color: #339933;">,</span> <span style="color: #000088;">$returnCode</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$returnCode</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;0&quot;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$returnCode</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;1&quot;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$returnCode</span> <span style="color: #339933;">!=</span><span style="color: #0000ff;">&quot;2&quot;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$returnCode</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;3&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;There was a problem running the Nagios check. Please check:
	Output: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$output</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;
	Return Code: <span style="color: #006699; font-weight: bold;">$returnCode</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$plugin_state</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$returnCode</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$plugin_output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$output</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$verbose</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;plugin_state = <span style="color: #006699; font-weight: bold;">$returnCode</span> <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;plugin_output = <span style="color: #006699; font-weight: bold;">$output[0]</span> <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Create GET URL to pass the information to Nagios
 ***/</span>
<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$baseurl</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;?cmd_typ=30&amp;cmd_mod=2&amp;host=<span style="color: #006699; font-weight: bold;">$host</span>&amp;service=<span style="color: #006699; font-weight: bold;">$service</span>&amp;plugin_state=<span style="color: #006699; font-weight: bold;">$plugin_state</span>&amp;plugin_output=<span style="color: #006699; font-weight: bold;">$plugin_output</span>&amp;btnSubmit=Commit&quot;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Trigger the GET URL using the provided proxy and HTTP Authentification information
 ***/</span>
<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HTTPPROXYTUNNEL<span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_PROXY<span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$proxy_host</span>:<span style="color: #006699; font-weight: bold;">$proxy_port</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_FOLLOWLOCATION<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_CUSTOMREQUEST<span style="color: #339933;">,</span><span style="color: #0000ff;">'GET'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_USERPWD<span style="color: #339933;">,</span> <span style="color: #000088;">$http_username</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;:&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$http_password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$curl_output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$http_status</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_getinfo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLINFO_HTTP_CODE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/***
 * Success and error handling
 ***/</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$http_status</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;200&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Success: The output was sent to Nagios successfully!<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$http_status</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Error: Nothing was sent to the Nagios server. Please check your proxy settings.<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;Error: HTTP-Code <span style="color: #006699; font-weight: bold;">$http_status</span> received. Please check the given information.<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$verbose</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #990000;">print_r</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl_output</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/CAbIXzwPeNI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/02/04/howto-nagios-passive-check-through-webproxy-nagiosproxysender/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/02/04/howto-nagios-passive-check-through-webproxy-nagiosproxysender/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=howto-nagios-passive-check-through-webproxy-nagiosproxysender</feedburner:origLink></item>
		<item>
		<title>Hide advertisement from Firefox-Twitter-Client Echofon</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/wVeY8XWIj1g/</link>
		<comments>http://blog.pregos.info/2012/02/02/hide-advertisment-from-firefox-twitter-client-echofon/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 15:56:13 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[netz]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[echofon]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[userChrome]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2594</guid>
		<description><![CDATA[1. Oeffnen oder erstellen: ~/.mozilla/firefox/MYPROFILE.default/chrome/userChrome.css 2. Folgenden Inhalt reinkopieren: #echofon-ad-unit &#123; display: none !important; &#125; 3. Firefox neustarten Den Tip hier habe ich von da. An dieser Stelle auch noch einmal der Hinweis auf das verschieben der Sidebar auf die rechte Seite.]]></description>
			<content:encoded><![CDATA[<p>1. Oeffnen oder erstellen:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">~/.mozilla/firefox/MYPROFILE.default/chrome/userChrome.css</pre></div></div>

<p>2. Folgenden Inhalt reinkopieren:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#echofon-ad-unit</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>3. Firefox neustarten</p>
<p>Den Tip hier habe ich von <a href="https://twitter.com/#!/tugaru_san/status/165015822979432449" target="_blank">da</a>. An dieser Stelle auch noch einmal der Hinweis auf das <a title="Move Firefox Sidebar to the right" href="http://blog.pregos.info/2011/04/06/move-firefox-sidebar-to-the-right/" target="_blank">verschieben der Sidebar auf die rechte Seite</a>.</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/wVeY8XWIj1g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/02/02/hide-advertisment-from-firefox-twitter-client-echofon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/02/02/hide-advertisment-from-firefox-twitter-client-echofon/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=hide-advertisment-from-firefox-twitter-client-echofon</feedburner:origLink></item>
		<item>
		<title>Vim und ^M</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/VuV82t4Qg6Y/</link>
		<comments>http://blog.pregos.info/2012/02/01/vim-und-m/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 08:58:49 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2590</guid>
		<description><![CDATA[Hatte grad mal wieder das Problem, dass ich in vim eine Textdatei geoeffnet hatte, die voll von ^M war... In der Vim Tips Wiki steht hier was dazu, damit man nicht soviel lesen muss: :%s/^M/\r/g Nicht c&#038;p machen davon, sondern das ^M mit Strg+v und Strg+m eingeben]]></description>
			<content:encoded><![CDATA[<p>Hatte grad mal wieder das Problem, dass ich in vim eine Textdatei geoeffnet hatte, die voll von ^M war... In der Vim Tips Wiki steht <a href="http://vim.wikia.com/wiki/%5EM" target="_blank">hier</a> was dazu, damit man nicht soviel lesen muss:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">:%s/^M/\r/g</pre></div></div>

<p>Nicht c&#038;p machen davon, sondern das ^M mit Strg+v und Strg+m eingeben <img src='http://blog.pregos.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/VuV82t4Qg6Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/02/01/vim-und-m/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/02/01/vim-und-m/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vim-und-m</feedburner:origLink></item>
		<item>
		<title>Bash: find broken symlinks in file system</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/DjFWY3__M2s/</link>
		<comments>http://blog.pregos.info/2012/01/31/bash-find-broken-symlinks-in-file-system/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:24:33 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[zeugs]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[while]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2586</guid>
		<description><![CDATA[Befehl: find /path/to/folder -type l &#124; &#40;while read broken; do test -e &#34;$broken&#34; &#124;&#124; ls -ld &#34;$broken&#34;; done&#41; Uebersetzung: Suche mir alle Dateien vom Typ "Link" im Verzeichnis /path/to/folder inkl. allen Unterverzeichnissen und gib mir den kompletten Pfad zu den Links aus. Die Ausgabe wird in eine WHILE-Schleife gepipt die diese zeilenweise einliest. Fuer jede [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Befehl:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>folder <span style="color: #660033;">-type</span> l <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> broken; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$broken</span>&quot;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-ld</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$broken</span>&quot;</span>; <span style="color: #000000; font-weight: bold;">done</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p><strong>Uebersetzung:</strong><br />
Suche mir alle Dateien vom Typ "Link" im Verzeichnis /path/to/folder inkl. allen Unterverzeichnissen und gib mir den kompletten Pfad zu den Links aus. Die Ausgabe wird in eine WHILE-Schleife gepipt die diese zeilenweise einliest. Fuer jede Zeile wird einmal getestet ob die Datei existiert. Wenn die Datei existiert isses dufte, wenn nicht gib den defekten Link aus.</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/DjFWY3__M2s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/01/31/bash-find-broken-symlinks-in-file-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/01/31/bash-find-broken-symlinks-in-file-system/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bash-find-broken-symlinks-in-file-system</feedburner:origLink></item>
		<item>
		<title>Linux: Create Partition larger than 2TB</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/kJChauaOyVU/</link>
		<comments>http://blog.pregos.info/2012/01/02/linux-create-partition-larger-than-2tb/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 10:30:00 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[2TB]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[festplatten]]></category>
		<category><![CDATA[GPT]]></category>
		<category><![CDATA[harddisk]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[klein]]></category>
		<category><![CDATA[parted]]></category>
		<category><![CDATA[Partitionierung]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2579</guid>
		<description><![CDATA[Die Zeiten kleiner Festplatten ist schon lange vorbei, schon vor einiger Zeit schrieb ich darueber, aber finde es nicht so recht im eigenen Blog wieder, deswegen nochmal ein eigener Post dazu. Wichtig ist, dass man mit parted und nicht mit fdisk arbeitet, weil man GPT benoetigt und fdisk das nich kann. Deswegen erstmal parted installieren [...]]]></description>
			<content:encoded><![CDATA[<p>Die Zeiten kleiner Festplatten ist schon lange vorbei, schon vor einiger Zeit <a title="Zum festhalten: parted, LVM, virsh" href="http://blog.pregos.info/2009/12/14/zum-festhalten-parted-lvm-virsh/">schrieb ich darueber</a>, aber finde es nicht so recht im eigenen Blog wieder, deswegen nochmal ein eigener Post dazu. Wichtig ist, dass man mit parted und nicht mit fdisk arbeitet, weil man <a href="http://de.wikipedia.org/wiki/GUID_Partition_Table" target="_blank">GPT</a> benoetigt und fdisk das nich kann. Deswegen erstmal parted installieren wenn es noch nicht geschehen ist:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>desktop:~<span style="color: #666666; font-style: italic;"># aptitude install parted</span></pre></div></div>

<p>und dann die Partition anlegen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>desktop:~<span style="color: #666666; font-style: italic;"># parted /dev/vda</span>
GNU Parted <span style="color: #000000;">2.2</span>
Using <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vda
Welcome to GNU Parted<span style="color: #000000; font-weight: bold;">!</span> Type <span style="color: #ff0000;">'help'</span> to view a list of commands.
<span style="color: #7a0874; font-weight: bold;">&#40;</span>parted<span style="color: #7a0874; font-weight: bold;">&#41;</span> mklabel gpt
Warning: The existing disk label on <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vda will be destroyed and all data on this disk will be lost. Do you want to
<span style="color: #7a0874; font-weight: bold;">continue</span>?
Yes<span style="color: #000000; font-weight: bold;">/</span>No? <span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>parted<span style="color: #7a0874; font-weight: bold;">&#41;</span> print
Model: Virtio Block Device <span style="color: #7a0874; font-weight: bold;">&#40;</span>virtblk<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Disk <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vda: 5369GB
Sector <span style="color: #c20cb9; font-weight: bold;">size</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>logical<span style="color: #000000; font-weight: bold;">/</span>physical<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 512B<span style="color: #000000; font-weight: bold;">/</span>512B
Partition Table: gpt
&nbsp;
Number  Start  End  Size  File system  Name  Flags
<span style="color: #7a0874; font-weight: bold;">&#40;</span>parted<span style="color: #7a0874; font-weight: bold;">&#41;</span> unit TB
<span style="color: #7a0874; font-weight: bold;">&#40;</span>parted<span style="color: #7a0874; font-weight: bold;">&#41;</span> mkpart primary 0.00TB 5.37TB
<span style="color: #7a0874; font-weight: bold;">&#40;</span>parted<span style="color: #7a0874; font-weight: bold;">&#41;</span> print
Model: Virtio Block Device <span style="color: #7a0874; font-weight: bold;">&#40;</span>virtblk<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Disk <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vda: 5.37TB
Sector <span style="color: #c20cb9; font-weight: bold;">size</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>logical<span style="color: #000000; font-weight: bold;">/</span>physical<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 512B<span style="color: #000000; font-weight: bold;">/</span>512B
Partition Table: gpt
&nbsp;
Number  Start   End     Size    File system  Name     Flags
<span style="color: #000000;">1</span>      0.00TB  5.37TB  5.37TB  ext4         primary
<span style="color: #7a0874; font-weight: bold;">&#40;</span>parted<span style="color: #7a0874; font-weight: bold;">&#41;</span> quit
Information: You may need to update <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab.
&nbsp;
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~<span style="color: #666666; font-style: italic;">#</span></pre></div></div>

<p>zum Schluss Dateisystem erzeugen und fstab anpassen...</p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/kJChauaOyVU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2012/01/02/linux-create-partition-larger-than-2tb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2012/01/02/linux-create-partition-larger-than-2tb/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=linux-create-partition-larger-than-2tb</feedburner:origLink></item>
		<item>
		<title>Ubuntu: Update Sun-Java inkl. Firefox Plugin</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/Nb89XyMyUQI/</link>
		<comments>http://blog.pregos.info/2011/12/21/ubuntu-update-sun-java-inkl-firefox-plugin/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 08:23:44 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zeugs]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2568</guid>
		<description><![CDATA[Auf der folgenden Seite die selbstextrahierende Datei fuer 32 oder 64bit herunterladen: Klick Terminal oeffnen und los: user@desktop:~$ sudo su root@desktop:~$ cd /usr/lib/jvm/ root@desktop:~$ mv java-6-sun java-6-sun-old root@desktop:~$ chmod +x jre-6u30-linux-i586.bin root@desktop:~$ ./jre-6u30-linux-i586.bin root@desktop:~$ rm jre-6u30-linux-i586.bin root@desktop:~$ mv jre1.6.0_30/ java-6-sun-1.6.0.30 root@desktop:~$ ln -sf java-6-sun-1.6.0.30/ java-6-sun root@desktop:~$ ln -s /usr/lib/jvm/java-6-sun/lib/i386/libnpjp2.so /etc/alternatives/mozilla-javaplugin.so root@desktop:~$ ln -sf /etc/alternatives/mozilla-javaplugin.so /usr/lib/mozilla/plugins/libjavaplugin.so [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Auf der folgenden Seite die selbstextrahierende Datei fuer 32 oder 64bit herunterladen: <a href="http://www.java.com/en/download/linux_manual.jsp?locale=en" target="_blank">Klick</a></li>
<li>Terminal oeffnen und los:</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">user<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span>
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">mv</span> java-<span style="color: #000000;">6</span>-sun java-<span style="color: #000000;">6</span>-sun-old
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x jre-6u30-linux-i586.bin
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ .<span style="color: #000000; font-weight: bold;">/</span>jre-6u30-linux-i586.bin
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">rm</span> jre-6u30-linux-i586.bin
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">mv</span> jre1.6.0_30<span style="color: #000000; font-weight: bold;">/</span> java-<span style="color: #000000;">6</span>-sun-1.6.0.30
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> java-<span style="color: #000000;">6</span>-sun-1.6.0.30<span style="color: #000000; font-weight: bold;">/</span> java-<span style="color: #000000;">6</span>-sun
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>libnpjp2.so <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>alternatives<span style="color: #000000; font-weight: bold;">/</span>mozilla-javaplugin.so
root<span style="color: #000000; font-weight: bold;">@</span>desktop:~$ <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>alternatives<span style="color: #000000; font-weight: bold;">/</span>mozilla-javaplugin.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>libjavaplugin.so</pre></div></div>

<ul>
<li> Terminal schliessen, Firefox neustarten und dann kann man mit about:plugins sehen, dass alles so is wie es sein soll </li>
</ul>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/Nb89XyMyUQI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2011/12/21/ubuntu-update-sun-java-inkl-firefox-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2011/12/21/ubuntu-update-sun-java-inkl-firefox-plugin/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu-update-sun-java-inkl-firefox-plugin</feedburner:origLink></item>
		<item>
		<title>Netgear ReadyNAS 2100 &amp; NVX – Nagios [UPDATE2]</title>
		<link>http://feedproxy.google.com/~r/PregosBlog/~3/0AqqPNJ281k/</link>
		<comments>http://blog.pregos.info/2011/11/29/netgear-readynas-2100-nvx-%e2%80%93-nagios-update2/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 16:27:42 +0000</pubDate>
		<dc:creator>prego</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[check_readynas]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[netgear]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[readynas]]></category>
		<category><![CDATA[readynas 2100]]></category>
		<category><![CDATA[readynas nvx]]></category>

		<guid isPermaLink="false">http://blog.pregos.info/?p=2559</guid>
		<description><![CDATA[New version of the plugin. Quite some fixes and changes. Thanks to Peter Glas for contacting me and walking through the issues. You can find the updated version of the script here: check_readynas]]></description>
			<content:encoded><![CDATA[<p>New version of the plugin. Quite some fixes and changes. Thanks to Peter Glas for contacting me and walking through the issues. You can find the updated version of the script here: <a href='http://blog.pregos.info/wp-content/uploads/2011/11/check_readynas.txt'>check_readynas</a></p>
<img src="http://feeds.feedburner.com/~r/PregosBlog/~4/0AqqPNJ281k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pregos.info/2011/11/29/netgear-readynas-2100-nvx-%e2%80%93-nagios-update2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.pregos.info/2011/11/29/netgear-readynas-2100-nvx-%e2%80%93-nagios-update2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=netgear-readynas-2100-nvx-%25e2%2580%2593-nagios-update2</feedburner:origLink></item>
	</channel>
</rss>

