<?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>Schose's Blog &#187; Linux</title>
	<atom:link href="http://blog.schose.net/index.php/archives/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.schose.net</link>
	<description>I like default settings!!! ;)</description>
	<lastBuildDate>Tue, 03 Mar 2009 01:01:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;&#8230; momentan geht hier gar nix &#8230;&#8221;</title>
		<link>http://blog.schose.net/index.php/archives/254</link>
		<comments>http://blog.schose.net/index.php/archives/254#comments</comments>
		<pubDate>Tue, 03 Mar 2009 01:01:01 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[privat]]></category>

		<guid isPermaLink="false">http://blog.schose.net/?p=254</guid>
		<description><![CDATA[Mein Rootserver ist gerade nicht erreichbar. Letzer Hop sieht irgendwie kaputt aus, klassischer Fall sich an den Provider zu wenden. Das Supportgespräch gerade mal nachgetippt:
Ich: &#8220;sie brauchen bestimmt Vertrags- oder Kundennr.?!&#8221;
Support: &#8220;die habe ich &#8211; leider komme ich gerade nicht an ihre Daten. Aber vieleicht kann ich ihnen auch so helfen&#8221;
Ich: &#8220;naja mein Rootserver ist [...]]]></description>
			<content:encoded><![CDATA[<p>Mein Rootserver ist gerade nicht erreichbar. Letzer Hop sieht irgendwie kaputt aus, klassischer Fall sich an den Provider zu wenden. Das Supportgespräch gerade mal nachgetippt:</p>
<p><strong>Ich</strong>: &#8220;sie brauchen bestimmt Vertrags- oder Kundennr.?!&#8221;<br />
<strong>Support</strong>: &#8220;die habe ich &#8211; leider komme ich gerade nicht an ihre Daten. Aber vieleicht kann ich ihnen auch so helfen&#8221;<br />
<strong>Ich</strong>: &#8220;naja mein Rootserver ist nicht erreichbar..&#8221;<br />
<strong>Support</strong>: &#8220;haben sie das Rescuesystemprobiert?&#8221;<br />
<strong>Ich</strong>: &#8220;ja &#8211; netzwerkseitig sieht der letzte Hop aber sehr komisch aus &#8211; hohe Latenz, andere Hosts aus dem Subnetz werden über anderen Weg geroutet und funktionieren.&#8221;<br />
<strong>Support</strong>: &#8220;doof! (wortwörtlich!). Ich würde gerne nachschauen, aber die Supportdatenbank ist gerade nicht erreichbar. Momentan geht hier gar nix!&#8221;<br />
<strong>Ich</strong>: &#8220;haben sie mal den Support gefragt?!&#8221;<br />
<strong>Support</strong>: &#8220;ich hoffe(!) irgendwann heute nacht geht es wieder. Leider kann ich momentan nicht helfen. Bitte rufen sie morgen früh wieder an.&#8221;</p>
<p>Gut das dieses Gespräch nur 0,99 EUR gekostet hat.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/254/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citrix WI/PNAgent Site über Nagios monitoren</title>
		<link>http://blog.schose.net/index.php/archives/221</link>
		<comments>http://blog.schose.net/index.php/archives/221#comments</comments>
		<pubDate>Mon, 19 Jan 2009 22:59:34 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Terminal services]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.schose.net/?p=221</guid>
		<description><![CDATA[Das Citrix Webinterface wird von jedem Program Neighborhood Agent angesprochen um die veröffentlichten Anwendungen für den jeweiligen User zu bestimmen. Ist diese Komponente nicht verfügbar, sind von Windowsagents keine Anmeldungen möglich. Aus diesem Grund sollte Anmeldungen überwacht werden. Hier wird eine Möglichkeit zur Überwachung mit Nagios beschrieben. 


Kommunikationswege:
Technisch stellt der Agent an das Citrix Webinterface [...]]]></description>
			<content:encoded><![CDATA[<p>Das Citrix Webinterface wird von jedem Program Neighborhood Agent angesprochen um die veröffentlichten Anwendungen für den jeweiligen User zu bestimmen. Ist diese Komponente nicht verfügbar, sind von Windowsagents keine Anmeldungen möglich. Aus diesem Grund sollte Anmeldungen überwacht werden. Hier wird eine Möglichkeit zur Überwachung mit Nagios beschrieben. </p>
<p><a href="http://blog.schose.net/uploads/2009/01/zeichnung.png"><img src="http://blog.schose.net/uploads/2009/01/zeichnung.png" alt="" title="zeichnung" width="500" height="350" class="aligncenter size-full wp-image-222" /></a></p>
<p><span id="more-221"></span></p>
<p><strong>Kommunikationswege:</strong></p>
<p>Technisch stellt der Agent an das Citrix Webinterface PNAgent Site erst eine GET Anfrage (kann weggelassen werden) und übermittelt danach per POST Username und Passwort. Daraufhin leitet das Webinterface die Usercredentials and den Citrix XML-Service weiter und erhält die Liste der Anwendungen, welche für den User konfiguriert sind als XML. </p>
<p><strong>Simulieren des Logins</strong></p>
<p>Um unsere Anfrage zu simulieren müssen wir den Verkehr mit einem Tool wie Wireshark mitschneiden. Um mitlesen zu können sollten wir gegen ein Webinterface arbeiten, welches per HTTP anzusprechen ist.</p>
<p>Im vorhinein wird ein User benötigt für welchen wenigstens eine veröffentlichte Anwendung definiert ist. </p>
<p>Da mehrere Logins mit dem gleichem Passwort immer das selbe verschlüsselte Passwort ergeben, ist davon auszugehen, dass ein XOR mit einem geheimen Wert gemacht wird. </p>
<p>Die POST Anfrage vom Client zu Server sieht ungefähr folgendermaßen aus:</p>
<p>erst nen bischen allgemeines Zeug:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span> ?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span> !DOCTYPE NFuseProtocol SYSTEM <span style="color: #ff0000;">&quot;NFuse.dtd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nfuseprotocol</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;4.6&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;requestappdata<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;scope</span> <span style="color: #000066;">traverse</span>=<span style="color: #ff0000;">&quot;onelevel&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;PNFolder&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/requestappdata<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/nfuseprotocol<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;desireddetails<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>all<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/desireddetails<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;desireddetails<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>icon-info<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/desireddetails<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servertype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>x<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servertype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servertype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>win32<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servertype<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;clienttype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>ica30<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/clienttype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;clienttype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>content<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/clienttype<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>nun die Usercredentials:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;credentials<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>MYUSERACCOUNTTOCHECK<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;password</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;ctx1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>THISISMYCRYPTEDPASSWORD<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;domain</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;NT&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>MYDOMAIN<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/domain<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/credentials<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>ein bischen unnützes Zeug:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;clientname<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>MYCLIENTNAME<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/clientname<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;clientaddress<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>111.222.333.444<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/clientaddress<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>NagiosPlugin</strong></p>
<p>Eins vorweg: ich weiss, dass es &#8220;smartere&#8221; Möglichkeiten gibt, aber es muss platz für Verbesserung geben. Ich denke ich werde das gesammte Plugin demnächst nochmal überarbeiten und schick machen.</p>
<p>Mit dem check_http Plugin &#8211; defaultplugin von Nagios &#8211; kann ein Post Anfrage simuliert und die Rückgabe geparsed werden. Wird dein definiertes Pattern gefunden liefert das Script &#8220;OK&#8221; und eine Antwortzeit. Diese Rückgabe parsen wir mit dem check_wiserver.sh Script. </p>
<p>check_wiserver.sh:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #007800;">a</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>nagios<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>check_http <span style="color: #660033;">-I</span> 111.112.113.114 <span style="color: #660033;">-u</span> http:<span style="color: #000000; font-weight: bold;">//</span>mywebinterfaceserver<span style="color: #000000; font-weight: bold;">/</span>citrix<span style="color: #000000; font-weight: bold;">/</span>pnagent<span style="color: #000000; font-weight: bold;">/</span>enum.aspx <span style="color: #660033;">-s</span> MyMonitoringApp <span style="color: #660033;">-P</span> <span style="color: #ff0000;">'&lt; ?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt; !DOCTYPE NFuseProtocol SYSTEM &quot;NFuse.dtd&quot;&gt;&lt;nfuseprotocol version=&quot;4.6&quot;&gt;&lt;requestappdata&gt;&lt;scope traverse=&quot;onelevel&quot; type=&quot;PNFolder&quot;/&gt;&lt;desireddetails&gt;all&lt;/desireddetails&gt;&lt;desireddetails&gt;icon-info&lt;/desireddetails&gt;&lt;servertype&gt;x&lt;/servertype&gt;&lt;servertype&gt;win32&lt;/servertype&gt;&lt;clienttype&gt;ica30&lt;/clienttype&gt;&lt;clienttype&gt;content&lt;/clienttype&gt;&lt;credentials&gt;&lt;username&gt;MYUSERACCOUNTTOCHECK&lt;/username&gt;&lt;password encoding=&quot;ctx1&quot;&gt;THISISMYCRYPTEDPASSWORD&lt;/password&gt;&lt;domain type=&quot;NT&quot;&gt;MYDOMAIN&lt;/domain&gt;&lt;/credentials&gt;&lt;clientname&gt;Nagisserver&lt;/clientname&gt;&lt;clientaddress&gt;115.116.117.118&lt;/clientaddress&gt;&lt;/requestappdata&gt;&lt;/nfuseprotocol&gt;'</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #007800;">zeic</span>=<span style="color: #000000; font-weight: bold;">`/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$a</span> |/bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">grep</span> OK<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$zeic&quot;</span> = <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
&nbsp;
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$a</span>
  <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">2</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$a</span>
<span style="color: #7a0874; font-weight: bold;">exit</span> 0</pre></div></div>

<p>In diesem Beispiel wird der Host 111.112.113.114 auf der URL http://mywebinterfaceserver/citrix/pnagent/enum.aspx mit den Usercredentials MYUSERACCOUNTTOCHECK mit dem verschlüsseltem Passwort &#8220;THISISMYCRYPTEDPASSWORD&#8221; abgefragt. In der Rückabe wird nach der veröffentlichten Anwendung &#8220;MyMonitoringApp&#8221; geparsed und &#8220;OK&#8221; zurückgegeben. Daraufhin liefert check_wiserver.sh 2 für Error oder 0 für OK an Nagios zurück.</p>
<p>Dieses Script muss nun lediglich noch als Command im Nagios definiert werden.</p>
<p><strong>Zusammenfassung</strong></p>
<ul>
was wird mit der Probe überwacht?</p>
<li>Authentifizierungbackend (z.B.: Active Directory)</li>
<li>XML Service liefert valide Antworten</li>
<li>Web Interface Agent Site </li>
</ul>
<ul>was wird mit der Probe nicht überwacht?</p>
<li>Citrix Datastore</li>
<li>Citrix Licensing (hierzu kommt demnächst ein Blogpost)</li>
<li>&#8220;richtiges Login&#8221; wie Citrix Active Application Monitoring oder Openview</li>
</ul>
<ul>was muss getan werden:</p>
<li>Monitoringuser anlegen und Anwendung veröffentlichen</li>
<li>Login mit expliziten Credentials tracen um verschlüsseltes Passwort zu erhalten</li>
<li>in check_wiserver.sh hostname, sitename und usercredentials anpassen, ggf. Pfad zu check_http anpassen
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/221/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passwortmanagement mit Keepass &#8211; Screencast</title>
		<link>http://blog.schose.net/index.php/archives/143</link>
		<comments>http://blog.schose.net/index.php/archives/143#comments</comments>
		<pubDate>Tue, 19 Aug 2008 21:41:45 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.schose.net/?p=143</guid>
		<description><![CDATA[Es hat fast 6 Monate gedauert bis alles nachbearbeitet, geschnitten und endlich ein brauchbares Wordpress FLV Plugin gefunden war. Jetzt ist es endlich soweit &#8211; der Screencast zu Keepass ist endlich online. Produziert habe ich ihn zusammen mit Johannes (http://www.krausmueller.de). Er soll einen kurzen Überblick über die Basisfunktionen von Keepass geben.
Leider haben wir zum ersten [...]]]></description>
			<content:encoded><![CDATA[<p>Es hat fast 6 Monate gedauert bis alles nachbearbeitet, geschnitten und endlich ein brauchbares Wordpress FLV Plugin gefunden war. Jetzt ist es endlich soweit &#8211; der Screencast zu Keepass ist endlich online. Produziert habe ich ihn zusammen mit Johannes (<a href="http://www.krausmueller.de">http://www.krausmueller.de</a>). Er soll einen kurzen Überblick über die Basisfunktionen von Keepass geben.</p>
<p>Leider haben wir zum ersten &#8220;Schuss&#8221; nur 2 Billigmikros genommen. Trotzdem hoffe ich dass ihr es uns die schlechte Audioqulität verzeiht &#8211; das nächste mal wird&#8217;s besser &#8211; versprochen!</p>
[See post to watch Flash video]
<p>Mittlerweile sind einige Statements zu &#8220;alt&#8221;. Autotype funktioniert beispielsweise mit Linux.</p>
<p>Nachdem ich ca. 15 FLV Plugins für Wordpress durchprobiert habe, kann ich <a href="http://www.channel-ai.com/blog/plugins/flv-embed/ ">FLV-embed </a> empfehlen. Alles andere is überladen, bietet kein fullscreenmodus oder ist fummelig in der Installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/143/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mal eben nen Wordpress update machen</title>
		<link>http://blog.schose.net/index.php/archives/139</link>
		<comments>http://blog.schose.net/index.php/archives/139#comments</comments>
		<pubDate>Wed, 23 Jul 2008 20:33:46 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.schose.net/?p=139</guid>
		<description><![CDATA[&#8230; und dann um die 404 Probleme bei den Bildern im Blog kümmern. Schon am ersten Punkt kann man(n) fast verzweifeln. 
Beim Update meiner steinalten 2.2.3 Wordpress Version auf 2.6.0 funktionierten nach dem Update weder die Permanlinks (Links zu den Artikeln) noch wurde nur eine Kategorie angezeigt.
Das Kategorieproblem  war schnell bei Google gefunden, aber [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; und dann um die 404 Probleme bei den Bildern im Blog kümmern. Schon am ersten Punkt kann man(n) fast verzweifeln. </p>
<p>Beim Update meiner steinalten 2.2.3 Wordpress Version auf 2.6.0 funktionierten nach dem Update weder die Permanlinks (Links zu den Artikeln) noch wurde nur eine Kategorie angezeigt.</p>
<p>Das <a href="ttp://blog.cumps.be/wordpress-26-upgrade-fix-missing-categories/">Kategorieproblem </a> war schnell bei Google gefunden, aber ich hatte wenig Lust händisch in der Datenbank rum zufummeln und beim nächsten Update wieder auf Gesicht zu fallen.</p>
<p><span id="more-139"></span></p>
<p>Nächster Ansatz war ein schrittweiser Upgrade von 2.2.3 auf 2.3.3., 2.5.1 dann 2.6.0. Hier bestand bei 2.5.1 das Problem, dass ein Login auf der Adminoberfläche &#8211; Dashboard &#8211; nicht möglich war.<br />
Gefixt hat nach etlichen probieren dann die 2.2.3 von allen Plugins zu befreien, schrittweise upzudaten und die Plugins wieder zu aktivieren.</p>
<p>Da das Permalink Problem nach dem Update von 2.5.1 auf 2.6.0 immernoch besteht werde ich die nächsten Tage weiter rumprobieren oder auf einen neue Version warten. Auf jeden Fall sollte im gleichen Zuge das Problem mit den Popup Bildern behoben werden. Das Problem ist den Entwicklern anscheinend bekannt und soll mit 2.6.1 <a href="http://wordpress.org/support/topic/189058">behoben werden</a>.</p>
<p>Es bleibt dabei: immer ein funktionierendes Backup griffbereit halten! <img src='http://blog.schose.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/139/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS von per Commandline schicken</title>
		<link>http://blog.schose.net/index.php/archives/138</link>
		<comments>http://blog.schose.net/index.php/archives/138#comments</comments>
		<pubDate>Sun, 13 Jul 2008 20:40:46 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.schose.net/index.php/archives/138</guid>
		<description><![CDATA[Ich habe ein Script gebaut, welches es ermöglicht über einen SMS Provider (in meinem Fall Mobilant) Kurznachrichten zu verschicken. Als Übergabeparameter erwartet es:
-r : wo soll die SMS hin
-f : wer hat sie geschickt (telefonnummer oder max. 11 stellige Zeichenfolge)
-t : was steht drin
-k : Providerkey (lange Zeichenfolge)

Beispiel:
send_sms.pl -r 0172222222 -f nagios -t "small sms" [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe ein Script gebaut, welches es ermöglicht über einen SMS Provider (in meinem Fall <a href="http://www.mobilant.de/">Mobilant</a>) Kurznachrichten zu verschicken. Als Übergabeparameter erwartet es:<br />
-r : wo soll die SMS hin<br />
-f : wer hat sie geschickt (telefonnummer oder max. 11 stellige Zeichenfolge)<br />
-t : was steht drin<br />
-k : Providerkey (lange Zeichenfolge)</p>
<p><span id="more-138"></span></p>
<p>Beispiel:</p>
<p><code>send_sms.pl -r 0172222222 -f nagios -t "small sms" -k 132343554556465656BBEF3</code></p>
<p>das Script benötigt Perl LWP Modul.</p>
<p><a href="http://andreas.ndfnet.de/showfiles/blog/send_sms.pl">Hier gibt es das Script zum Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/138/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zimbra Monitoring mit Nagios</title>
		<link>http://blog.schose.net/index.php/archives/135</link>
		<comments>http://blog.schose.net/index.php/archives/135#comments</comments>
		<pubDate>Sun, 13 Jul 2008 17:16:06 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://blog.schose.net/index.php/archives/135</guid>
		<description><![CDATA[Da ich kein Plugin gefunden habe, welches mir mein Zimbra überwacht habe ich mich entschlossen selber eins zu schreiben. Das Script wertet die Ausgabe von &#8220;zmcontrol status&#8221; aus. Sollte dort nicht hinter jedem Service &#8220;Running&#8221; stehen, so wirft es eine &#8220;critical&#8221; Meldung, welche vom Nagios ausgewertet werden kann.

Das Script akzeptiert die Übergabeparameter -u für den [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich kein Plugin gefunden habe, welches mir mein Zimbra überwacht habe ich mich entschlossen selber eins zu schreiben. Das Script wertet die Ausgabe von &#8220;zmcontrol status&#8221; aus. Sollte dort nicht hinter jedem Service &#8220;Running&#8221; stehen, so wirft es eine &#8220;critical&#8221; Meldung, welche vom Nagios ausgewertet werden kann.</p>
<p><span id="more-135"></span></p>
<p>Das Script akzeptiert die Übergabeparameter -u für den Usernamen der zmcontrol ansprechen darf (default: zimbra) , sowie -b für den Pfad von zmcontrol (default: /opt/zimbra/bin/zmcontrol).</p>
<p>Da zmcontrol lediglich durch den Zimbrauser zu starten ist, müsst ihr eurem Nagiosuser erlauben das Kommando als Zimbrauser zu starten. Dies erledigt man durch das Anpassen der /etc/sudoers und das Anfügen der Zeile</p>
<p><code>%nagios      ALL=(zimbra)       NOPASSWD:/opt/zimbra/bin/zmcontrol</code></p>
<p>Danach bindet man das Script in seine Nagiosinstallation ein. Da ich den nrpe Deamon verwende wird die nrpe.cfg erweitert durch.</p>
<p><code>command[check_zmstatus]=/usr/local/nagios-plugins/libexec/check_zmstatus.pl -b $ARG1$</code></p>
<p><a href="http://andreas.ndfnet.de/showfiles/blog/check_zmstatus.pl"><br />
Hier gibt es das Script zum Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/135/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mRemote &#8211; einer für alles!!</title>
		<link>http://blog.schose.net/index.php/archives/117</link>
		<comments>http://blog.schose.net/index.php/archives/117#comments</comments>
		<pubDate>Fri, 04 Jan 2008 13:01:28 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.schose.net/index.php/archives/117</guid>
		<description><![CDATA[der mRemote ist ein echter Alleskönner im RemoteAccess Bereich. Er untersützt RDP, VNC, ICA, SSH, Telnet, HTTP, Rlogin und TCP Socket Verbindugen (RAW z.b.: für SMTP). Das Projekt scheint extrem aktiv zu sein und sich rasch weiterzuentwickeln.
Bisher hatte ich für mehrere RDP Verbindungen immer den RoyalTS genommen. 
Ein paar Bugs gibt es aber anscheinend. So [...]]]></description>
			<content:encoded><![CDATA[<p>der mRemote ist ein echter Alleskönner im RemoteAccess Bereich. Er untersützt RDP, VNC, ICA, SSH, Telnet, HTTP, Rlogin und TCP Socket Verbindugen (RAW z.b.: für SMTP). Das Projekt scheint extrem aktiv zu sein und sich rasch weiterzuentwickeln.<br />
Bisher hatte ich für mehrere RDP Verbindungen immer den RoyalTS genommen. </p>
<p>Ein paar Bugs gibt es aber anscheinend. So funktioniert die HTTP Authentifizierung in 1.10 nicht.</p>
<popim imageURL='http://blog.schose.net/uploads/2008/01/mremote.jpg' title='mRemote GUI' thumbnailURL='/uploads/2008/01/mremote-thumbnail.jpg' imageWidth='' imageHeight='' thumbWidth='' thumbHeight='' />
<p><a href="http://www.mremote.org">Link zur mRemote Homepage</a><br />
<a href="http://code4ward.net/cs2/files/9/default.aspx">Link zur RoyalTS Homepage</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/117/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pimp my RHEL / CentOS / Fedora</title>
		<link>http://blog.schose.net/index.php/archives/112</link>
		<comments>http://blog.schose.net/index.php/archives/112#comments</comments>
		<pubDate>Thu, 03 Jan 2008 21:25:37 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unattended]]></category>

		<guid isPermaLink="false">http://blog.schose.net/index.php/archives/112</guid>
		<description><![CDATA[Die Redhat Repositories geben im Vergleich zu Debian-basierenden Distributionen nicht ausreichend Software her. Beispielsweise ist Nagios nicht in der Distribution vorhanden.
Wer trotzdem nicht auf den Luxus einer Paketverwaltung verzichten möchte greift zum DAG.
Einfach /etc/yum.conf um das Repository (hier CentOS4):
[dag]
name=dag
baseurl=http://apt.sw.be/redhat/el4/en/$basearch/dag
gpgcheck=0
erweitern und updaten.
Link zu FAQ
]]></description>
			<content:encoded><![CDATA[<p>Die Redhat Repositories geben im Vergleich zu Debian-basierenden Distributionen nicht ausreichend Software her. Beispielsweise ist Nagios nicht in der Distribution vorhanden.</p>
<p>Wer trotzdem nicht auf den Luxus einer Paketverwaltung verzichten möchte greift zum <a href="http://dag.wieers.com/rpm/">DAG</a>.</p>
<p>Einfach /etc/yum.conf um das Repository (hier CentOS4):</p>
<p>[dag]<br />
name=dag<br />
baseurl=http://apt.sw.be/redhat/el4/en/$basearch/dag<br />
gpgcheck=0</p>
<p>erweitern und updaten.</p>
<p><a href="http://dag.wieers.com/rpm/FAQ.php">Link zu FAQ</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/112/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fully hardware-independent unattended ESX3 Server installation &#8211; Part 1</title>
		<link>http://blog.schose.net/index.php/archives/60</link>
		<comments>http://blog.schose.net/index.php/archives/60#comments</comments>
		<pubDate>Sun, 09 Sep 2007 18:55:00 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unattended]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.schose.net/index.php/archives/60</guid>
		<description><![CDATA[This article will show you how to build an unique installjob for unattended ESX3 installations. It will run on different hardware plattforms.
The process of setting up an VMware ESX3 Host ist quite similar to RHEL3/Centos3. I&#8217;m using Altriris Deployment Server (or HP Rapid Deployment Pack) but IMHO you could easily customize it for any other [...]]]></description>
			<content:encoded><![CDATA[<p>This article will show you how to build an unique installjob for unattended ESX3 installations. It will run on different hardware plattforms.</p>
<p>The process of setting up an VMware ESX3 Host ist quite similar to RHEL3/Centos3. I&#8217;m using Altriris Deployment Server (or HP Rapid Deployment Pack) but IMHO you could easily customize it for any other deployment solution.</p>
<p><span id="more-60"></span></p>
<p>The main steps are:<br />
1. create a bootable dos partition with all necessary files for booting up the linux installer with loadlin &#8211; or linld.<br />
2. create bootentries depending on your physical hardware (Proliant, PowerEdge Server&#8230;)<br />
3. create a custom kickstart (ks.cfg) file which uses hostname and ip you entered in you deployment server console.<br />
4. create virtual switches, portgroups etc. depending on your enviroment.<br />
5. install further Managmentsoftware (e.g.: Openmanage, Proliant Support Pack), Backup- or Monitoringagents</p>
<p><strong>Step One:</strong><br />
Deploy an empty FAT32 partition to you deploment client. Mine is 100MB, but it can be much smaller &#8211; you can use rdeploy. Reboot your maschine.<br />
The install01.bat file attached is copying the needed files from deplomentserver share.</p>
<p><code>copy %OSFilesPath%\dosutils\loadlin.exe c:\loadlin.exe<br />
copy %OSFilesPath%\dosutils\linld.com c:\linld.com<br />
copy %OSFilesPATH%\dosutils\autoboot\initrd.img c:\initrd.img<br />
copy %OSFilesPATH%\dosutils\autoboot\vmlinuz c:\vmlinuz</p>
<p>echo dos2unix.exe ks.cfg > C:\autoexec.bat<br />
</code></p>
<p><strong>Step 2:</strong><br />
Now you have to create a custom bootentry for your linux loader. The main problem is that the ks.cfg will be located on hardware and the devicenames differ from vendor to vendor (e.g. /dev/cciss/c0d0 for HP with SmartArray &#8211; /dev/sda for MegaRaid). Be aware that the 9th generation of PowerEdge Server (PE1950, PE2950&#8230;) will not work with loadlin. Nobody really knows why, but I found it <a href="http://juice.altiris.com/article/1076/deploying-vmware-esx-3-0-x-to-9th-generation-dell-poweredge-servers">here</a>.</p>
<p>install02.bat does make the decision for you what server hardware you&#8217;ve got:</p>
<p><code>if "%#!computer@right(prod_name,4)%" =="2850" goto sda<br />
if "%#!computer@right(prod_name,4)%" =="2950" goto sdalld<br />
if "%#!computer@right(prod_name,2)%" =="G4" goto cciss</p>
<p>REM if nothing ins found make sda entry<br />
goto exitsda</p>
<p>:sda<br />
echo i boot from sda<br />
echo c:\loadlin c:\vmlinuz initrd=c:\initrd.img ramdisk_size=12288 ks=hd:sda1/ks.cfg >> c:\autoexec.bat<br />
goto Exit</p>
<p>:sdalld<br />
echo i boot with linld from sda<br />
echo c:\linld.com image=c:\vmlinuz initrd=c:\initrd.img "cl=ramdisk_size=12288 ks=hd:sda1/ks.cfg" >> c:\autoexec.bat<br />
goto Exit</p>
<p>:cciss<br />
echo i boot from cciss<br />
echo c:\loadlin c:\vmlinuz initrd=c:\initrd.img ramdisk_size=12288 ks=hd:cciss/c0d0p1:/ks.cfg >> c:\autoexec.bat<br />
goto Exit</p>
<p>:exitsda<br />
echo i boot from sda<br />
echo c:\loadlin c:\vmlinuz initrd=c:\initrd.img ramdisk_size=12288 ks=hd:sda1/ks.cfg >> c:\autoexec.bat<br />
goto Exit</p>
<p>:Exit<br />
exit</code></p>
<p>The strange looking &#8220;%#!computer@right(prod_name,4)%&#8221; is Altiris DS specific. It&#8217;s reading out the vendor description for the Server presented at PXE Boot. This will differ to other Deployment solutions.<br />
Now reboot you maschine and make C:\ drive bootable (install03.bat) and copy further files.</p>
<p><code>f:\bootwiz\dos\sys.com f:\bootwiz\dos c:<br />
f:<br />
copy f:\bootwiz\dos\himem.sys c:\<br />
copy f:\bootwiz\dos\smartdrv.exe c:\<br />
echo device=c:\himem.sys>>c:\config.sys<br />
echo @echo on>>c:\autoexec.bat</code></p>
<p><strong>Step3a: create ks.cfg file</strong></p>
<p>The ks.cfg file is the answer file for the ESX Installer. If you are not familar with the kickstart procedure you can fancy it as an unattended.txt or winnt.sif file for Windows Installations. <img src='http://blog.schose.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The main difference is that you also define package source (in my case a webserver with the hole cd copied to &#8220;http://webserverurl/esx3&#8243; and partition scheme. The important section begins at %post and process self written scripts after the installation. I&#8217;m using it for creating virtual networks, installing the altiris (adl)agent and some small jobs.</p>
<p>You can easily create a ks.cfg file with installing ESX Server one time manually. The specified options are written to /root/anaconda-ks.cfg. For further information about kickstartfile consult <a href="http://www.vmware.com/pdf/vi3_301_201_installation_guide.pdf">VI Installation guide</a>. </p>
<p><strong>Step3b: Token Replacement Process</strong><br />
The Replacement Process is also Altris DS specific und uses for creating a machine specific kickstart file. It is replacing placeholders with the values you entered in Deployment Server Console. Because there is no Token for VMKernel network ip, I&#8217;m using the os license entry for it. Do <strong>not remove</strong> any &#8220;rem&#8221;ed line. &#8211; the Token Replacement will not work.</p>
<p><code>rem bootwork unload</p>
<p>rem replacetokens .\deplmes\deploy\pre-os\esx3\ks.cfg .\deplmes\deploy\pre-os\esx3\%ID%.cfg<br />
Firm Copy F:\deplmes\deploy\pre-os\esx3\%ID%.cfg C:\ks.cfg<br />
Firm Copy F:\deplmes\centos\unixdo16\dos2unix.exe C:\dos2unix.exe<br />
</code></p>
<p>After the Token Replacement process you installation is ready to be booted to production. This will start the installer with the ks.cfg file. Good luck!</p>
<p>You will find more information about step 4 and step 5 in the next Blog-entry &#8220;fully hardware-independent unattended ESX3 Server installation &#8211; Part 2&#8243;. This will be published in the next days.</p>
<p><strong>Attachments: </strong><br />
<a href="http://andreas.ndfnet.de/showfiles/esx/install01.bat">install01.bat</a><br />
<a href="http://andreas.ndfnet.de/showfiles/esx/install02.bat">install02.bat</a><br />
<a href="http://andreas.ndfnet.de/showfiles/esx/install03.bat">install03.bat</a><br />
<a href="http://andreas.ndfnet.de/showfiles/esx/ks.cfg">Kickstart file ks.cfg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/60/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinclient verlieren Verbindung zum PS</title>
		<link>http://blog.schose.net/index.php/archives/66</link>
		<comments>http://blog.schose.net/index.php/archives/66#comments</comments>
		<pubDate>Sun, 09 Sep 2007 16:12:16 +0000</pubDate>
		<dc:creator>andreas</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Terminal services]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.schose.net/index.php/archives/66</guid>
		<description><![CDATA[Ich hatte das Problem, dass mehrer Thinclients die Verbindung zum Presentation Server verloren haben. Anscheinend tritt das Problem auf wenn viele Bildänderungen übertragen werden und ist somit sehr sporadisch. Die wirkliche Ursache konnte ich nicht rausfinden, aber unter 
http://support.citrix.com/article/CTX113293 (dt. PS) bzw. http://support.citrix.com/article/CTX113515 (engl. PS) ist das Problem als Verbindungsabrüche von &#8220;nicht Windows Clients&#8221; beschrieben. [...]]]></description>
			<content:encoded><![CDATA[<p>Ich hatte das Problem, dass mehrer Thinclients die Verbindung zum Presentation Server verloren haben. Anscheinend tritt das Problem auf wenn viele Bildänderungen übertragen werden und ist somit sehr sporadisch. Die wirkliche Ursache konnte ich nicht rausfinden, aber unter </p>
<p><a href="http://support.citrix.com/article/CTX113293">http://support.citrix.com/article/CTX113293</a> (dt. PS) bzw. <a href="http://support.citrix.com/article/CTX113515">http://support.citrix.com/article/CTX113515</a> (engl. PS) ist das Problem als Verbindungsabrüche von &#8220;nicht Windows Clients&#8221; beschrieben. </p>
<p>der Hotfix hat nach kurzer Testphase funktioniert. Es waren Igel LX2110 Thinclient betroffen. Vom MacOS konnte ich das Problem nicht nachstellen!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schose.net/index.php/archives/66/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
