<?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>An It-Slave in the digital saltmine</title>
	<atom:link href="http://www.it-slav.net/blogs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.it-slav.net/blogs</link>
	<description>Another Blog from a Geek that has no life</description>
	<lastBuildDate>Sun, 03 Feb 2013 20:29:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Shame on you Samsung</title>
		<link>http://www.it-slav.net/blogs/2013/02/03/shame-on-you-samsung/</link>
		<comments>http://www.it-slav.net/blogs/2013/02/03/shame-on-you-samsung/#comments</comments>
		<pubDate>Sun, 03 Feb 2013 18:49:48 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2288</guid>
		<description><![CDATA[I&#39;m real disappointed at Samsung handling when it comes to update of my tablet. &#160; I bought the best Android tablet on the market in October 2011, it was a Samsung Galaxy Tab 10.1&#34; with 3G, GT-P7500. &#160;According to information from Samsung they would provide Android 4.0 Ice Cream Sandwich as soon as possible. The [...]]]></description>
			<content:encoded><![CDATA[<p>I&#39;m real disappointed at Samsung handling when it comes to update of my tablet.</p>
<p>&nbsp;</p>
<p>I bought the best Android tablet on the market in October 2011, it was a Samsung Galaxy Tab 10.1&quot; with 3G, GT-P7500. &nbsp;According to information from Samsung they would provide Android 4.0 Ice Cream Sandwich as soon as possible. The main reason why I payed over 460EUR for the device was that I wanted to have the possibilty to run Ice Cream Sandwich on it as soon as possible.</p>
<p>&nbsp;</p>
<p>After 14 months I&#39;m still waiting.</p>
<p>&nbsp;</p>
<p>During the summer 2012 Samsung started to roll out Ice Cream Sandwich on the Galaxy Tab 10.1&quot; around the globe. On the Samsung webpage they planed to roll out in Q4 2012 in Sweden.</p>
<p>I have written a several times to Samsung and asked why I still cannot upgrade my Tablet and the answer I&#39;ve got is that the bundle I have will be possible to update anyday.&nbsp;</p>
<p>&nbsp;</p>
<p>Samsung, it is <strong>NOT</strong> acceptable to wait over a year for an upgrade on a device that has a lifetime of 2 years.&nbsp;</p>
<p>&nbsp;</p>
<p>My next tablet will be a Nexus.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2013%2F02%2F03%2Fshame-on-you-samsung%2F&amp;title=Shame%20on%20you%20Samsung" id="wpa2a_2"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2013/02/03/shame-on-you-samsung/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monitor Minecraft server with op5 Monitor or Nagios</title>
		<link>http://www.it-slav.net/blogs/2012/10/06/monitor-minecraft-server-with-op5-monitor-or-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2012/10/06/monitor-minecraft-server-with-op5-monitor-or-nagios/#comments</comments>
		<pubDate>Sat, 06 Oct 2012 19:25:55 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[minecraft]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2260</guid>
		<description><![CDATA[Background My son got the amazing game Minecraft as a birthday present. Of course I think I should provide the service to him and his friends to have a couple of minecraftservers to be able to play together. Soon it became business critical and I started to think about how to monitor that the Minecraft [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>My son got the amazing game Minecraft as a birthday present. Of course I think I should provide the service to him and his friends to have a couple of minecraftservers to be able to play together.</p>
<p>Soon it became business critical and I started to think about how to monitor that the Minecraft server is up and running. After searchin Internet I did not find anything that worked so I decided to write my own.</p>
<p><span id="more-2260"></span></p>
<h2>&nbsp;</h2>
<h2>Prereq</h2>
<p>I&#39;m using the possibility to connect to the Rconn inteface at the Minecraftserver so it needs to be ebabled. Normaly by adding to Minecraft server.properties:</p>
<pre>rcon.password=fjollboll

rcon.port=25578</pre>
<p>&nbsp;</p>
<p>I&#39;m running the plugin on a vanilla Centos 6.3 box, and a perl CPAN module needs to be installed. Simply run the following command to install:</p>
<p>&nbsp;</p>
<pre class="prettyprint"><span class="pln">cpan </span><span class="typ">Minecraft</span><span class="pun">::</span><span class="pln">RCON

</span></pre>
<p>I assume the reader knows howto monitor the basic stuff like: CPU usage, processes running, RAM usage, disk usage, disk I/O usage and everything else that should always be monitored on a system running business critical services.</p>
<h2>&nbsp;</h2>
<h2>&nbsp;</h2>
<h2>Monitor the server</h2>
<p>The easiest way to monitor that an instance of Minecraft server is running is to using check_tcp and the port defined for the server. However I read on some forums that the Minecraft server could hang and the tcp port still respond. So I wrote a plugin that connects to the Minecraft Rconn interface.</p>
<p>&nbsp;</p>
<pre>#!/usr/bin/perl

# Hint at http://search.cpan.org/~demmy/Minecraft-RCON-v0.1.2/lib/Minecraft/RCON.pm

#Licence GPLv2

use Minecraft::RCON;

use Getopt::Std;

use strict;

open STDERR, &#39;&gt;&gt;/dev/null&#39; or die &quot;Can&#39;t write to /dev/null: $!&quot;;

my(%ERRORS) = ( OK=&gt;0, WARNING=&gt;1, CRITICAL=&gt;2, UNKNOWN=&gt;3 );

my $status=$ERRORS{OK};;

my $rconresult;

my $numplayers;

my $maxplayers;

my $players;

my $message=&quot;OK&quot;;

our($opt_c, $opt_w, $opt_p, $opt_P, $opt_h, $opt_H);

getopts(&quot;p:P:hH:&quot;);

my $debug_flag=0;

sub printhelp () {

        print &quot;Usage: check_minecraft [-h] -p password -P port -H host\n&quot;;

        print &quot;-h Help, this text\n&quot;;

        print &quot;-p password for rcon\n-P port number for rcon\n&quot;;

        print &quot;-H ip-adress or servername of minecraftserver\n&quot;;

        print &quot;\n\t\tby Peter Andersson\n\t\tpeter\@it-slav.net\n\t\thttp://www.it-slav.net/blogs/2012/10/06/monitor-minecraft-server-with-op5-monitor-or-nagios\n&quot;;

        if ($debug_flag) {

                print &quot;opt_c:$opt_c opt_w:$opt_w opt_p:$opt_p opt_P:$opt_P opt_h:$opt_h opt_H:$opt_H\n&quot;;

        }

        exit $status;

} 

#sanity check

if (!defined $opt_p||!defined $opt_P||$opt_h||!defined $opt_H) {

        $status= $ERRORS{UNKNOWN};

        &amp;printhelp;

}

my $rcon = Minecraft::RCON-&gt;new( { address =&gt; $opt_H, port =&gt; $opt_P, password =&gt; $opt_p } );

if ($rcon-&gt;connect){

  $rconresult =  $rcon-&gt;command(&#39;list&#39;);

  $_=$rconresult;

  if (/There are (\d+)\/(\d+) players online:(.*)/) {

    $status= $ERRORS{OK};

  }

}

else {

  print &quot;CRITICAL - Could not connect to Minecraft server!\n&quot;;

  # Error capturing and fetching is in the works...

  $status= $ERRORS{CRITICAL};

  exit $status;

}

$rcon-&gt;disconnect;

print &quot;OK - Minecraft server is running\n&quot;;

exit $status;</pre>
<p>&nbsp;</p>
<h2>Monitor the numer of users</h2>
<p>I think it would be interesting to monitor and graph the number of users using a Minecraft instance. Of course it returns perfdata for graphing.</p>
<pre> #!/usr/bin/perl

# Hint at http://search.cpan.org/~demmy/Minecraft-RCON-v0.1.2/lib/Minecraft/RCON.pm

# License GPLv2

use Minecraft::RCON;

use Getopt::Std;

use strict;

my(%ERRORS) = ( OK=&gt;0, WARNING=&gt;1, CRITICAL=&gt;2, UNKNOWN=&gt;3 );

my $status=$ERRORS{OK};;

my $rconresult;

my $numplayers;

my $maxplayers;

my $players;

my $message=&quot;OK&quot;;

our($opt_c, $opt_w, $opt_p, $opt_P, $opt_h, $opt_H);

getopts(&quot;c:w:p:P:hH:&quot;);

my $debug_flag=0;

sub printhelp () {

        print &quot;Usage: check_minecraftusesr [-h] -c critical -w warning -p password -P port -H host\n&quot;;

        print &quot;-h Help, this text\n-c num Critical threshold for number of players\n-w num Warning threshold for number of players\n&quot;;

        print &quot;-p password for rcon\n-P port number for rcon\n&quot;;

        print &quot;-H ip-adress or servername of minecraftserver\n&quot;;

        print &quot;\n\t\tby Peter Andersson\n\t\tpeter\@it-slav.net\n\t\thttp://www.it-slav.net/blogs/2012/10/06/monitor-minecraft-server-with-op5-monitor-or-nagios/\n&quot;;

        if ($debug_flag) {

                print &quot;opt_c:$opt_c opt_w:$opt_w opt_p:$opt_p opt_P:$opt_P opt_h:$opt_h opt_H:$opt_H\n&quot;;

        }

        exit $status;

} 

#sanity check

if (!defined $opt_c||!defined $opt_w||!defined $opt_p||!defined $opt_P||$opt_h||!defined $opt_H) {

        $status= $ERRORS{UNKNOWN};

        &amp;printhelp;

} elsif ($opt_c &lt; $opt_w) {

        print &quot;Critical threshold must be higher or equal to warning threshold\n&quot;;

        $status= $ERRORS{UNKNOWN};

        &amp;printhelp;

}

my $rcon = Minecraft::RCON-&gt;new( { address =&gt; $opt_H, port =&gt; $opt_P, password =&gt; $opt_p } );

if ($rcon-&gt;connect){

  $rconresult =  $rcon-&gt;command(&#39;list&#39;);

  $_=$rconresult;

  if (/There are (\d+)\/(\d+) players online:(.*)/) {

    $numplayers=$1;

    $maxplayers=$2;

    $players=$3;

    $players=~tr/a-zA-Z0-9 _,.-//cd;

    if ($debug_flag) {

      print &quot;Number of players: $numplayers\n&quot;;

      print &quot;Max players are: $maxplayers\n&quot;;

      print &quot;Players are: $players\n&quot;;

    }

  }

}

else {

  print &quot;Could not connect to Minecraft server!\n&quot;;

  # Error capturing and fetching is in the works...

  $status= $ERRORS{CRITICAL};

  exit $status;

}

$rcon-&gt;disconnect;

if ($numplayers &gt;= $opt_w) {

  $status= $ERRORS{WARNING};

  $message=&quot;WARNING&quot;;

}

if ($numplayers &gt;= $opt_c) {

  $status= $ERRORS{CRITICAL};

  $message=&quot;CRITICAL&quot;;

}

chomp ($players);

if ($numplayers &gt; 0) { 

<span class="Apple-tab-span" style="white-space:pre"> </span>print &quot;$message:Number of players are $numplayers out of maximum $maxplayers. Players are: $players|players=$numplayers;$opt_w;$opt_c;0;$maxplayers;\n&quot;;

} else {

<span class="Apple-tab-span" style="white-space:pre"> </span>print &quot;$message:Number of players are $numplayers out of maximum $maxplayers.|players=$numplayers;$opt_w;$opt_c;0;$maxplayers;\n&quot;;

}

#print &quot;$message: Number of players are $numplayers out of maximum $maxplayers:$players\|players=$numplayers\n&quot;;

exit $status;</pre>
<p>&nbsp;</p>
<h2>Defining the commands in op5 Monitor or nagios</h2>
<p>&nbsp;</p>
<pre># command &#39;check_minecraft_server&#39;

define command{

    command_name                   check_minecraft_server

    command_line                   $USER1$/custom/check_minecraft_server.pl -H $HOSTADDRESS$ -p $ARG1$ -P $ARG2$

    }

# command &#39;check_minecraft_users&#39;

define command{

    command_name                   check_minecraft_users

    command_line                   $USER1$/custom/check_minecraft_users.pl -H $HOSTADDRESS$ -p $ARG1$ -P $ARG2$ -w $ARG3$ -c $ARG4$

    }</pre>
<p>&nbsp;</p>
<h2>The result</h2>
<p><img alt="" height="85" src="http://www.it-slav.net/blogs/wp-content/uploads/minecraftusers.png" width="950" /></p>
<p>Monitoring the number of users</p>
<p>&nbsp;</p>
<p><img alt="" height="277" src="http://www.it-slav.net/blogs/wp-content/uploads/graphminecraftusers.png" width="596" /></p>
<p>Graphing the number of users</p>
<p>&nbsp;</p>
<p><img alt="" height="260" src="http://www.it-slav.net/blogs/wp-content/uploads/bsm_minecraft.png" width="640" /></p>
<p>Using op5 BSM module to show the Business Service Minecraft</p>
<p>&nbsp;</p>
<h2>Final</h2>
<ul>
<li><a href="http://minecraft.net" target="_blank">MInecraft</a>: an amazing game.</li>
<li><a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a>, an enterpise class monitoring system based on Nagios</li>
<li><a href="http://nagios.org" target="_blank">Nagios</a>, an open and free tool for monitoring</li>
<li><a href="http://www.op5.com/solutions/bussiness-service-management/" target="_blank">BSM</a>, op5 Business Service Management</li>
</ul>
<p>&nbsp;</p>
<p>I would also want to thank Mattias Ryrlen at op5, for helping me troubleshoot garbage characters from Rconn.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F10%2F06%2Fmonitor-minecraft-server-with-op5-monitor-or-nagios%2F&amp;title=Monitor%20Minecraft%20server%20with%20op5%20Monitor%20or%20Nagios" id="wpa2a_4"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/10/06/monitor-minecraft-server-with-op5-monitor-or-nagios/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>op5 enters the Red Herring Top 100 companies</title>
		<link>http://www.it-slav.net/blogs/2012/04/26/op5-enters-the-red-herring-top-100-companies/</link>
		<comments>http://www.it-slav.net/blogs/2012/04/26/op5-enters-the-red-herring-top-100-companies/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 18:52:35 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[op5]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2254</guid>
		<description><![CDATA[&#8211;cut&#8211; The Red Herring editorial team selected the 2012 Top 100 Europe. This exceptional group of companies are among the most innovative, unique and promising companies selected from a pool of hundreds from across Europe. The Top 100&#160;were evaluated on both quantitative and qualitative criteria, such as financial performance, technology innovation, quality of management, IP [...]]]></description>
			<content:encoded><![CDATA[<p>&#8211;cut&#8211;</p>
<p>The Red Herring editorial team selected the <a href="http://www.redherring.com/red-herring-europe/europe-2012-top-100/">2012 Top 100 Europe</a>. This exceptional group of companies are among the most innovative, unique and promising companies selected from a pool of hundreds from across Europe. The Top 100&nbsp;were evaluated on both quantitative and qualitative criteria, such as financial performance, technology innovation, quality of management, IP creation, CAGR, execution of strategy, and disruption in their respective industries.</p>
<p>&#8211;end cut&#8211;</p>
<p>Read more at: <a href="http://www.redherring.com/startups/top-100-europe-revelaed/" target="_blank">http://www.redherring.com/startups/top-100-europe-revelaed/</a></p>
<p>The list can be found at:<a href="http://www.redherring.com/red-herring-europe/europe-2012-top-100/" target="_blank"> http://www.redherring.com/red-herring-europe/europe-2012-top-100/</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F04%2F26%2Fop5-enters-the-red-herring-top-100-companies%2F&amp;title=op5%20enters%20the%20Red%20Herring%20Top%20100%20companies" id="wpa2a_6"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/04/26/op5-enters-the-red-herring-top-100-companies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using IRC as op5 Monitor or Nagios alarm console</title>
		<link>http://www.it-slav.net/blogs/2012/04/17/using-irc-as-op5-monitor-or-nagios-alarm-console/</link>
		<comments>http://www.it-slav.net/blogs/2012/04/17/using-irc-as-op5-monitor-or-nagios-alarm-console/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 19:33:52 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[weechat]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2235</guid>
		<description><![CDATA[An howto that describe howto use irc as an alarm consol to nagios or op5 monitor]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I sometimes get the question if I have any tips on a op5 Monitor alarm console. I stumbled on the possibility to use irc to present the alerts generated by op5 Monitor or Nagios. A nice feature is that the number of connected clients can be very many, severla systems can send all alerts to the same irc channel and best of all, it&#39;s geeky.</p>
<p><span id="more-2235"></span></p>
<h2>&nbsp;</h2>
<h2>Solution</h2>
<p>The solution is using four components:</p>
<ul>
<li>A working op5 Monitor or Nagios implementation (will not be covered in this article)</li>
<li>An irc channel where the alerts are presented</li>
<li>A bot that collects the op5 Monitor status and sends it to the irc channel</li>
<li>An irc client i.e. weechat</li>
</ul>
<p>&nbsp;</p>
<h3>The irc server</h3>
<p>I wanted to use my own irc server, mainly because I want it to run in my own controlled environment. There are toons of implementations but i picked new generation irc daemon, ngircd which existed in my distributions repository.</p>
<p>
	Simple configuration in /etc/ngircd.conf added to the end of configuration.</p>
<pre>[Channel]
        Name = #op5_Monitor
        Topic = op5 Monitor Alerts
        MaxUsers = 23</pre>
<p>&nbsp;</p>
<p>Start the irc server:</p>
<pre># /etc/init.d/ngircd start
Starting ngircd:                                           [  OK  ]

Making sure it starts the next reboot

# chkconfig ngircd on</pre>
<p>&nbsp;</p>
<h3>The bot</h3>
<p>I found a boot called <a href="http://www.vanheusden.com/nagircbot/" target="_blank">nagircbot</a></p>
<p>Download and compile.</p>
<pre># make &amp;&amp; make install
</pre>
<p>Start the bot:</p>
<pre>nagircbot -f /opt/monitor/var/status.log -X -s mail:6667 -c \#op5_Monitor -n Monitor -N op5_Monitor-- -C</pre>
<p>&nbsp;</p>
<h3>Connect the client</h3>
<p>Start the irc client</p>
<pre>$ weechat-curses</pre>
<p>&nbsp;</p>
<p>Connect the irc server</p>
<pre>/connect &lt;my_irc_server&gt;</pre>
<p>&nbsp;</p>
<p>Set nick</p>
<pre>/nick &lt;my_nick&gt;</pre>
<p>&nbsp;</p>
<p>Join the correct channel</p>
<pre>/join #op5_Monitor</pre>
<p>&nbsp;</p>
<p>Screenshoot:</p>
<p><img alt="" height="709" src="http://www.it-slav.net/blogs/wp-content/uploads/Screen Shot 2012-04-17 at 8_40_35 PM.png" width="1256" /></p>
<p>&nbsp;</p>
<h2>Links:</h2>
<ul>
<li><a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a>, a nagios based eneteprise monitor solution</li>
<li><a href="http://www.vanheusden.com/nagircbot/" target="_blank">Nagircbot</a>, a bot that sends nagios events to irc</li>
<li><a href="http://ngircd.barton.de/" target="_blank">ngIRCd</a>, new generation irc daemon</li>
<li><a href="http://www.weechat.org/" target="_blank">WeeChat</a>, nice irc client with rich functionality</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/04/17/using-irc-as-op5-monitor-or-nagios-alarm-console/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Improvements in Nagios</title>
		<link>http://www.it-slav.net/blogs/2012/03/15/improvements-in-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2012/03/15/improvements-in-nagios/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 09:23:36 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2230</guid>
		<description><![CDATA[Andreas Ericsson at op5 is working with major improvements of Nagios. The focus areas are: Complexity reduction by moving from multi-threading to single threaded programing Reducing latency Disk I/O usage reduction CPU usage reduction Memory usage reduction Read more at&#160;http://blogs.op5.com/development-work-on-nagios-project-to-improve-performance/]]></description>
			<content:encoded><![CDATA[<p>Andreas Ericsson at op5 is working with major improvements of Nagios. The focus areas are:</p>
<ul>
<li>Complexity reduction by moving from multi-threading to single threaded programing</li>
<li>Reducing latency</li>
<li>Disk I/O usage reduction</li>
<li>CPU usage reduction</li>
<li>Memory usage reduction</li>
</ul>
<p>Read more at&nbsp;<a href="http://blogs.op5.com/development-work-on-nagios-project-to-improve-performance/" target="_blank">http://blogs.op5.com/development-work-on-nagios-project-to-improve-performance/</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F03%2F15%2Fimprovements-in-nagios%2F&amp;title=Improvements%20in%20Nagios" id="wpa2a_8"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/03/15/improvements-in-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphing powerconsumption using 1-wire</title>
		<link>http://www.it-slav.net/blogs/2012/02/12/graphing-powerconsumption-using-1-wire/</link>
		<comments>http://www.it-slav.net/blogs/2012/02/12/graphing-powerconsumption-using-1-wire/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 16:30:39 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[1-wire]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[it-slav.net]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2217</guid>
		<description><![CDATA[Background On my electricity meter I have a flashing LED. 1000 flashes is 1 watthour. As a monitor geek I want to know my powerconsumption and find a 1-wire kit containing a counter and a sensor that could detect the flashing from the electricity meter. I wrote a script that collect the data in an [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>On my electricity meter I have a flashing LED. 1000 flashes is 1 watthour.</p>
<p>As a monitor geek I want to know my powerconsumption and find a <a href="https://www.m.nu/elovervakningspaket-1wire-p-494.html?osCsid=gskpq5qnsmk3vmt8a87egr7lv2" target="_blank">1-wire kit </a>containing a counter and a sensor that could detect the flashing from the electricity meter.</p>
<p>I wrote a script that collect the data in an RRD database and graph it.&nbsp;</p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>Graph</h2>
<p><a href="http://www.it-slav.net/~peter/1-wire/energy/energy0-day.png" target="_blank"><img alt="" height="231" src="http://www.it-slav.net/~peter/1-wire/energy/energy0-day.png" width="600" /></a></p>
<p><span id="more-2217"></span></p>
<p>&nbsp;</p>
<h2>The script</h2>
<pre>#!/usr/bin/perl
# By Peter Andersson peter@it-slav.net
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
use RRDs;
use OW;
# define location of rrdtool databases
my $rrd = &#39;/root/owfs/script/rrd_db&#39;;
# define location of images
my $img = &#39;/home/peter/public_html/1-wire/energy&#39;;
# process data for each interface (add/delete as required)
&amp;ProcessSensor(0, &quot;Anderssons power consumption&quot;, &quot;mother.mynet&quot; , &quot;3001&quot; , &quot;1D.A4F10C000000&quot;);
sub ProcessSensor
{
# process sensor
# inputs: $_[0]: sensor number (ie, 0/1/2/etc)
#         $_[1]: sensor description
        print &quot;number:$_[0] desc:$_[1], server:$_[2] port:$_[3], id: $_[4]\n&quot;;
        my $owserver = &quot;$_[2]:$_[3]&quot;;
        unless(OW::init($owserver)) {
            $status = $ERRORS{CRIT};
            $message = &quot;OWServer not running at $owserver\n&quot;;
            exit $status;
        }
        # get temperature from sensor
        my $handle = OW::get(&quot;$_[4]/counters.A&quot;);
#       print &quot;handle=$handle\n&quot;;
        $handle =~ s/^\s*(.*?)\s*$/$1/;
        ## Check if input is an integer or decimal
        unless (($handle =~ /^-?(?:\d+(?:\.\d*)?|\.\d+)$/) || ($handle =~ /^[+-]?\d+$/))
        {
                print &quot;Not an integer or a decimal\n&quot;;
                return($ERRORS{CRITICAL});
        }
        $count=$handle;
        # remove eol chars
        chomp($count);
        print &quot;sensor $_[0]: $count \n&quot;;
        # if rrdtool database doesn&#39;t exist, create it
        if (! -e &quot;$rrd/energy$_[0].rrd&quot;)
        {
                print &quot;creating rrd database for energy sensor $_[0]...\n&quot;;
                RRDs::create &quot;$rrd/energy$_[0].rrd&quot;,
                        &quot;-s 60&quot;,
                        &quot;DS:energy:COUNTER:1200:0:U&quot;,
                        &quot;RRA:AVERAGE:0.5:1:43200&quot;,
                        &quot;RRA:AVERAGE:0.5:30:175200&quot;;
        }
        if ($ERROR = RRDs::error) { print &quot;$0: failed to create $_[0] database file: $ERROR\n&quot;; }
        # check for error code from count sensor
        #if (int $count eq 85)
        #{
        #        print &quot;failed to read value from sensor $_[0]\n&quot;;
        #}
        #else
        #{
                # insert values into rrd
                RRDs::update &quot;$rrd/energy$_[0].rrd&quot;,
                        &quot;-t&quot;, &quot;energy&quot;,
                        &quot;N:$count&quot;;
                if ($ERROR = RRDs::error) { print &quot;$0: failed to insert $_[0] data into rrd: $ERROR\n&quot;; }
        #}
        # create graphs for current sensor
        &amp;CreateGraph($_[0], &quot;day&quot;, $_[1], 3600, hourly);
        &amp;CreateGraph($_[0], &quot;week&quot;, $_[1], 3600*24, daily);
        &amp;CreateGraph($_[0], &quot;month&quot;, $_[1], 3600*24*7, weekly);
        &amp;CreateGraph($_[0], &quot;year&quot;, $_[1], 3600*24*7*30, monthly);
        &amp;CreateGraph($_[0], &quot;decade&quot;, $_[1], 3600*24*7*365, yearly);
}
sub CreateGraph
{
# creates graph
# inputs: $_[0]: sensor number (ie, 0/1/2/etc)
#         $_[1]: interval (ie, day, week, month, year)
#         $_[2]: sensor description
#	  $_[3]: Moving avarage timeperiod
#	  $_[4]: Moving avarage timeperiod unit
print &quot;Create graph $_[0], interval: $_[1], Moving avarage timeperiod: $_[3]s and moving avarage unit: $_[4]\n&quot;;
        RRDs::graph &quot;$img/energy$_[0]-$_[1].png&quot;,
                &quot;-s -1$_[1]&quot;,
                &quot;-t $_[2]-$_[1]&quot;,
                &quot;-h&quot;, &quot;400&quot;, &quot;-w&quot;, &quot;1000&quot;,
                &quot;-a&quot;, &quot;PNG&quot;,
                &quot;-v Watt&quot;,
                &quot;--slope-mode&quot;,
		&quot;-W&quot;, &quot;WWW.It-Slave.Net - An It-Slave In The Digital Saltmine&quot;,
		&quot;-l&quot;, &quot;0&quot;,
                &quot;DEF:energy=$rrd/energy$_[0].rrd:energy:AVERAGE:start=end-$_[3]s-1$_[1]&quot;,
                &quot;CDEF:W=energy,3600,*&quot;,
		&quot;CDEF:mean=W,$_[3],TREND&quot;,
		&quot;AREA:mean#FF000044&quot;,
                &quot;LINE1:mean#A00000:Moving average $_[4]:&quot;,
		&quot;AREA:W#AAAAee99&quot;,
		&quot;LINE1:W#AAAAEEFF:Power consumption\\n&quot;,
		&quot;CDEF:energyK=energy,1000,/&quot;,
		&quot;VDEF:value_sum=energyK,TOTAL&quot;,
  		&quot;GPRINT:value_sum:Total consumption last $_[1]\\:%0.2lfkWh\\n&quot;,
  		&quot;GPRINT:W:MIN:Instantaneous consumption\\: Min\\:%0.2lf%sW&quot;,
  		&quot;GPRINT:W:AVERAGE:Average\\:%0.2lf%sW&quot;,
  		&quot;GPRINT:W:MAX:Max\\:%0.2lf%sW&quot;,
  		&quot;GPRINT:W:LAST:Now\\:%0.2lf%sW\\n&quot;;
#		&quot;COMMENT:\n                                            WWW.It-Slav.Net - An It-Slave In The Digital Saltmine&quot;;
        if ($ERROR = RRDs::error) { print &quot;$0: unable to generate sensor $_[0] $_[1] graph: $ERROR\n&quot;; }
}
</pre>
<p>&nbsp;</p>
<h2>Links</h2>
<ul>
<li><a href="http://m.nu" target="_blank">m.nu</a> sells 1-wire things and other good stuff</li>
<li><a href="http://owfs.org/" target="_blank">owfs</a>-free implementation to use 1-wire devices</li>
<li><a href="http://www.it-slav.net/blogs/category/1-wire/" target="_blank">Other</a> articles about 1-wire at It-Slave blog</li>
<li>My graphs
<ul>
<li><a href="http://www.it-slav.net/~peter/1-wire/energy/" target="_blank">All</a></li>
<li><a href="http://www.it-slav.net/~peter/1-wire/energy/energy0-day.png" target="_blank">Day</a></li>
<li><a href="http://www.it-slav.net/~peter/1-wire/energy/energy0-week.png" target="_blank">Week</a></li>
<li><a href="http://www.it-slav.net/~peter/1-wire/energy/energy0-week.png" target="_blank">Month</a></li>
<li><a href="http://www.it-slav.net/~peter/1-wire/energy/energy0-year.png" target="_blank">Year</a></li>
<li><a href="http://www.it-slav.net/~peter/1-wire/energy/energy0-decade.png" target="_blank">Decade</a></li>
</ul>
</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F02%2F12%2Fgraphing-powerconsumption-using-1-wire%2F&amp;title=Graphing%20powerconsumption%20using%201-wire" id="wpa2a_10"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/02/12/graphing-powerconsumption-using-1-wire/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Anonymise a network segment using TOR and OpenBSD</title>
		<link>http://www.it-slav.net/blogs/2012/01/10/anonymise-a-network-segment-using-tor-and-openbsd/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/10/anonymise-a-network-segment-using-tor-and-openbsd/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 20:27:48 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[The Onion Router]]></category>
		<category><![CDATA[Tor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2067</guid>
		<description><![CDATA[Background I&#160;have a FON&#160;router which allow anyone to connect to Intenet via my network connection. I&#160;like the openess and idea behind FON but I&#160;do not want to get in trouble if someone do bad things and using my network connection. One solution is to connect the FON&#160;accesspoint to a separate network segment and let all [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I&nbsp;have a FON&nbsp;router which allow anyone to connect to Intenet via my network connection. I&nbsp;like the openess and idea behind FON but I&nbsp;do not want to get in trouble if someone do bad things and using my network connection.</p>
<p>One solution is to connect the FON&nbsp;accesspoint to a separate network segment and let all traffic from that network go through TOR, the onion router.&nbsp;</p>
<p>Another feature is when I want to be anonymous on Internet I plugin my computer to that network segment.</p>
<p><span id="more-2067"></span></p>
<h2>Setup</h2>
<p>I use OpenBSD as my firewall and the first step is to download, compile and configure TOR.&nbsp;I&nbsp;downloaded the tarball from https://www.torproject.org and used the normal procedure:</p>
<pre># wget https://www.torproject.org/dist/tor-0.2.2.35.tar.gz

# tar xzvf tor-0.2.2.35.tar.gz 

# cd tor-0.2.2.35                                                                                                                                                                

# ./configure&amp;&amp;make&amp;&amp;make install</pre>
<p>&nbsp;</p>
<h2>Configure pf</h2>
<p>I use a specific ethernet interface, fxp0, which will route all traffic into tor.&nbsp;</p>
<p>&nbsp;</p>
<pre>--cut from /etc/pf.conf--

#Tor traffic

tor_if =&quot;fxp0&quot;

# Tor&#39;s TransPort

trans_port = &quot;9040&quot;

pass in quick on $tor_if inet proto udp to port domain rdr-to 127.0.0.1 port 5300 

pass in quick on $tor_if inet proto { tcp udp } to !($tor_if) rdr-to 127.0.0.1 port $trans_port

--end cut--</pre>
<h2>&nbsp;</h2>
<h2>Configure tor</h2>
<p>&nbsp;</p>
<pre># cat /usr/local/etc/tor/torrc

VirtualAddrNetwork 10.192.0.0/10

AutomapHostsOnResolve 1

TransPort 9040

DNSPort 5300

Log notice syslog

#Log debug stderr

RunAsDaemon 1</pre>
<p>&nbsp;</p>
<p>Note: I know that best practice is to let the tor process run as non root user. That requires read access to /dev/pf and I did not bother to get it working.</p>
<p>&nbsp;</p>
<h2>Dhcpd config</h2>
<p>I assume that a OpenBSD sysadmin knows how to setup dhcpd so I will just show the config addon I did to /etc/dhcpd.conf.</p>
<p>&nbsp;</p>
<pre>shared-network tor-net {

        option  domain-name &quot;it-slav-tor-net&quot;;

        option  domain-name-servers 10.1.2.1;

        option  ntp-servers 10.1.2.1;

        subnet 10.1.2.0 netmask 255.255.255.0 {

                option routers 10.1.2.1;

                range 10.1.2.100 10.1.2.200;

        }</pre>
<p>&nbsp;</p>
<p>The ip-adress of the fxp0 interface is 10.1.2.1</p>
<p>&nbsp;</p>
<h2>Start tor</h2>
<p>&nbsp;</p>
<pre># /usr/local/bin/tor

Jan 10 20:52:48.880 [notice] Tor v0.2.2.35 (git-b04388f9e7546a9f). This is experimental software. Do not rely on it for strong anonymity. (Running on OpenBSD i386)

Jan 10 20:52:48.885 [warn] It&#39;s a little hard to tell, but you seem to have Libevent 1.4.0-beta header files, whereas you have linked against Libevent 1.4.14b-stable.  This will probably make Tor crash.

Jan 10 20:52:48.886 [notice] Initialized libevent version 1.4.14b-stable using method kqueue. Good.

Jan 10 20:52:48.886 [notice] Opening Socks listener on 127.0.0.1:9050

Jan 10 20:52:48.887 [notice] Opening Transparent pf/netfilter listener on 127.0.0.1:9040

Jan 10 20:52:48.887 [notice] Opening DNS listener on 127.0.0.1:5300</pre>
<p>&nbsp;</p>
<h2>Final step</h2>
<p>Plugin your fon router and enjoy!</p>
<p>&nbsp;</p>
<h2>Links</h2>
<p>The hints to this article was found at:</p>
<ul>
<li><a href="https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/TransparentProxy " target="_blank">&nbsp;https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/TransparentProxy&nbsp;</a></li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F01%2F10%2Fanonymise-a-network-segment-using-tor-and-openbsd%2F&amp;title=Anonymise%20a%20network%20segment%20using%20TOR%20and%20OpenBSD" id="wpa2a_12"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/01/10/anonymise-a-network-segment-using-tor-and-openbsd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>KVM virtualization, some best practice, part 2</title>
		<link>http://www.it-slav.net/blogs/2012/01/08/kvm-virtualization-some-best-practice-part-2/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/08/kvm-virtualization-some-best-practice-part-2/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 11:30:19 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2201</guid>
		<description><![CDATA[Background It really annoyed me that the iowait at the cpu on the Dom 0 system was approximatly 50% when the 4 virtual system was doing more or less nothing. I showed my earlier blogpost about VM virtualization to our sysadmin at op5. He gave me a couple of more hints that really make a [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>It really annoyed me that the iowait at the cpu on the Dom 0 system was approximatly 50% when the 4 virtual system was doing more or less nothing.</p>
<p>I showed my<a href="http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/" target="_blank"> earlier blogpost</a> about VM virtualization to our sysadmin at op5. He gave me a couple of more hints that really make a big difference, the best part is that they are real simple to implement.</p>
<p>I also noticed that I forgot some parts in the previous article that was obvius to me.</p>
<p><span id="more-2201"></span></p>
<h3>&nbsp;</h3>
<h3>#1 use virtio drivers if possible</h3>
<p>This is probably the single most important step to get the most out of the hardware.</p>
<p>When the virtual systems wants to communicate with the hardware it uses drivers, if the drivers are simulating hardware to give a service to the virtual operating system it adds alot of overhed. A simple example:</p>
<ul>
<li>The virtual system wants to access the disk</li>
<li>The virtual system communicates via the driver to the hardware</li>
<li>The hardware is not real hardware, it is emulated hardware in sofware&nbsp;</li>
<li>The software that emulates the hardware sends the I/O to the Dom 0 virtualization engine</li>
<li>The Virtualization engine verifies that the access is ok, translate it to real hardware call via its driver</li>
<li>The hardware do the operation and send the result back up via all the steps to the virtual operating system</li>
</ul>
<p>All this transalations and software calls take alot of resources from the machine.</p>
<p>By using virtual drivers, so that there is no need to emulate hardware, many of the steps can be skipped or done with much less penalty. However not all operating system have virtio drivers.</p>
<h3>&nbsp;</h3>
<h3>#2 load the virtio modules in Dom 0</h3>
<p>This is a real god hint I got from our sysadmin, load the virtual drivers in the Dom 0 system asweell. According to him, the virtual drivers in the Dom 0 and Dom U:s communicate and makes the I/O much more effective. I have not found any information about this at any place so I was sceptical but I tried it.</p>
<pre># modprobe virtio_balloon
# modprobe virtio_blk
# modprobe virtio_net
# modprobe virtio_pci</pre>
<p>The virtual systems need to be rebooted as far as I know before the loaded drivers will have any effect.</p>
<p>At first no change at all, but after few hours I noticed that CPU idle raized and the iowait went from at least 50% down to below 5%.</p>
<p>A nice graph, created by <a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a> showing the difference:</p>
<p><img alt="" height="505" src="http://www.it-slav.net/blogs/wp-content/uploads/Screen Shot 2012-01-05 at 10_24_45 AM.png" width="604" /></p>
<p>I loaded the virtual drivers approximately 4 pm, and it took until 10 pm before the performance boost showed up.</p>
<p>The correct way of making sure that the drivers are loaded directly would be to remake the kernel but I&#39;m lazy so I have just added the module load to /etc/rc.local</p>
<h2>&nbsp;</h2>
<h2>Conclusions</h2>
<p>It is always important to monitor systems. When doing changes it is not possible know if the changes do have any impact if you do not monitor and follow up how and if the changes does anything.</p>
<p>My former statement that KVM is not mature is more true then I have thought. The knowledge how to tune and maintain KVM systems seems to be like black art where the knowledge is not documented and well spread. I have read the RedHat virtualization and I have not found anything about that the virtual drivers should be loaded on the Dom0 system.</p>
<p>If there is anyone out there that has some documentation or more hints, please send me the link or comment this blogpost.</p>
<p>Links:</p>
<ul>
<li><a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/index.html" target="_blank">RedHa</a>t virtualization doc</li>
<li><a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a> that monitor and creates nice graphs</li>
<li><a href="http://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu_stats-2Esh/details" style="color: rgb(200, 0, 0); font-family: arial, verdana, sans-serif; text-align: justify; " target="_blank">check_cpu_stats</a>&nbsp;Nagios plugin to monitor cpustat</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F01%2F08%2Fkvm-virtualization-some-best-practice-part-2%2F&amp;title=KVM%20virtualization%2C%20some%20best%20practice%2C%20part%202" id="wpa2a_14"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/01/08/kvm-virtualization-some-best-practice-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KVM virtualization, some best practice, part 1</title>
		<link>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 20:02:05 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2181</guid>
		<description><![CDATA[Background As an it slave, I have the same problems as most datacenters: Running out of space because of more and more machines get into the datacenter Overheating Powerconsumption Added to the &#34;normal&#34; datacenter problems, I also have to deal with: Wife acceptance Noice, my neighbours has complained about the noice outside my basement. To [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>As an it slave, I have the same problems as most datacenters:</p>
<ul>
<li>Running out of space because of more and more machines get into the datacenter</li>
<li>Overheating</li>
<li>Powerconsumption</li>
</ul>
<p>Added to the &quot;normal&quot; datacenter problems, I also have to deal with:</p>
<ul>
<li>Wife acceptance</li>
<li>Noice, my neighbours has complained about the noice outside my basement.</li>
</ul>
<p>To address this issues I will run a consolidation project to get fewer machines by using virtualization. As virtualization engine, KVM is choosed.</p>
<p>This article will describe some pitfalls I run into and how I solved them.</p>
<p><span id="more-2181"></span></p>
<h2>&nbsp;</h2>
<h2>&nbsp;</h2>
<h2>KVM plattform</h2>
<p>KVM seems to be the future for virtualization within the Linux area since Xen has done some mistakes.</p>
<p>As I have good experience of running CentOS and has KVM included I decided to use CentOS as the plattform for my virtualization.</p>
<p>&nbsp;</p>
<h2>Issues</h2>
<h3>Bridge network</h3>
<p>To let the virtual boxes has full access to the network you need create a network bridge, it is rather straightforward and well documented so I will skip this part. I used the documentation on Red Hat customer support. Why KVM requires a bridge instead of a normal NIC is another question <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>&nbsp;</h3>
<h3>Snapshots</h3>
<p>One handy feature with virtualization is that the virtual systems can be one big fat file at the physical host, this gives the possibility to make full backups without turning the system down a.k.a snapshots.</p>
<p>However to get snapshot to work the filetype must be qcow2 and raw is the default format.</p>
<p>It is possible to convert from raw to qcow2 format by running the command:</p>
<pre>qemu-img convert -f raw -O qcow2 &lt;virtualhost&gt;.img &lt;virtualhost&gt;.img.qcow2</pre>
<p>Remember to turn of your virtual system by running:</p>
<pre>virsh shutdown &lt;virtualhost&gt;
</pre>
<p>After the conversion:</p>
<pre>virsh edit &lt;virtualhost&gt;
</pre>
<p>modify the type and path, i.e.</p>
<pre>      &lt;driver name=&#39;qemu&#39; type=&#39;qcow2&#39; cache=&#39;none&#39;/&gt;
      &lt;source file=&#39;/var/lib/libvirt/images/web.img.qcow2&#39;/&gt;
</pre>
<p>Start your virtual system:</p>
<pre>virsh start &lt;virtualhost&gt;</pre>
<p>&nbsp;</p>
<p>Take a snapshot with:</p>
<pre>qemu-img snapshot -c &lt;snapshotname&gt; &lt;virtualhost&gt;.img.preallc.qcow2</pre>
<p>&nbsp;</p>
<p>To create a full image of your snapshot you need to compile a more resent version of qemu-img then shipped with CentOS 6.2, I download a later version and compiled it from <a href="http://git.qemu.org/qemu.git/commit/?id=51ef67270b1d10e1fcf3de7368dccad1ba0bf9d1" target="_blank">here</a>, i renamed the new to qemu.img2 and copied it to /usr/local/bin</p>
<pre>qemu-img2 convert -p -f qcow2 -O qcow2 -s &lt;snapshotname&gt; &lt;virtualhost&gt;.img.preallc.qcow2 &lt;targetpath&gt;
</pre>
<p>Beware: This command can use all your resources and may affect all your virtual systems, use nice and ionice to prevent it.</p>
<h3>&nbsp;</h3>
<h3>Disk I/O</h3>
<p>After installing just a few virtual system I noticed that my physical host got alot of I/O wait, it can be seen by using tools like top.</p>
<p>To monitor this I installed the nagios plugins:</p>
<ul>
<li>check disk io, can be found <a href="https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_diskio" target="_blank">here</a></li>
<li>check cpu stats, can be found <a href="http://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu_stats-2Esh/details" target="_blank">here</a></li>
<li>check_libvirt, developed by <a href="http://www.op5.com" target="_blank">op5</a> and an <a href="http://www.op5.com/how-to/how-to-monitor-kvm-installation/" target="_blank">Howto </a></li>
</ul>
<p>However it seems like that though my virtual systems did more or less nothing they caused alot of disk I/O on the physical system.</p>
<p>I did some investigations and read quite many articles, fiddled and tested. The following is what worked for me in my setup.</p>
<h4>#1 Change disk scheduler</h4>
<p>The disk scheduler can be changed on runtime by modify the file:</p>
<pre>/sys/block/sda/queue/scheduler</pre>
<p>to see what scheduler you use now:</p>
<pre>cat /sys/block/sda/queue/scheduler</pre>
<p>Change sda to the device you have.</p>
<p>The scheduler that worked best for me is deadline</p>
<pre>echo deadline &gt; /sys/block/sda/queue/scheduler</pre>
<p>&nbsp;</p>
<h4>#2 Mount with noatime</h4>
<p>A feature in Unix and other Unixlike systems like Linux is that it normaly stores when a file is accessed. So one read always produce a write and if you are using raid like morroring this get worse, one reade always generate several writes. This creates alot of overhead for a feature soldom used.</p>
<p>So change /etc/fstab so it will mount the file systems with noatime.<br />
	An axample:</p>
<pre>UUID=a290aa4b-635c-45fa-b144-1fbef90b3735 /                       ext4    defaults,noatime        1 1</pre>
<p>&nbsp;</p>
<h4>#3 Preallocation disk images</h4>
<p>A real boost that is hidden in the featureset and not shown in the virtualmachine gui is using preallocation disk images. They cannot be created from the GUI so I install the virtual machine, turn it of and convert it afterwards.</p>
<pre>qemu-img convert -f qcow2 -O qcow2 -o preallocation=metadata &lt;virtualhost&gt;.img.qcow2 &lt;virtualhost&gt;.img.preallc.qcow2</pre>
<p>Change the path to new image name by editing the virtual machine settings</p>
<pre>virsh edit &lt;virtualhost&gt;</pre>
<p>&nbsp;</p>
<h2>Conclusions</h2>
<p>In my opinion it seems like KVM is still a little bit immature or at least the tools to handle it. Maybe it would be a good idea to have one linux distro focusing on beeing the best platform for virtualization.</p>
<p>I am convinced that I can get even more bang for the bucks out of my installation if I learn how to tweak it even more, so if you have any hints, do not hesitate to contact me. Preferably as a comment to this blogpost.</p>
<p>&nbsp;</p>
<h2>Referenses:</h2>
<ul>
<li><a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a>, a nagios based enterprise monitor tool to monitor my environment</li>
<li><a href="http://www.op5.com/how-to/how-to-monitor-kvm-installation/" target="_blank">check_libvirt</a>, a nagios plugin done by op5 to monitor KVM</li>
<li><a href="https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_diskio" target="_blank">check_diskio</a>, a nagios plugin to monitor disk I/O</li>
<li><a href="http://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu_stats-2Esh/details" target="_blank">check_cpu_stats</a>, a nagios plugin to monitor cpu usage rather detailed</li>
<li>Another <a href="http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/" target="_blank">blogpost</a> which helped me</li>
<li><a href="http://www.google.se/url?sa=t&amp;rct=j&amp;q=redhat%206%20kvm%20howto&amp;source=web&amp;cd=6&amp;ved=0CE0QFjAF&amp;url=http%3A%2F%2Fwww.redhat.com%2Fsummit%2F2011%2Fpresentations%2Fsummit%2Fdecoding_the_code%2Fwednesday%2Fwagner_w_420_kvm_performance_improvements_and_optimizations.pdf&amp;ei=qzT-TtvGBsyB4AS8xNmkDg&amp;usg=AFQjCNEK6OMSA4WtSs7NYj6n-jsmauwcnw&amp;cad=rja" target="_blank">KVM performance improvements and optimizations</a> &#8211; Red Hat presentation</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F01%2F01%2Fkvm-virtualization-some-best-practice%2F&amp;title=KVM%20virtualization%2C%20some%20best%20practice%2C%20part%201" id="wpa2a_16"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>It-Slav.Net gets 100 Mbit/s</title>
		<link>http://www.it-slav.net/blogs/2012/01/01/it-slav-net-gets-100-mbits/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/01/it-slav-net-gets-100-mbits/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 13:36:38 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[it-slav.net]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2175</guid>
		<description><![CDATA[After a couple of weeks fiddeling I can prodly announce that my new internet connection is in full use. The new access speed is 100 Mbit/s optical fiber, iperf tests show that I can get approx 97 Mbit/s in booth directions. Changes: 100 Mbit/s internet access provided by Ownit Updated firewall to OpenBSD 5.0 running [...]]]></description>
			<content:encoded><![CDATA[<p>After a couple of weeks fiddeling I can prodly announce that my new internet connection is in full use.</p>
<p>The new access speed is 100 Mbit/s optical fiber, iperf tests show that I can get approx 97 Mbit/s in booth directions.</p>
<p>Changes:</p>
<ul>
<li>100 Mbit/s internet access provided by Ownit</li>
<li>Updated firewall to OpenBSD 5.0 running on an Astaro appliance</li>
<li>Updated Webserver to Centos 6.2, virtulized with KVM</li>
<li>Updated Mailserver to Centos 6.2, virtulized with KVM</li>
</ul>
<p>&nbsp;</p>
<p>Happy new year</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F01%2F01%2Fit-slav-net-gets-100-mbits%2F&amp;title=It-Slav.Net%20gets%20100%20Mbit%2Fs" id="wpa2a_18"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/01/01/it-slav-net-gets-100-mbits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>op5 Monitor 5.5 is here</title>
		<link>http://www.it-slav.net/blogs/2011/12/06/op5-monitor-5-5-is-here/</link>
		<comments>http://www.it-slav.net/blogs/2011/12/06/op5-monitor-5-5-is-here/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 20:13:06 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2167</guid>
		<description><![CDATA[&#160;News &#8211; Monitor v5.5 Monitor 5.5 -&#160; It&#8217;s always extra fun when we do releases. News in short are: Support for offline maps &#8211; no need to have online gmap connection Introducing IP traffic &#8220;weathermaps&#8221; i.e. a user friendly way to present traffic flows, being WAN or LAN traffic Display monitor data on external web [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<span class="fu_headline" style="font-family: Arial, Helvetica, sans-serif; font-size: 24px; text-decoration: none; ">News &#8211; Monitor v5.5  </span> <br />
<img height="10" alt="" src="http://app.follow-up.net/resources/385/My_Images/designhelp/_space.gif" /><br />
<span class="fu_text" style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; ">  Monitor 5.5 -&nbsp; It&rsquo;s always extra fun when we do releases. News in short are: </span></p>
<ul>
<li>Support for offline maps &#8211; no need to have online gmap connection</li>
<li>Introducing IP traffic &ldquo;weathermaps&rdquo; i.e. a user friendly way to present traffic flows, being WAN or LAN traffic</li>
<li>Display monitor data on external web i.e visualise and distribute the information to greater crowd</li>
<li>Multiple of &nbsp;time saving tasks such as multidelete, free text filter, save searches etc.</li>
</ul>
<p><span id="more-2167"></span></p>
<p>&nbsp;</p>
<p><span class="fu_text" style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; "> Having a modern easy to use proactive monitoring system is the core of  assuring quality delivery of your enterprise applications to your user.  However cool report and dashboards are great, if they require complex  skills, many hours to set up and maintain -&nbsp; the value is quickly gone.</p>
<p>With op5 Monitor v5.5 we introduce a number of features to make the  information more presentable and understandable. We have made lots of  new micro features to make the everyday change management easier and  faster.</p>
<p>Major features in this release:&nbsp;&nbsp;&nbsp;<br />
&bull;&nbsp;&nbsp; &nbsp;Support for offline map<br />
&nbsp;&nbsp; &nbsp;⁃&nbsp;&nbsp; &nbsp;Now integrating the open streetmap (OSM) project, making the vizualisation of large networks easier and offline<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Support for IP traffic flow visualisation on maps or any background<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Publish op5 Monitor data / widget on external web service<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Multi tier host &amp; service groups<br />
&nbsp;&nbsp; &nbsp;⁃&nbsp;&nbsp; &nbsp;A host or service group can now be part of another group creating a tree structure of dependencies.<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Multidelete &ndash; it&#8217;s always easy to add a new host or service to a  system &ndash; now it&acute;s easy to remove as well &#8211; saves lots of time!<br />
Usability improvements:<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Saved searches<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Search on notes and comments and search in scheduling queue<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Free text filter<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Enhanced Alert history<br />
&nbsp;&nbsp; &nbsp;&bull;&nbsp;&nbsp; &nbsp;Authentication fallback</p>
<p>In total we have fixed and added more then 240 items in this release.  Please let us know what you think &ndash; we focus on Your needs, just tell  us!</p>
<p>Best regards<br />
The op5 Team!  </span></p>
<p>&nbsp;</p>
<p><a style="color: rgb(175, 34, 13); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-decoration: none; " target="_blank" href="http://www.op5.com/release-notes/op5-monitor-5-5-0-release-notes/">More about the new release</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F12%2F06%2Fop5-monitor-5-5-is-here%2F&amp;title=op5%20Monitor%205.5%20is%20here" id="wpa2a_20"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/12/06/op5-monitor-5-5-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenBSD 5.0 RELEASED</title>
		<link>http://www.it-slav.net/blogs/2011/11/01/openbsd-5-0-released/</link>
		<comments>http://www.it-slav.net/blogs/2011/11/01/openbsd-5-0-released/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 20:24:44 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2163</guid>
		<description><![CDATA[&#160;Nov 1, 2011. We are pleased to announce the official release of OpenBSD 5.0. This is our 30th release on CD-ROM (and 31th via FTP). We remain proud of OpenBSD's record of more than ten years with only two remote holes in the default install. As in our previous releases, 5.0 provides significant improvements, including [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<span class="Apple-style-span" style="font-family: monospace; white-space: pre-wrap; ">Nov 1, 2011.</span></p>
<pre wrap="">

We are pleased to announce the official release of OpenBSD 5.0.
This is our 30th release on CD-ROM (and 31th via FTP).  We remain
proud of OpenBSD's record of more than ten years with only two remote
holes in the default install.
<span id="more-2163"></span>
As in our previous releases, 5.0 provides significant improvements,
including new features, in nearly all areas of the system:

 - Improved hardware support, including:
    o MSI interrupts for many devices, on those architectures which can
      support them (amd64, i386, sparc64 only so far).
    o A new dma_alloc(9) API makes it easier for kernel code to allocate
      dma-safe memory.  Many drivers (especially network drivers) and
      subsystems (in particular scsi and the buffer cache) were adapted
      to use this.
    o As a result, big-memory support has been enabled on all possible
      architectures.
    o The rather rare bce(4) driver now copies mbufs all the time, to cope
      with the hardware having a 1GB limit.
    o Added hds(4), a driver for Hitachi Modular Storage SCSI devices.
    o Added myx(4), a driver for the Myricom Myri-10G 10GB Ethernet devices.
    o Added dfs(4), a driver for Dynamic Frequency Switching on some macppc
      systems.
    o cardbus(4) and pcmcia(4) support on sgi.
    o Suspend/resume support on Loongson Yeelong laptops.
    o Interrupt handlers for bnx(4), em(4), ix(4) and sis(4) have been
      improved reducing overhead and increasing performance.
    o New acpitoshiba(4) driver providing ACPI support for Toshiba laptops.
    o Added nvt(4), a driver for the W83795G and W83795ADG hardware monitor.
    o Added support to sdhc(4) for the Ricoh 5U823 SD/MMC controller.
    o A new fw_update(1) tool to install and update non-free firmware packages.

 - Generic network stack improvements:
    o Added support for sending Wake on LAN packets using arp(8).
    o Permit turning Wake on LAN support on/off using ifconfig(8).
    o Added Wake on LAN support to xl(4), re(4), and vr(4).
    o Allow ftp-proxy to proxy across rdomains.
    o The IPv4 stack will no longer accept ICMP redirects when
      acting as a router.
    o By default the IPv6 stack will not process ICMP6 redirects.
      rtsol(8) will turn it back if -F is used.
    o Reworked large parts of the dhclient(8) options processing for better
      interoperability.
    o Fixed carp(4) to work in IPv6 only setups.
    o Make it possible to bind(2) to the local network broadcast address
      on datagram and raw sockets.
    o The default multicast reject route is now ignored if the UDP socket
      uses the IP_MULTICAST_IF socket option.
    o Make gre(4) work between systems in the same LAN.
    o Removed the link1 mode special addressing mode on lo(4).
    o New net.inet.tcp.always_keepalive sysctl, effectively enabling
      SO_KEEPALIVE on all TCP sockets.

 - Routing daemons and other userland network improvements:
    o bgpd(8) no longer bumps the rlimits: the rc.d framework respects
      login classes which is a much better solution.
    o Correctly set the network filtersets on reload in bgpd(8).
    o The routing socket is now sending RTM_DESYNC messages if the
       socketbuffer overflows.
    o Allow ospfd(8) to send out LS updates and other messages
      larger than the MTU.
    o Fixed nexthop calculation in ospfd(8) for directly connected P2P links.
    o First bits to support opaque LSA in ospfd(8).  Only basic redistribute
      logic and LSDB handling for now.
    o Creating new interfaces will no longer cause a fatal error in ospf6d(8).
    o ospf6d(8) handles link-state changes better.
    o Better loopback handling in ospf6d(8).
    o No longer install extra multicast routes in ripd(8) and ldpd(8).
    o Make kqueue(2) work with sosplice(9).
    o Enabled sosplice(9) in relayd(8) for TCP.
    o Added support for divert-to which provides some benefits over
      rdr-to in relayd(8).
    o Reload support in relayd(8) has been fixed.
    o Fixed trap sending in snmpd(8).
    o Make ping6(8) compare minimum amount of bytes between what
      was received and what was sent out.
    o Make traceroute(8) with type-of-service setted (-t) display
      a message if the returned packet has a different tos type.
    o Added the socket splicing fields of struct socket to netstat -vP output.
    o tcpbench(1) now uses libevent and supports both TCP and UDP modes.
    o TCP socket buffer sizes can now be displayed using the netstat(1) -B flag.
    o tcpdump(8) can now filter on icmptype and tcpflags.
    o bgplg(8) now supports &quot;show ip bgp peer-as&quot;.

 - pf(4) improvements:
    o Make pf(4) reassemble IPv6 fragments.  In the forward case, pf
      refragments the packets with the same maximum size.
    o Allow pf(4) to filter on the rdomain a packet belongs to.
    o Make pf(4) allow userland proxies to establish cross rdomain
      proxy sessions.
    o Added IPv6 ACK prioritization in pf(4).
    o Change 'set skip on &lt;...&gt;' to work with interface groups.
    o pfsync(4) supports IPv6 as network protocol.
    o Switched ftp-proxy(8) over to divert-to instead of rdr-to.
    o Switched tftp-proxy(8) over to divert-to instead of rdr-to.
    o New very low overhead priority queueing implementation for pf(4) used via
      the &quot;prio&quot; keyword.
    o Support for least-states in load balancing pools and tables.
    o Support for weighted round-robin in load balancing pools and tables.

 - SCSI improvements:
    o Most SCSI hardware drivers now use the new iopools infrastructure.
    o scsi(4) devices are now all provided with a unique devid, which
      is displayed during the probe process.
    o ASC/ASCQ error codes and verbiage now in sync with
      <a class="moz-txt-link-freetext" href="http://www.t10.org/lists/asc-num.txt">http://www.t10.org/lists/asc-num.txt</a>.
    o Progress on iSCSI includes better login, better logout, preliminary
      FSM support in iscsid(8), and improved logging and debug information.
    o uk(4) can now safely and reliably detach an unknown SCSI device.
    o SCSI multipath device and kernel support has been improved.
    o vscsi(4) now ensures output always goes to the correct connection.
    o vscsi(4) connections can now be reset gracefully.
    o scsi(4) devices on fibre channel fabrics no longer inherit the adapter's
      address.

 - Assorted improvements:
    o Kernel randomization speed and quality improved substantially.
    o For additional security, security(8) was rewritten in Perl.
    o Mandoc 1.11.4: Now accepts eqn(7) input (no fancy formatting yet)
      and supports -Tutf8 output (but no utf8 input yet).
    o Removed a variety of OS-compat emulation code, leaving just the Linux
      support.
    o Small improvements to Linux compat (only available on i386).
    o Improved our own pkg-config(1) implementation with extended comparison
      scheme and implementing various new options.
    o The math library, libm, was fully fleshed out to support all C99 required
      parts.  Many bugs for various architectures were fixed along the way.
    o malloc(3) is a lot faster and has a few further security features (more
      randomization, as well as the 'S' flag to enable all paranoia checks).
    o 'make depend' is no longer neccessary in kernel compilation directories
      since the dependencies are calculated automatically.
    o Increased the default size of the buffer cache.
    o kqueue(2) now works on /dev/random and spliced sockets
    o On MBR-based disks, scan through up to 256 extended partition tables
      when looking for an OpenBSD partition table.
    o Added POSIX 2008 fdopendir(3) and openat(2) functions, as well as the
      O_CLOEXEC, O_DIRECTORY, and F_DUPFD_CLOEXEC flags.
    o Improved lint format string checks and added a few other checks.
    o kdump(8) now dumps stat and sockaddr structures, sysctl mib
      strings, and decodes syscall flags and operation bits.
    o Improved kernel pool debug checking.
    o Improved correctness of signals and various syscalls when rthreads
      are in use.
    o Kernel malloc(9) space and stacks moved to non-dma memory.
    o Fixed some shutdown/reboot hangs on NFS clients.
    o UNIX-domain socket paths are now guaranteed to be NUL-terminated.
    o Added support for *wprintf(3), wcs{,n}casecmp(3), and wcsdup(3).
    o NULL is now a (void *).
    o grep(1) now supports a -H option to always print filename headers.
    o Whitelist expiry for spamlogd(8) can now be configured via a -W flag.
    o ls(1) now supports the POSIX -H option to follow symbolic links specified
      on the command line.
    o disklabel(8) now tries the next auto-allocation scheme if the current one
      fails due to insufficient available partitions.
    o bc(1) gained editline(3) support.
    o Many enhancements and new functionality has been added to tmux(1).
    o disklabel(8) supports absolute resizing of partitions in auto-allocated
      labels.
    o newfs(8) accepts k/m/g suffixes for the -S and -s options.

 - Install/Upgrade process changes:
    o Completed support for DUID disk installs, and enabled it fully.
    o Install non-free firmwares from the internet upon first boot, based on a
      question in the installer.
    o svnd(4)-like behaviour became the default for vnd(4) devices.  This is
      what is used to build the media.

 - rc.d(8) framework improvements:
    o rc.d(8) is now also used for the base system daemons.
    o Backward compatible with the historic way of starting daemons.
    o Notify the user by appending (ok) or (failed) in interactive mode.
    o Better diagnostics with the introduction of RC_DEBUG.

 - OpenSSH 5.9:
    o New features:
      - Introduce sandboxing of the pre-auth privsep child using an
        optional sshd_config(5) &quot;UsePrivilegeSeparation=sandbox&quot; mode
        that enables mandatory restrictions on the syscalls the privsep
        child can perform.
      - Add new SHA256-based HMAC transport integrity modes from
        <a class="moz-txt-link-freetext" href="http://www.ietf.org/id/draft-dbider-sha2-mac-for-ssh-02.txt">http://www.ietf.org/id/draft-dbider-sha2-mac-for-ssh-02.txt</a>
        These modes are hmac-sha2-256, hmac-sha2-256-96, hmac-sha2-512,
        and hmac-sha2-512-96, and are available by default in ssh(1)
        and sshd(8).
      - The pre-authentication sshd(8) privilege separation slave process
        now logs via a socket shared with the master process, avoiding
        the need to maintain /dev/log inside the chroot.
      - ssh(1) now warns when a server refuses X11 forwarding.
      - sshd_config(5)'s AuthorizedKeysFile now accepts multiple paths,
        separated by whitespace. The undocumented AuthorizedKeysFile2
        option is deprecated (though the default for AuthorizedKeysFile
        includes .ssh/authorized_keys2).
      - sshd_config(5): similarly deprecate UserKnownHostsFile2 and
        GlobalKnownHostsFile2 by making UserKnownHostsFile and
        GlobalKnownHostsFile accept multiple options and default to
        include known_hosts2.
      - sshd_config(5)'s ControlPath option now expands %L to the host
        portion of the destination host name.
      - sshd_config(5) &quot;Host&quot; options now support negated Host matching.
      - sshd_config(5): a new RequestTTY option provides control over
        when a TTY is requested for a connection, similar to the existing
        -t/-tt/-T ssh(1) commandline options.
      - ssh-keygen(1): Add -A option. For each of the key types (rsa1,
        rsa, dsa and ecdsa) for which host keys do not exist, generate
        the host keys with the default key file path, an empty passphrase,
        default bits for the key type, and default comment. This is useful
        for system initialisation scripts.
      - ssh(1): Allow graceful shutdown of multiplexing: request that
        mux server removes its listener socket and refuse future
        multiplexing requests but don't kill existing connections. This
        may be requested using &quot;ssh -O stop ...&quot;.
      - ssh-add(1): now accepts keys piped from standard input.
      - Retain key comments when loading v.2 keys. These will be visible
        in &quot;ssh-add -l&quot; and other places. (bz#439)
      - ssh(1) and sshd(8): set IPv6 traffic class from IPQoS (as well as
        IPv4 ToS/DSCP). (bz#1855)
    o The following significant bugs have been fixed in this
      release:
      - sshd(8): allow GSSAPI authentication to detect when a server-side
        failure causes authentication failure and don't count such failures
        against MaxAuthTries. (bz#1244)
      - ssh-keysign(8): now signs hostbased authentication challenges
        correctly using ECDSA keys. (bz#1858)

 - Over 7,200 ports, major robustness and speed improvements in package tools.
 - Many pre-built packages for each architecture:
    o i386: 7008                      o sparc64: 6456
    o alpha: 6046                     o sh: 3721
    o amd64: 6960                     o powerpc: 6691
    o sparc: 3277                     o arm: 2963
    o hppa: 6125                      o vax: 1409
    o mips64: 5689                    o mips64el: 5709

 - Some highlights:
    o Gnome 2.32.2                    o KDE 3.5.10
    o Xfce 4.8.0                      o MySQL 5.1.54
    o PostgreSQL 9.0.5                o Postfix 2.8.4
    o OpenLDAP 2.3.43 and 2.4.25      o Mozilla Firefox 3.5.19, 3.6.18 and 5.0
    o Mozilla Thunderbird 5.0         o GHC 7.0.4
    o LibreOffice 3.4.1.3             o Emacs 21.4, 22.3 and 23.3
    o Vim 7.3.154                     o PHP 5.2.17 and 5.3.6
    o Python 2.4.6, 2.5.4 and 2.7.1   o Ruby 1.8.7.352 and 1.9.2.200
    o Mono 2.10.2                     o Chromium 12.0.742.122
    o Groff 1.21

 - As usual, steady improvements in manual pages and other documentation.
    o Base system and Xenocara manuals are now installed as source code,
      making grep(1) more useful in <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/share/man<span class="moz-txt-tag">/</span></i> and <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/X11R6/man<span class="moz-txt-tag">/</span></i>.
    o If both formatted and source versions of manuals are installed,
      man(1) automatically displays the newer version of each page.

 - The system includes the following major components from outside suppliers:
    o Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
      freetype 2.4.5, fontconfig 2.8.0, Mesa 7.8.2, xterm 270,
      xkeyboard-config 2.3 and more)
    o Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
    o Perl 5.12.2 (+ patches)
    o Our improved and secured version of Apache 1.3, with
      SSL/TLS and DSO support
    o OpenSSL 1.0.0a (+ patches)
    o Sendmail 8.14.5, with libmilter
    o Bind 9.4.2-P2 (+ patches)
    o Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
    o Sudo 1.7.2p8
    o Ncurses 5.7
    o Heimdal 0.7.2 (+ patches)
    o Arla 0.35.7
    o Binutils 2.15 (+ patches)
    o Gdb 6.3 (+ patches)

If you'd like to see a list of what has changed between OpenBSD 4.9
and 5.0, look at

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/plus50.html">http://www.OpenBSD.org/plus50.html</a>

Even though the list is a summary of the most important changes
made to OpenBSD, it still is a very very long list.

------------------------------------------------------------------------
- SECURITY AND ERRATA --------------------------------------------------

We provide patches for known security threats and other important
issues discovered after each CD release.  As usual, between the
creation of the OpenBSD 5.0 FTP/CD-ROM binaries and the actual 4.9
release date, our team found and fixed some new reliability problems
(note: most are minor and in subsystems that are not enabled by
default).  Our continued research into security means we will find
new security problems -- and we always provide patches as soon as
possible.  Therefore, we advise regular visits to

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/security.html">http://www.OpenBSD.org/security.html</a>
and
        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/errata.html">http://www.OpenBSD.org/errata.html</a>

Security patch announcements are sent to the <a class="moz-txt-link-abbreviated" href="mailto:security-announce@OpenBSD.org">security-announce@OpenBSD.org</a>
mailing list.  For information on OpenBSD mailing lists, please see:

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/mail.html">http://www.OpenBSD.org/mail.html</a>

------------------------------------------------------------------------
- CD-ROM SALES ---------------------------------------------------------

OpenBSD 5.0 is also available on CD-ROM.  The 3-CD set costs $50 CDN and
is available via mail order and from a number of contacts around the
world.  The set includes a colourful booklet which carefully explains the
installation of OpenBSD.  A new set of cute little stickers is also
included (sorry, but our FTP mirror sites do not support STP, the Sticker
Transfer Protocol).  As an added bonus, the second CD contains an audio
track, a song entitled &quot;What Me Worry?&quot;.  MP3 and OGG versions of
the audio track can be found on the first CD.

Lyrics (and an explanation) for the songs may be found at:

    <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/lyrics.html#50">http://www.OpenBSD.org/lyrics.html#50</a>

Profits from CD sales are the primary income source for the OpenBSD
project -- in essence selling these CD-ROM units ensures that OpenBSD
will continue to make another release six months from now.

The OpenBSD 5.0 CD-ROMs are bootable on the following four platforms:

  o i386
  o amd64
  o macppc
  o sparc64

(Other platforms must boot from floppy, network, or other method).

For more information on ordering CD-ROMs, see:

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/orders.html">http://www.OpenBSD.org/orders.html</a>

The above web page lists a number of places where OpenBSD CD-ROMs
can be purchased from.  For our default mail order, go directly to:

        <a class="moz-txt-link-freetext" href="https://https.OpenBSD.org/cgi-bin/order">https://https.OpenBSD.org/cgi-bin/order</a>

All of our developers strongly urge you to buy a CD-ROM and support
our future efforts.  Additionally, donations to the project are
highly appreciated, as described in more detail at:

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/goals.html#funding">http://www.OpenBSD.org/goals.html#funding</a>

------------------------------------------------------------------------
- OPENBSD FOUNDATION ---------------------------------------------------

For those unable to make their contributions as straightforward gifts,
the OpenBSD Foundation (<a class="moz-txt-link-freetext" href="http://www.openbsdfoundation.org">http://www.openbsdfoundation.org</a>) is a Canadian
not-for-profit corporation that can accept larger contributions and
issue receipts.  In some situations, their receipt may qualify as a
business expense write-off, so this is certainly a consideration for
some organizations or businesses.  There may also be exposure benefits
since the Foundation may be interested in participating in press releases.
In turn, the Foundation then uses these contributions to assist OpenBSD's
infrastructure needs.  Contact the foundation directors at
<a class="moz-txt-link-abbreviated" href="mailto:directors@openbsdfoundation.org">directors@openbsdfoundation.org</a> for more information.

------------------------------------------------------------------------
- T-SHIRT SALES --------------------------------------------------------

The OpenBSD distribution companies also sell tshirts and polo shirts.
And our users like them, too.  We have a variety of shirts available,
with the new and old designs, from our web ordering system at, as
described above.

-----------------------------------------------------------------------
- FTP INSTALLS ---------------------------------------------------------

If you choose not to buy an OpenBSD CD-ROM, OpenBSD can be easily
installed via FTP or HTTP downloads.  Typically you need a single
small piece of boot media (e.g., a boot floppy) and then the rest
of the files can be installed from a number of locations, including
directly off the Internet.  Follow this simple set of instructions
to ensure that you find all of the documentation you will need
while performing an install via FTP or HTTP.  With the CD-ROMs,
the necessary documentation is easier to find.

1) Read either of the following two files for a list of ftp/http
   mirrors which provide OpenBSD, then choose one near you:

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/ftp.html">http://www.OpenBSD.org/ftp.html</a>
        <a class="moz-txt-link-freetext" href="ftp://ftp.OpenBSD.org/pub/OpenBSD/5.0/ftplist">ftp://ftp.OpenBSD.org/pub/OpenBSD/5.0/ftplist</a>

   As of Nov 1, 2011, the following ftp mirror sites have the 5.0 release:

        <a class="moz-txt-link-freetext" href="ftp://ftp.eu.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp.eu.openbsd.org/pub/OpenBSD/5.0/</a>       Stockholm, Sweden
        <a class="moz-txt-link-freetext" href="ftp://ftp.bytemine.net/pub/OpenBSD/5.0/">ftp://ftp.bytemine.net/pub/OpenBSD/5.0/</a>         Oldenburg, Germany
        <a class="moz-txt-link-freetext" href="ftp://ftp.ch.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp.ch.openbsd.org/pub/OpenBSD/5.0/</a>       Zurich, Switzerland
        <a class="moz-txt-link-freetext" href="ftp://ftp.fr.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp.fr.openbsd.org/pub/OpenBSD/5.0/</a>       Paris, France
        <a class="moz-txt-link-freetext" href="ftp://ftp5.eu.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp5.eu.openbsd.org/pub/OpenBSD/5.0/</a>      Vienna, Austria
        <a class="moz-txt-link-freetext" href="ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/">ftp://mirror.aarnet.edu.au/pub/OpenBSD/5.0/</a>     Brisbane, Australia
        <a class="moz-txt-link-freetext" href="ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.0/</a>      CO, USA
        <a class="moz-txt-link-freetext" href="ftp://ftp5.usa.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp5.usa.openbsd.org/pub/OpenBSD/5.0/</a>     CA, USA
        <a class="moz-txt-link-freetext" href="ftp://obsd.cec.mtu.edu/pub/OpenBSD/5.0/">ftp://obsd.cec.mtu.edu/pub/OpenBSD/5.0/</a>         Michigan, USA

        The release is also available at the master site:

        <a class="moz-txt-link-freetext" href="ftp://ftp.openbsd.org/pub/OpenBSD/5.0/">ftp://ftp.openbsd.org/pub/OpenBSD/5.0/</a>          Alberta, Canada

        However it is strongly suggested you use a mirror.

   Other mirror sites may take a day or two to update.

2) Connect to that ftp mirror site and go into the directory
   pub/OpenBSD/5.0/ which contains these files and directories.
   This is a list of what you will see:

        ANNOUNCEMENT     armish/          mvme68k/         sparc64/
        Changelogs/      ftplist          mvme88k/         src.tar.gz
        HARDWARE         hp300/           packages/        sys.tar.gz
        PACKAGES         hppa/            ports.tar.gz     tools/
        PORTS            i386/            root.mail        vax/
        README           landisk/         sgi/             xenocara.tar.gz
        alpha/           mac68k/          socppc/          zaurus/
        amd64/           macppc/          sparc/

   It is quite likely that you will want at LEAST the following
   files which apply to all the architectures OpenBSD supports.

        README          - generic README
        HARDWARE        - list of hardware we support
        PORTS           - description of our &quot;ports&quot; tree
        PACKAGES        - description of pre-compiled packages
        root.mail       - a copy of root's mail at initial login.
                          (This is really worthwhile reading).

3) Read the README file.  It is short, and a quick read will make
   sure you understand what else you need to fetch.

4) Next, go into the directory that applies to your architecture,
   for example, i386.  This is a list of what you will see:

        INSTALL.i386    cd50.iso        floppyB50.fs    pxeboot*
        INSTALL.linux   cdboot*         floppyC50.fs    xbase50.tgz
        MD5             cdbr*           game50.tgz      xetc50.tgz
        base50.tgz      cdemu50.iso     index.txt       xfont50.tgz
        bsd*            comp50.tgz      install50.iso   xserv50.tgz
        bsd.mp*         etc50.tgz       man50.tgz       xshare50.tgz
        bsd.rd*         floppy50.fs     misc50.tgz

   If you are new to OpenBSD, fetch <span class="moz-txt-underscore"><span class="moz-txt-tag">_</span>at least<span class="moz-txt-tag">_</span></span> the file INSTALL.i386
   and the appropriate floppy*.fs or install50.iso files.  Consult the
   INSTALL.i386 file if you don't know which of the floppy images
   you need (or simply fetch all of them).

   If you use the install50.iso file (roughly 250MB in size), then you
   do not need the various *.tgz files since they are contained on that
   one-step ISO-format install CD.

5) If you are an expert, follow the instructions in the file called
   README; otherwise, use the more complete instructions in the
   file called INSTALL.i386.  INSTALL.i386 may tell you that you
   need to fetch other files.

6) Just in case, take a peek at:

        <a class="moz-txt-link-freetext" href="http://www.OpenBSD.org/errata.html">http://www.OpenBSD.org/errata.html</a>

   This is the page where we talk about the mistakes we made while
   creating the 5.0 release, or the significant bugs we fixed
   post-release which we think our users should have fixes for.
   Patches and workarounds are clearly described there.

Note: If you end up needing to write a raw floppy using Windows,
      you can use &quot;fdimage.exe&quot; located in the pub/OpenBSD/5.0/tools
      directory to do so.

------------------------------------------------------------------------
- X.ORG FOR MOST ARCHITECTURES -----------------------------------------

X.Org has been integrated more closely into the system.  This release
contains X.Org 7.6.  Most of our architectures ship with X.Org, including
amd64, sparc, sparc64 and macppc.  During installation, you can install
X.Org quite easily.  Be sure to try out xdm(1) and see how we have
customized it for OpenBSD.

------------------------------------------------------------------------
- PORTS TREE -----------------------------------------------------------

The OpenBSD ports tree contains automated instructions for building
third party software.  The software has been verified to build and
run on the various OpenBSD architectures.  The 5.0 ports collection,
including many of the distribution files, is included on the 3-CD
set.  Please see the PORTS file for more information.

Note: some of the most popular ports, e.g., the Apache web server
and several X applications, come standard with OpenBSD.  Also, many
popular ports have been pre-compiled for those who do not desire
to build their own binaries (see BINARY PACKAGES, below).

------------------------------------------------------------------------
- BINARY PACKAGES WE PROVIDE -------------------------------------------

A large number of binary packages are provided.  Please see the PACKAGES
file (<a class="moz-txt-link-freetext" href="ftp://ftp.OpenBSD.org/pub/OpenBSD/5.0/PACKAGES">ftp://ftp.OpenBSD.org/pub/OpenBSD/5.0/PACKAGES</a>) for more details.

------------------------------------------------------------------------
- SYSTEM SOURCE CODE ---------------------------------------------------

The CD-ROMs contain source code for all the subsystems explained
above, and the README (<a class="moz-txt-link-freetext" href="ftp://ftp.OpenBSD.org/pub/OpenBSD/5.0/README">ftp://ftp.OpenBSD.org/pub/OpenBSD/5.0/README</a>)
file explains how to deal with these source files.  For those who
are doing an FTP install, the source code for all four subsystems
can be found in the pub/OpenBSD/5.0/ directory:

        xenocara.tar.gz     ports.tar.gz   src.tar.gz     sys.tar.gz

------------------------------------------------------------------------
- THANKS ---------------------------------------------------------------

Ports tree and package building by Jasper Lievisse Adriaanse,
Landry Breuil, Michael Erdely, Stuart Henderson, Peter Hessler,
Paul Irofti, Antoine Jacoutot, Robert Nagy, and Christian Weisgerber.
System builds by Theo de Raadt, Mark Kettenis, and Miod Vallat.
X11 builds by Todd Fries and Miod Vallat.  ISO-9660 filesystem
layout by Theo de Raadt.

We would like to thank all of the people who sent in bug reports, bug
fixes, donation cheques, and hardware that we use.  We would also like
to thank those who pre-ordered the 5.0 CD-ROM or bought our previous
CD-ROMs.  Those who did not support us financially have still helped
us with our goal of improving the quality of the software.

Our developers are:

    Alexander Bluhm, Alexander Hall, Alexander Schrijver,
    Alexander Yurchenko, Alexandr Shadchin, Alexandre Ratchov,
    Anil Madhavapeddy, Anthony J. Bentley, Antoine Jacoutot,
    Ariane van der Steldt, Austin Hook, Benoit Lecocq, Bernd Ahlers,
    Bob Beck, Bret Lambert, Charles Longeau, Chris Kuethe,
    Christian Weisgerber, Christiano F. Haesbaert, Claudio Jeker,
    Dale Rahn, Damien Bergamini, Damien Miller, Darren Tucker,
    David Coppa, David Gwynne, David Hill, David Krause, Edd Barrett,
    Eric Faurot, Federico G. Schwindt, Felix Kronlage, Gilles Chehade,
    Giovanni Bechis, Gleydson Soares, Henning Brauer, Ian Darwin,
    Igor Sobrado, Ingo Schwarze, Jacek Masiulaniec, Jakob Schlyter,
    Janne Johansson, Jason George, Jason McIntyre, Jason Meltzer,
    Jasper Lievisse Adriaanse, Jeremy Evans, Jim Razmus II, Joel Sing,
    Joerg Zinke, Jolan Luff, Jonathan Armani, Jonathan Gray,
    Jonathan Matthew, Jordan Hargrave, Joshua Stein,
    Kenneth R Westerback, Kevin Lo, Kevin Steves, Kurt Miller,
    Landry Breuil, Laurent Fanis, Marc Espie, Marco Peereboom,
    Marco Pfatschbacher, Marcus Glocker, Mark Kettenis, Mark Lumsden,
    Mark Uemura, Markus Friedl, Martin Pieuchot, Martynas Venckus,
    Mats O Jansson, Matthew Dempsky, Matthias Kilian, Matthieu Herrb,
    Michael Erdely, Mike Belopuhov, Mike Larkin, Miod Vallat,
    Nayden Markatchev, Nicholas Marriott, Nick Holland, Nigel Taylor,
    Nikolay Sturm, Okan Demirmen, Otto Moerbeek, Owain Ainsworth,
    Paul de Weerd, Paul Irofti, Peter Hessler, Peter Valchev,
    Philip Guenther, Pierre-Emmanuel Andre, Pierre-Yves Ritschard,
    Remi Pointel, Reyk Floeter, Robert Nagy, Ryan Freeman,
    Ryan Thomas McBride, Sasano, Sebastian Reitenbach, Simon Bertrang,
    Stefan Sperling, Stephan A. Rickauer, Steven Mestdagh,
    Stuart Henderson, Takuya Asada, Ted Unangst, Theo de Raadt,
    Thordur I Bjornsson, Tobias Weingartner, Todd C. Miller, Todd Fries,
    Will Maier, William Yodlowsky, Yasuoka Masahiko, Yojiro Uo</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F11%2F01%2Fopenbsd-5-0-released%2F&amp;title=OpenBSD%205.0%20RELEASED" id="wpa2a_22"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/11/01/openbsd-5-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New How-To articles at op5</title>
		<link>http://www.it-slav.net/blogs/2011/09/29/new-how-to-articles-at-op5/</link>
		<comments>http://www.it-slav.net/blogs/2011/09/29/new-how-to-articles-at-op5/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 16:48:26 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2148</guid>
		<description><![CDATA[The tech team at op5 have published a number of new How-To articles on the op5 Support web. Here is a list of the most recent How-Tos: &#160; Access op5 Monitor from your iPhone http://www.op5.com/how-to/access-op5-monitor-iphone/ &#160; Access op5 Monitor on Android Smartphone http://www.op5.com/how-to/access-op5-monitor-android-smartphone/ &#160; How-to monitor a KVM installation http://www.op5.com/how-to/how-to-monitor-kvm-installation/ &#160; Secure communication with Cloud [...]]]></description>
			<content:encoded><![CDATA[<div>The tech team at op5 have published a number of new How-To articles on the op5 Support</div>
<div>web. Here is a list of the most recent How-Tos:</div>
<div>&nbsp;</div>
<div>Access op5 Monitor from your iPhone</div>
<div><a href="http://www.op5.com/how-to/access-op5-monitor-iphone/">http://www.op5.com/how-to/access-op5-monitor-iphone/</a></div>
<div>&nbsp;</div>
<div>Access op5 Monitor on Android Smartphone</div>
<div><a href="http://www.op5.com/how-to/access-op5-monitor-android-smartphone/">http://www.op5.com/how-to/access-op5-monitor-android-smartphone/</a></div>
<div>&nbsp;</div>
<div>How-to monitor a KVM installation</div>
<div><a href="http://www.op5.com/how-to/how-to-monitor-kvm-installation/">http://www.op5.com/how-to/how-to-monitor-kvm-installation/</a></div>
<div>&nbsp;</div>
<div>Secure communication with Cloud poller</div>
<div><a href="http://www.op5.com/how-to/secure-communication-cloud-poller/">http://www.op5.com/how-to/secure-communication-cloud-poller/</a></div>
<div>&nbsp;</div>
<div>Agentless Monitoring of Windows using WMI</div>
<div><a href="http://www.op5.com/how-to/agentless-monitoring-windows-wmi/">http://www.op5.com/how-to/agentless-monitoring-windows-wmi/</a></div>
<div>&nbsp;</div>
<div>How to monitor your application server with op5 Monitor and JMX4Perl</div>
<div><a href="http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/">http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/</a></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Please let me know if you have any suggestion for future How-To articles.</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F09%2F29%2Fnew-how-to-articles-at-op5%2F&amp;title=New%20How-To%20articles%20at%20op5" id="wpa2a_24"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/09/29/new-how-to-articles-at-op5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today someone killed my Internetaccess</title>
		<link>http://www.it-slav.net/blogs/2011/09/02/today-someone-killed-my-internetaccess/</link>
		<comments>http://www.it-slav.net/blogs/2011/09/02/today-someone-killed-my-internetaccess/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 20:34:33 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[asterisk]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2136</guid>
		<description><![CDATA[My internet connection is a crappy ADSL line. &#160; I noticed that I did get alot alerts from op5 Monitor complaining about high error rate on the external network. After some investigation I noticed that UDP port 5060 generated approx 1.5 Mbps in traffic and that is more or less maximum my ADSL connection can [...]]]></description>
			<content:encoded><![CDATA[<p>My internet connection is a crappy ADSL line.</p>
<p>&nbsp;</p>
<p>I noticed that I did get alot alerts from op5 Monitor complaining about high error rate on the external network. After some investigation I noticed that UDP port 5060 generated approx 1.5 Mbps in traffic and that is more or less maximum my ADSL connection can handle. UDP port 5060 that is SIP.</p>
<p>&nbsp;</p>
<p>A nice graph showing the errorrates, generated by op5 Monitor:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/09/Screen-Shot-2011-09-02-at-10.19.20-PM.png"><img alt="" title="Screen Shot 2011-09-02 at 10.19.20 PM" width="612" height="265" class="aligncenter size-full wp-image-2137" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/09/Screen-Shot-2011-09-02-at-10.19.20-PM.png" /></a></p>
<p><span id="more-2136"></span>&nbsp;</p>
<p>I looked into my Asterisk log:</p>
<p>&nbsp;</p>
<p class="p1">[Sep &nbsp;2 20:01:35] NOTICE[2459] chan_sip.c: Registration from &#8216;&quot;3959&quot; &lt;sip:3959@82.182.144.134&gt;&#8217; failed for &#8217;50.97.142.134&#8242; &#8211; No matching peer found</p>
<p class="p1">[Sep &nbsp;2 20:01:35] NOTICE[2459] chan_sip.c: Registration from &#8216;&quot;3959&quot; &lt;sip:3959@82.182.144.134&gt;&#8217; failed for &#8217;50.97.142.134&#8242; &#8211; No matching peer found</p>
<p class="p1">[Sep &nbsp;2 20:01:35] NOTICE[2459] chan_sip.c: Registration from &#8216;&quot;3959&quot; &lt;sip:3959@82.182.144.134&gt;&#8217; failed for &#8217;50.97.142.134&#8242; &#8211; No matching peer found</p>
<p class="p1">[Sep &nbsp;2 20:01:35] NOTICE[2459] chan_sip.c: Registration from &#8216;&quot;3959&quot; &lt;sip:3959@82.182.144.134&gt;&#8217; failed for &#8217;50.97.142.134&#8242; &#8211; No matching peer found</p>
<p class="p1">[Sep &nbsp;2 20:01:35] NOTICE[2459] chan_sip.c: Registration from &#8216;&quot;3959&quot; &lt;sip:3959@82.182.144.134&gt;&#8217; failed for &#8217;50.97.142.134&#8242; &#8211; No matching peer found</p>
<p class="p1">[Sep &nbsp;2 20:01:35] NOTICE[2459] chan_sip.c: Registration from &#8216;&quot;3959&quot; &lt;sip:3959@82.182.144.134&gt;&#8217; failed for &#8217;50.97.142.134&#8242; &#8211; No matching peer found</p>
<p class="p1">&nbsp;</p>
<h2>Conclusion</h2>
<p>Someone from 50.97.142.134 tries to register their SIP device on my Asterisk server, they do it an abnormal high rate.</p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>Reaction</h2>
<p class="p1">I created a block in my firewall on everything from&nbsp;50.97.142.134. Unfortunatly it does not help much because it is on the wrong side of the ADSL connection. But I get rid of the handshaking and filled logs.</p>
<p class="p1">&nbsp;</p>
<p class="p1">A whois search showed that the traffic comes from Softlayer in Dallas, so I wrote an email to postmaster@softlayer.com.</p>
<p class="p1">&nbsp;</p>
<p class="p1">Lets see if I get any reaction</p>
<p class="p1">&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F09%2F02%2Ftoday-someone-killed-my-internetaccess%2F&amp;title=Today%20someone%20killed%20my%20Internetaccess" id="wpa2a_26"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/09/02/today-someone-killed-my-internetaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Telldus Tellstick on CentOS 6 or RedHat Enterprise Linux 6</title>
		<link>http://www.it-slav.net/blogs/2011/08/29/install-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6/</link>
		<comments>http://www.it-slav.net/blogs/2011/08/29/install-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 18:08:21 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[telldus]]></category>
		<category><![CDATA[tellstick]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2109</guid>
		<description><![CDATA[Background I have a long time looked at Telldus Tellstick&#160;that can control wall-plug socket recievers and other devices. Finally I got my hands on one that my collegue wanted to sell. This article will describe how to get it up and running on a x86_64 CentOS 6 box, the procedure would be the same on [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I have a long time looked at Telldus <a target="_blank" href="http://www.telldus.se/products/tellstick">Tellstick</a>&nbsp;that can control wall-plug socket recievers and other <a target="_blank" href="http://www.telldus.se/products/compability">devices</a>. Finally I got my hands on one that my collegue wanted to sell.</p>
<p>This article will describe how to get it up and running on a x86_64 CentOS 6 box, the procedure would be the same on RHEL or Feodora and similiar on other Linux distributions. Unfortunatly the only distribution that has pre-made packages is Ubuntu so I will describe howto download the source code, compile it and get the amazing Telldus Tellstick up and running.</p>
<p>&nbsp;<a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/telldus.jpg"><img alt="" title="telldus" width="225" height="243" class="aligncenter size-full wp-image-2120" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/telldus.jpg" /></a></p>
<p>Kudos to Telldus that has understood the power of OpenSource and opened up the device to let third-part &nbsp;vendors make solutions based on the device.</p>
<p><span id="more-2109"></span></p>
<h2>&nbsp;</h2>
<h2>Installation</h2>
<p>Install packages needed for the compilation</p>
<p><code>yum install gcc gcc-c++ autoconf automake cmake</code></p>
<p>&nbsp;</p>
<p>Libconfuse is needed:&nbsp;</p>
<p><code>wget http://pkgs.repoforge.org/libconfuse/libconfuse-2.6-2.el6.rf.x86_64.rpm</code></p>
<p><code>wget http://pkgs.repoforge.org/libconfuse/libconfuse-devel-2.6-2.el6.rf.x86_64.rpm</code></p>
<p>&nbsp;</p>
<p>Install libconfuse:</p>
<p><code>rpm -Uvh libconfuse-*</code></p>
<p><code>warning: libconfuse-2.6-2.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY</code></p>
<p><code>Preparing... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;########################################### [100%]</code></p>
<p><code>&nbsp; &nbsp;1:libconfuse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ########################################### [ 50%]</code></p>
<p><code>&nbsp; &nbsp;2:libconfuse-devel &nbsp; &nbsp; &nbsp; ########################################### [100%]</code></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Download, configure, compile, and install the Tellstick package from Telldus&nbsp;</p>
<div><code>wget http://download.telldus.se/TellStick/Software/telldus-core/telldus-core-2.0.4.tar.gz</code></div>
<div><code>tar xzvf telldus-core-2.0.4.tar.gz&nbsp;</code></div>
<div><code>cd telldus-core-2.0.4</code></div>
<div><code>cmake .</code></div>
<div><code>make&nbsp;</code></div>
<div><code>make install</code></div>
<div><code>&nbsp;</code></div>
<div>make use of new libs in&nbsp;/usr/local/lib</div>
<div><code>echo&nbsp;/usr/local/lib &gt;&nbsp;/etc/ld.so.conf.d/tellstick.conf</code></div>
<div><code>ldconfig</code></div>
<div>&nbsp;</div>
<div>Insert the needed module</div>
<div><code>modprobe ftdi_sio vendor=0x1781 product=0x0c30</code></div>
<div>&nbsp;</div>
<div>connected the telldus stick and in /var/log/messages you should see:</div>
<div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: new full speed USB device using ehci_hcd and address 4</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: New USB device found, idVendor=1781, idProduct=0c30</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Product: TellStick</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Manufacturer: Telldus</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: SerialNumber: A400gl7J</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: configuration #1 chosen from 1 choice</code></div>
<div><code>Aug 29 18:50:57 mother kernel: ftdi_sio 1-3.2:1.0: FTDI USB Serial Device converter detected</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Detected FT232RL</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Number of endpoints 2</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Endpoint 1 MaxPacketSize 64</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Endpoint 2 MaxPacketSize 64</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Setting MaxPacketSize 64</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB0</code></div>
</div>
<div>&nbsp;</div>
<div>Strange is that the Tellstick uses /dev/tellstick even though the log tells ttyUSB0</div>
<div>&nbsp;</div>
<h2>Configure</h2>
<div>I bought <a target="_blank" href="http://www.kjell.com/?item=50219">#50219</a> from Kjell&amp;Co the price is approx 15&euro;</div>
<div>&nbsp;</div>
<div>Add to /etc/tellstick.conf</div>
<div>
<div><code>deviceNode = &quot;/dev/tellstick&quot;</code></div>
<div><code>device {</code></div>
<div><code>&nbsp; id = 2</code></div>
<div><code>&nbsp; name = &quot;Example device&quot;</code></div>
<div><code>&nbsp; protocol = &quot;arctech&quot;</code></div>
<div><code>&nbsp; model = &quot;selflearning-switch&quot;</code></div>
<div><code>&nbsp; parameters {</code></div>
<div><code>&nbsp; &nbsp; house = &quot;12345678&quot;</code></div>
<div><code>&nbsp; &nbsp; unit = &quot;2&quot;</code></div>
<div><code>&nbsp; }</code></div>
<div><code>}</code></div>
<div>&nbsp;</div>
<div>Put the powerswitch in selflearning mode and run:</div>
<div><code># tdtool --learn 2</code></div>
<div><code>Learning device: 2 Example device - Success</code></div>
</div>
<div>&nbsp;</div>
<div>Try</div>
<div>
<div><code># tdtool --on 2</code></div>
<div><code>Turning on device 2, Example device - Success</code></div>
</div>
<div>&nbsp;</div>
<div>and the device turned on and there were light!!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code># tdtool --off 2</code></div>
<div>And the light is off</div>
<div>&nbsp;</div>
<div>If you get&nbsp;</div>
<div><code>/var/state/telldus-core.conf:1: no such option 'deviceNode'</code></div>
<div>just remove&nbsp;/var/state/telldus-core.conf with</div>
<div><code>rm&nbsp;/var/state/telldus-core.conf</code></div>
<div>It seems like it can be removed without any problem.</div>
<div>&nbsp;</div>
<div>To annoy your wife/kids/dog or anybody else try</div>
<div><code>while true ; do tdtool --on 2; tdtool --off 2; done</code></div>
<div><code>&nbsp;</code></div>
<div>Have fun with your computer controlled powerdevices:-)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<h2>Useful links:</h2>
<ul>
<li><a target="_blank" href="http://www.telldus.com/">Telldus</a></li>
<li>Different Telldus <a target="_blank" href="http://www.telldus.com/products/range">Tellsticks</a></li>
<li>Supported <a target="_blank" href="http://www.telldus.com/products/compability">devices</a></li>
</ul>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F08%2F29%2Finstall-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6%2F&amp;title=Install%20Telldus%20Tellstick%20on%20CentOS%206%20or%20RedHat%20Enterprise%20Linux%206" id="wpa2a_28"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/08/29/install-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monitor FreeNAS raid disks with Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2011/08/26/monitor-freenas-raid-disks-with-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2011/08/26/monitor-freenas-raid-disks-with-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 20:05:36 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[geom]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[op5]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1961</guid>
		<description><![CDATA[Background As a monitoring fanatic, I&#160;think that have mirrored disk without monitor the mirror is worse then not have a redundant disk system at all. If you think that you are safe and you are not, is worse then be aware of a risk and calculate with it. This article will describe how I&#160;did monitoring [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>As a monitoring fanatic, I&nbsp;think that have mirrored disk without monitor the mirror is worse then not have a redundant disk system at all. If you think that you are safe and you are not, is worse then be aware of a risk and calculate with it.</p>
<p>This article will describe how I&nbsp;did monitoring my&nbsp;FreeNAS system mirrored disks status&nbsp;using Nagios or op5 Monitoring. I&nbsp;assume basic knowledge of Nagios or op5 Monitor and that a Nagios agent is installed.</p>
<p>&nbsp;<br />
<span id="more-1961"></span></p>
<h2>Demarcation</h2>
<p>This article will focus on GEOM raid monitoring. Of cource all important services should be monitored, like HTTP, CIFS, SMB, disk space, CPU Load, memory usage and so on. However that is basic monitoring knowledge and there is alot of documentation on the net howto achive that.</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;</p>
<h2>Monitor the GEOM mirror</h2>
<p>The most interesting part is to monitor the GEOM mirror to make sure that that the raid1 is working.&nbsp;</p>
<p>After some googleing I&nbsp;found <a target="_blank" href="http://exchange.nagios.org/directory/Plugins/System-Metrics/Storage-Subsystem/check_geom/details">check_geom</a>, downloaded it and put it in /usr/local/libexec/nagios/ where the other plugins are located.</p>
<p>Add a line to /etc/nrpe.cfg</p>
<p><code>command[check_geom_mirror]=/usr/local/libexec/nagios/check_geom mirror</code></p>
<p>and test from Nagios/op5 Monitor host:</p>
<p><code># ./check_nrpe -H fnas -c check_geom_mirror<br />
OK mirror&nbsp; - mirror/2TBmirror0 COMPLETE { ad6 , ad4 }</code></p>
<p>It works!<br />
&nbsp;</p>
<h2>Configure Nagios or op5 Monitor</h2>
<p>In /opt/monitor/etc/services.cfg at the op5 Monitor host</p>
<p><code># service 'Disk Raid Mirrors'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fnas<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disk Raid Mirrors<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_nrpe!check_geom_mirror<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it-slav_mail,it-slav_jabber<br />
&nbsp;&nbsp;&nbsp; }</code></p>
<p>&nbsp;</p>
<h2>The result</h2>
<p>I tested unplugging the SATA cabel to one of the mirrored disk and after a couple of minutes I got an Critical notification that my disk mirror is broken, I plugged SATA cabel and got a Warning:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/geom.png"><img alt="" title="geom" width="507" height="97" class="aligncenter size-full wp-image-2100" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/geom.png" /></a></p>
<p>&nbsp;</p>
<p>After a couple of hours the mirror was OK.</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/Screen-Shot-2011-08-25-at-3.46.39-PM.png"><img alt="" title="Screen Shot 2011-08-25 at 3.46.39 PM" width="664" height="81" class="aligncenter size-full wp-image-2102" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/Screen-Shot-2011-08-25-at-3.46.39-PM.png" /></a></p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>Useful links:</h2>
<ul>
<li><a target="_blank" href="http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/">Previous article</a> describing howto install nagios or op5 Monitor agent on FreeNAS</li>
<li><a href="http://www.op5.com">op5</a>, an Enterprise Monitor product company</li>
<li><a target="_blank" href="http://www.op5.com/network-monitoring/op5-monitor/">op5 Monitor</a>, Enterprise Monitoring based on opensource</li>
<li><a target="_blank" href="http://www.nagios.org">Nagios</a>, an excellent opensource monitor tool</li>
<li><a href="http://www.freenas.org/">FreeNAS</a>, very capable NAS based on FreeBSD</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F08%2F26%2Fmonitor-freenas-raid-disks-with-nagios-or-op5-monitor%2F&amp;title=Monitor%20FreeNAS%20raid%20disks%20with%20Nagios%20or%20op5%20Monitor" id="wpa2a_30"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/08/26/monitor-freenas-raid-disks-with-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor FreeNAS with op5 Monitor or Nagios</title>
		<link>http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 12:31:58 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2090</guid>
		<description><![CDATA[Background My old NAS built on top of CentOS has some performence issues and the disks are quit old now. The hardware is leftovers that is approx 8 years old and not highend at that time either. The disks age has worried my for a time and I would like to have higher redunduncy with [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>My old NAS built on top of CentOS has some performence issues and the disks are quit old now. The hardware is leftovers that is approx 8 years old and not highend at that time either. The disks age has worried my for a time and I would like to have higher redunduncy with raid1/mirrored disks.</p>
<p>After some research I decided to run my new NAS on FreeNAS, which has all the features I use, like: CIFS, NFS, FTP, SSH, Rsync, Unison, iSCSI and also easy administration and disk management.</p>
<p>This article will describe how I&nbsp;did setup Nagios or op5 Monitoring on my FreeNAS system. I&nbsp;assume basic knowledge of Nagios or op5 Monitor.</p>
<p>&nbsp;<span id="more-2090"></span></p>
<h2>Installing nrpe</h2>
<p>Nrpe is the agent that nagios and op5 Monitor uses to monitor a system from the inside.</p>
<p>From the webgui add group nagios and user nagios. User nagios should be a meber of group nagios.</p>
<p><code>&nbsp;freenas:~# pkg_add -r nrpe2<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/Latest/nrpe2.tbz... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/perl-5.10.1.tbz... Done.<br />
Removing stale symlinks from /usr/bin...<br />
&nbsp;&nbsp;&nbsp; Skipping /usr/bin/perl<br />
&nbsp;&nbsp;&nbsp; Skipping /usr/bin/perl5<br />
Done.<br />
Creating various symlinks in /usr/bin...<br />
&nbsp;&nbsp;&nbsp; Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl<br />
&nbsp;&nbsp;&nbsp; Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl5<br />
Done.<br />
cd: can't cd to /usr/include<br />
Cleaning up /etc/make.conf... Done.<br />
Spamming /etc/make.conf... Done.<br />
Cleaning up /etc/manpath.config... Done.<br />
Spamming /etc/manpath.config... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/libiconv-1.13.1_1.tbz... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/gettext-0.17_1.tbz... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/nagios-plugins-1.4.14,1.tbz... Done.<br />
You already have a &quot;nagios&quot; group, so I will use it.<br />
You already have a &quot;nagios&quot; user, so I will use it.</p>
<p>**********************************************************************</p>
<p>&nbsp;Enable NRPE in /etc/rc.conf with the following line:</p>
<p>&nbsp;&nbsp; nrpe2_enable=&quot;YES&quot;</p>
<p>&nbsp;A sample configuration is available in /usr/local/etc/nrpe.cfg-sample.<br />
&nbsp;Copy to nrpe.cfg where required and edit to suit your needs.</p>
<p>**********************************************************************</code><br />
&nbsp;</p>
<p><code>freenas:~# cp /usr/local/etc/nrpe.cfg-sample /etc/nrpe.cfg</code></p>
<p>I changed the allowed_hosts line and added my op5 Monitor host.</p>
<div>&nbsp;</div>
<div>Unfortunatly the instructions to autostart nrpe do not work, my guess is that FreeNAS is not 100% FreeBSD compatible.</div>
<div>I modified /etc/rc and addded in the end of the file:</div>
<div>
<div>&nbsp;</div>
<div><code>#Added by peter@it-slav.net 20101114</code></div>
<div><code>echo 'nrpe'</code></div>
<div><code>/usr/local/sbin/nrpe2 -c /etc/nrpe.cfg -d</code></div>
<div><code>#End peter@it-slav.net</code></div>
<div><code>&nbsp;</code></div>
<div><code># Let the PHP functions know we've finished booting</code></div>
<div><code>BOOTING=0</code></div>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Reboot the FreeNAS system.</div>
<div>&nbsp;</div>
<div>From the op5 Monitor/Nagios host run:</div>
<div><code># ./check_nrpe -H fnas -c check_load<br />
OK - load average: 0.72, 0.85, 0.81|load1=0.721;15.000;30.000;0; load5=0.847;10.000;25.000;0; load15=0.808;5.000;20.000;0;&nbsp;</code><br />
&nbsp;</div>
<p>So the nagios agent works.</p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>&nbsp;</h2>
<h2>Links</h2>
<ul>
<li><a href="http://www.op5.com">op5</a>, an Enterprise Monitor product company</li>
<li><a target="_blank" href="http://www.op5.com/network-monitoring/op5-monitor/">op5 Monitor</a>, Enterprise Monitoring based on opensource</li>
<li><a target="_blank" href="http://www.nagios.org">Nagios</a>, an excellent opensource monitor tool</li>
<li><a href="http://www.freenas.org/">FreeNAS</a>, very capable NAS based on FreeBSD</li>
</ul>
<div>&nbsp;</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F08%2F25%2Fmonitor-freenas-with-op5-monitor-or-nagios%2F&amp;title=Monitor%20FreeNAS%20with%20op5%20Monitor%20or%20Nagios" id="wpa2a_32"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hurray, CentOS 6 is released</title>
		<link>http://www.it-slav.net/blogs/2011/07/13/hurray-centos-6-is-released/</link>
		<comments>http://www.it-slav.net/blogs/2011/07/13/hurray-centos-6-is-released/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 11:50:44 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2084</guid>
		<description><![CDATA[After a long wait CentOS 6 is here. Before installing, read the release notes]]></description>
			<content:encoded><![CDATA[<p>After a long wait CentOS 6 is <a href="http://centos.org/">here.</a></p>
<p>Before installing, read the <a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.0">release notes</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F07%2F13%2Fhurray-centos-6-is-released%2F&amp;title=Hurray%2C%20CentOS%206%20is%20released" id="wpa2a_34"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/07/13/hurray-centos-6-is-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud monitoring with op5 Monitor or Nagios</title>
		<link>http://www.it-slav.net/blogs/2011/07/07/cloud-monitoring-with-op5-monitor-or-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2011/07/07/cloud-monitoring-with-op5-monitor-or-nagios/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 18:44:57 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2076</guid>
		<description><![CDATA[Monitor the cloud with nagios or op5 monitor. ]]></description>
			<content:encoded><![CDATA[<p>Finally, the most important and useful widget to Ninja has arrived. As everybody in the IT industri today knows, the cloud is where we all want to go and nirvana will be accomplished. To get there it is a god idea to let your favorite monitor solution keep track of when you can read more about this holy graal.</p>
<p>The widget keeps track of how many times the word &quot;moln&quot; appear on idg.se webpage and displays it in a easy view in The Tactical Overview.</p>
<p>&nbsp;</p>
<p>Screenshoots from the different modes:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/07/idg_cloud_report.jpg"><img alt="" title="idg_cloud_report" width="400" height="425" class="aligncenter size-full wp-image-2077" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/07/idg_cloud_report.jpg" /></a></p>
<p>&nbsp;</p>
<p>Links:</p>
<ul>
<li><a href="https://demo.op5.com/monitor/index.php/tac">op5 Sandbox with a live cloud widget online</a>, registration is necessary</li>
<li><a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja">Ninja, the new and inovative nagios gui</a></li>
<li><a href="http://www.op5.org/community/plugin-inventory/widgets">Widget</a> exchange area</li>
</ul>
<p>Kudos to op5 support that has created this excellent widget&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/07/07/cloud-monitoring-with-op5-monitor-or-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using 1-wire devices in OpenWRT</title>
		<link>http://www.it-slav.net/blogs/2011/04/05/using-1-wire-devices-in-openwrt/</link>
		<comments>http://www.it-slav.net/blogs/2011/04/05/using-1-wire-devices-in-openwrt/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 08:43:08 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[1-wire]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2047</guid>
		<description><![CDATA[Background It is very handy to have a temprobe attached to network devices like a Wlan router, if OpenWRT&#160;is installed it is easy to use 1-wire devices. By using this method it is possible to create wireless temperature probes that uses Wlan. &#160; Install root@OpenWrt:~# opkg install owserver owfs&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; Using root@OpenWrt:~# owserver -u -C [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>It is very handy to have a temprobe attached to network devices like a Wlan router, if OpenWRT&nbsp;is installed it is easy to use 1-wire devices. By using this method it is possible to create wireless temperature probes that uses Wlan.</p>
<p>&nbsp;<span id="more-2047"></span></p>
<h2>Install</h2>
<p><code>root@OpenWrt:~# opkg install owserver owfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </code><br />
&nbsp;</p>
<h2>Using</h2>
<p><code>root@OpenWrt:~# owserver -u -C --usb_regulartime -p 3001</code></p>
<p><code>root@OpenWrt:~# mkdir /mnt/1-wire&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
</code></p>
<p><code>root@OpenWrt:~# owfs -s localhost:3001 -m /mnt/1-wire</code></p>
<p><code>root@OpenWrt:/mnt/1-wire/10.87507C010800# ls /mnt/1-wire/<br />
10.87507C010800&nbsp; 81.543A2A000000&nbsp; alarm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bus.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; settings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; simultaneous&nbsp;&nbsp;&nbsp;&nbsp; statistics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; structure&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uncached</code></p>
<p>It works! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;</p>
<p>To make sure that owserver starts when the router is rebooted, add to /etc/rc.local<code><br />
</code></p>
<p><code>/usr/bin/owserver -u -C --usb_regulartime -p 3001</code></p>
<h2>Firewall</h2>
<p>My op5 Monitor/Nagios system is on the Wan side of the OpeWRT&nbsp;box so I&nbsp;need to open the firewall to port 3001.</p>
<p>Add to /etc/config/firewall</p>
<p><code>#1-wire ok on Wan<br />
config rule<br />
&nbsp;&nbsp;&nbsp; option src&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; wan<br />
&nbsp;&nbsp;&nbsp; option dest_port&nbsp;&nbsp;&nbsp; 3001<br />
&nbsp;&nbsp;&nbsp; option target&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ACCEPT<br />
&nbsp;&nbsp;&nbsp; option proto&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tcp</code><br />
&nbsp;</p>
<h2>Result</h2>
<p>To gather the data from 1-wire I&nbsp;use <a target="_blank" href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> and my Nagios <a target="_blank" href="http://www.it-slav.net/blogs/2008/11/17/op5-monitor-or-nagios-plugins-for-1-wire-temperature-measurement/">plugin</a> check_1-wiretemp, the result can be seen below</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/04/Screen-shot-2011-04-05-at-10.38.10-AM.png"><img alt="" title="Screen shot 2011-04-05 at 10.38.10 AM" width="591" height="242" class="aligncenter size-full wp-image-2059" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/04/Screen-shot-2011-04-05-at-10.38.10-AM.png" /></a></p>
<p>Links</p>
<ul>
<li><a target="_blank" href="http://www.openwrt.org">OpenWrt</a></li>
<li><a target="_blank" href="http://owfs.org">owfs</a></li>
<li><a target="_blank" href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a></li>
</ul>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F04%2F05%2Fusing-1-wire-devices-in-openwrt%2F&amp;title=Using%201-wire%20devices%20in%20OpenWRT" id="wpa2a_36"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/04/05/using-1-wire-devices-in-openwrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open ssh on the WAN inteface in OpenWRT</title>
		<link>http://www.it-slav.net/blogs/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/</link>
		<comments>http://www.it-slav.net/blogs/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 08:10:53 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2037</guid>
		<description><![CDATA[To be able to administrate my OpenWRT&#160;router from Internet I&#160;need to open the ssh port on the Wan interface. &#160; It is real simple, just add to following to /etc/config/firewall: #open ssh on wan interface config rule&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; option src&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wan &#160;&#160;&#160;&#160;&#160;&#160;&#160; option dest_port&#160;&#160;&#160;&#160;&#160;&#160;&#160; 22 &#160;&#160;&#160;&#160;&#160;&#160;&#160; option target&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ACCEPT&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; option proto&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; tcp&#160; And restart [...]]]></description>
			<content:encoded><![CDATA[<p>To be able to administrate my OpenWRT&nbsp;router from Internet I&nbsp;need to open the ssh port on the Wan interface.</p>
<p>&nbsp;</p>
<p>It is real simple, just add to following to /etc/config/firewall:</p>
<p><code>#open ssh on wan interface<br />
config rule&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wan<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option dest_port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option target&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACCEPT&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option proto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tcp&nbsp; </code></p>
<p>And restart the firewall:</p>
<p><code>#/etc/init.d/firewall restart</code></p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F04%2F02%2Fopen-ssh-on-the-wan-inteface-openwrt%2F&amp;title=Open%20ssh%20on%20the%20WAN%20inteface%20in%20OpenWRT" id="wpa2a_38"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing OpenWRT on TP-Link TL-WR1043ND</title>
		<link>http://www.it-slav.net/blogs/2011/03/31/installing-openwrt-on-tp-link-tl-wr1043nd/</link>
		<comments>http://www.it-slav.net/blogs/2011/03/31/installing-openwrt-on-tp-link-tl-wr1043nd/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 19:06:06 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2029</guid>
		<description><![CDATA[Background After struggeling with my Linksys WRT-160NL to get OpenWRT&#160;stable I finally gave up. It ended upp with DD-WRT&#160;instead. Unfortunatly DD-WRT&#160;do not have the functionality I want like: -rndis device so I&#160;could use my Android phone to connect to Internet -1-wire device support -Nagios agent The solution was to buy another device where OpenWRT support [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>After struggeling with my Linksys WRT-160NL to get OpenWRT&nbsp;stable I finally gave up. It ended upp with DD-WRT&nbsp;instead. Unfortunatly DD-WRT&nbsp;do not have the functionality I want like:</p>
<p>-rndis device so I&nbsp;could use my Android phone to connect to Internet</p>
<p>-1-wire device support</p>
<p>-Nagios agent</p>
<p>The solution was to buy another device where <a href="http://openwrt.org/" target="_blank">OpenWRT</a> support is working better with USB and Gigabit interfaces. After some research I found TP-Link <a href="http://www.tp-link.com/products/productDetails.asp?class=wlan&amp;pmodel=TL-WR1043ND" target="_blank">TL-WR1043ND</a> for approx 50&euro;.</p>
<p>&nbsp;<span id="more-2029"></span></p>
<h2>Unpacking</h2>
<p>The TL-WR1043ND package is good looking and has a printed GPL license included, that is impressive.</p>
<p>The basic installation with TP-LINK installed firware was easy and stright forward with all information you need in a simple &quot;Quick installation Guide&quot;. No need for installing software on a windows machine to be able to access you new device. I think Cisco/Linksys has something to <a href="http://www.it-slav.net/blogs/2010/06/04/install-openwrt-on-linksys-wrt160nl/" target="_blank">learn.</a></p>
<p>&nbsp;</p>
<h2>Installing OpenWRT</h2>
<p>Find the Firmware upgrade menu and upload <a target="_blank" href="http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin">this</a> firmware. It worked perfectly well and seems very stable. A positive suprise is that the WLAN&nbsp;seems to reach longer then the WRT 160NL.</p>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>The TP-LINK TL-WR1043ND seems to be a good Wlan router that has a good support for OpenWRT, with USB, Gigabit ethernetinterfaces and good Wlan range.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F03%2F31%2Finstalling-openwrt-on-tp-link-tl-wr1043nd%2F&amp;title=Installing%20OpenWRT%20on%20TP-Link%20TL-WR1043ND" id="wpa2a_40"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/03/31/installing-openwrt-on-tp-link-tl-wr1043nd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Ventus GPS Route Logger G730 in Linux</title>
		<link>http://www.it-slav.net/blogs/2011/03/13/using-ventus-gps-route-logger-g730-in-linux/</link>
		<comments>http://www.it-slav.net/blogs/2011/03/13/using-ventus-gps-route-logger-g730-in-linux/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 16:41:16 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[gps logger]]></category>
		<category><![CDATA[gps tracker]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2006</guid>
		<description><![CDATA[&#160; Background I&#160;have a need of GPS tag my digital photos. Unfortunatly a GPS device to my camera costs approx 230&#160;Eur. In my humble opinion I think that is way of, especially considering that with some software in the camera any standard USB&#160;GPS reciever would do the job. They cost approx 40 Eur. I have [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h2>Background</h2>
<p>I&nbsp;have a need of GPS tag my digital photos. Unfortunatly a GPS device to my camera costs approx 230&nbsp;Eur. In my humble opinion I think that is way of, especially considering that with some software in the camera any standard USB&nbsp;GPS reciever would do the job. They cost approx 40 Eur.</p>
<p>I have an Android phone where there is tons of apps that could create a GPS log whenever I want to, however it drains the battery in just a couple of hours. I&nbsp;want to track my routes at least a whole day without the need to charge.</p>
<p>The solution is to buy a GPS&nbsp;logger and after some research I found <a href="http://www.ventusdesign.com/products/g730-ventus-gps-logger/" target="_blank">Ventus GPS Route Logger G730</a>, and it<a href="http://www.petrilopia.net/wordpress/hardware/ventus-gps-route-logger-g730-linux/" target="_blank"> looked like it would work with Linux</a>.</p>
<p>This article will describe my experience making the G730 Ventus GPS Route Logger and Linux.</p>
<p>&nbsp;<span id="more-2006"></span></p>
<h2>Using skytraq</h2>
<p>According to webpages skytraq can be used to create GPX tracks from the G730 Logger.</p>
<p>Unfortunatly the skytraq software are not in the Ubuntu repos so I&nbsp;had to download and install it manually. It is downloadable from&nbsp; <a href="http://code.google.com/p/skytraq-datalogger/" target="_blank">http://code.google.com/p/skytraq-datalogger/</a></p>
<p>It is out of the scope for this article how to compile and fullfill the requirements needs.</p>
<p>When the GPS Logger is attached the following will show up in /var/log/messages:</p>
<p><code>Jan 15 14:13:08 it-slav kernel: [21689.101101] usb 6-2: new full speed USB device using uhci_hcd and address 3<br />
Jan 15 14:13:09 it-slav kernel: [21689.316181] usb 6-2: configuration #1 chosen from 1 choice<br />
Jan 15 14:13:09 it-slav kernel: [21689.319138] pl2303 6-2:1.0: pl2303 converter detected<br />
Jan 15 14:13:09 it-slav kernel: [21689.332192] usb 6-2: pl2303 converter now attached to ttyUSB0</code></p>
<p>&nbsp;</p>
<p>So now we can communicate with the GPS Logger:</p>
<p><code>peter@it-slav:~/dl/skytraq/skytraq-datalogger-0.5-1$ ./skytraq-datalogger --info<br />
kernel version: 1.4.8 -- ODM version: 1.8.22 -- revision: 2008-10-23<br />
log_wr_ptr:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 28626<br />
total sectors:&nbsp;&nbsp; 510<br />
sectors left:&nbsp;&nbsp;&nbsp; 506<br />
max time:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3600 s<br />
min time:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 s<br />
max distance:&nbsp;&nbsp;&nbsp; 1000 m<br />
min distance:&nbsp;&nbsp;&nbsp; 0 m<br />
max speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000 km/h<br />
min speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 km/h<br />
datalog enable:&nbsp; 1<br />
log fifo mode:&nbsp;&nbsp; 1<br />
AGPS enabled:&nbsp;&nbsp;&nbsp; 0<br />
AGPS data left:&nbsp; none<br />
baud-rate:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 38400 bps</code></p>
<p>&nbsp;</p>
<p>Get the gpx file:</p>
<p><code>./skytraq-datalogger --dump &gt;20110310.gpx</code></p>
<p>And now a gpx file named 20110310.gpx is created.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Setup</h2>
<p>There is a possibility to conifigure the behvior of the GPS logger with skytraq, however it is possible to configure more parameters in the Ventus G730 so to fully configure I had to install the windows software that come with the logger.</p>
<p>The configuration is rather strange, there is a possibilty to log per time, over a certain speed and distance for the following:</p>
<ul>
<li>General</li>
<li>Walking</li>
<li>Car</li>
<li>Bicycle</li>
</ul>
<p>How the device knows what type of vehicle I use for traveling and if the General settings override the others is undocumented.</p>
<p>&nbsp;</p>
<h2>Problems</h2>
<p>Most of the time when trying to communicate with the logger it gives this message:</p>
<p><code>peter@it-slav:~/dl/skytraq/skytraq-datalogger-0.5-1$ ./skytraq-datalogger --info<br />
No response from datalogger.</code></p>
<p>And after a few seconds it works again. Sometimes unplugging the device and connect it again helps. The behavior is very stochastic and some patience will help:)</p>
<p>&nbsp;</p>
<p>The logger can be used as a GPS recever and the output is in standard NMEA format that GPSd understand. So if you want to use it together with your favorite GPS&nbsp;software it works. However my experience is that if you want to dump the output from the G730 Logger the GPS output must be turned of:</p>
<p><code>./skytraq-datalogger --set-output-off</code></p>
<p>&nbsp;</p>
<h2>Suggestion</h2>
<p>I suggest that Ventus should open the specification howto communicat with the device so third part software could use the device. To hide that type of information do not provide any advantage, rather the opposite.</p>
<p>I wrote an email to them and the correspondence can be seen below. I&nbsp;hope this blog post will make Ventus change their mind.</p>
<p>&#8211;cut&#8211;</p>
<p><tt>-------- Original Message --------<br />
Subject: Sv: Ventus g730<br />
Date: Mon, 3 Jan 2011 13:25:49 +0800<br />
From: &lt;support@ventusdesign.com&gt;<br />
To: Peter Andersson &lt;peter@it-slav.net&gt;<br />
CC: Ventus &lt;info@ventusdesign.com&gt;</p>
<p>Dear Peter</p>
<p>Thanks for your email and we will consider this.</p>
<p>Kind regards</p>
<p>Ventus Support</p>
<p>--------------------------------------------------<br />
Fra: &quot;Peter Andersson&quot; &lt;peter@it-slav.net&gt;<br />
Dato: 30. december 2010 23:10<br />
Til: &lt;support@ventusdesign.com&gt;<br />
Emne: Ventus g730</p>
<p>&gt; Hi<br />
&gt;<br />
&gt; I have just bought a Ventus g730 GPS Logger and I have some feedback.<br />
&gt; Before buying the device I made sure that it fullfilled my requriements:<br />
&gt; -Works with linux<br />
&gt; (http://www.petrilopia.net/wordpress/hardware/ventus-gps-route-logger-g730-linux/)<br />
&gt; -Create gpx files<br />
&gt; -Battery that last at least 12 hours<br />
&gt;<br />
&gt; Unfortunately you have have taken a strange decision and do not support<br />
&gt; Linux. However according to several forums the G730 is compatible with<br />
&gt; http://code.google.com/p/skytraq-datalogger/<br />
&gt; After fiddling with the device I found that the skytraq-datalogger<br />
&gt; sometimes works and sometimes does not. And I probably will return the<br />
&gt; device to the store if I cannot get it to work better with an open and<br />
&gt; free operating system.<br />
&gt;<br />
&gt; My recommendations to you are:<br />
&gt; 1-Provide an open specification how to access the data in the device<br />
&gt; 2-Modify the http://code.google.com/p/skytraq-datalogger/ software so it<br />
&gt; works with G730 and provide the code change to the team behind<br />
&gt; skytraq-datalogger, and also provide the software on you website.<br />
&gt;<br />
&gt; By following these simple steps (especially #1) you will sell a-lot of<br />
&gt; more devices to the people that prefer open and freedom.<br />
&gt;<br />
&gt; Best regards<br />
&gt; Peter Andersson<br />
&gt; peter@it-slav.net </tt><br />
&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F03%2F13%2Fusing-ventus-gps-route-logger-g730-in-linux%2F&amp;title=Using%20Ventus%20GPS%20Route%20Logger%20G730%20in%20Linux" id="wpa2a_42"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/03/13/using-ventus-gps-route-logger-g730-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>op5 Monitor or Nagios dashboard using Merlin backend</title>
		<link>http://www.it-slav.net/blogs/2011/03/09/nagios-dashboard-using-merlin-backend/</link>
		<comments>http://www.it-slav.net/blogs/2011/03/09/nagios-dashboard-using-merlin-backend/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 10:42:32 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[merlin]]></category>
		<category><![CDATA[nagios dashboard]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2010</guid>
		<description><![CDATA[Presenting collected Nagios data has been cumbersome. But now with op5 added funtionality, storing the data in a database makes it much easier. Morten Bekkelund has created a nice dashboard typically used in NOCs. The dashboard has been modified and improved by the community and an example can be seen at op5 sandbox dashboard and [...]]]></description>
			<content:encoded><![CDATA[<p>Presenting collected Nagios data has been cumbersome. But now with op5 added funtionality, storing the data in a database makes it much easier. Morten Bekkelund has created a nice dashboard typically used in NOCs.</p>
<p>The dashboard has been modified and improved by the community and an example can be seen at <a href="https://sandbox.op5.com/dashboard/" target="_blank">op5 sandbox dashboard</a> and can be downloaded from <a href="http://www.op5.org/community/plugin-inventory/dashboards/dashboard" target="_blank">op5 community</a>.</p>
<p>The original project place is <a href="http://dingleberry.me/2010/04/our-new-dashboard/" target="_blank">http://dingleberry.me/2010/04/our-new-dashboard/</a></p>
<p>&nbsp;<a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/03/dashboard-1.0.png"><img src="http://www.it-slav.net/blogs/wp-content/uploads/2011/03/dashboard-1.0-1024x508.png" alt="" title="dashboard-1.0" class="aligncenter size-large wp-image-2016" style="width: 602px; height: 301px;" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2011%2F03%2F09%2Fnagios-dashboard-using-merlin-backend%2F&amp;title=op5%20Monitor%20or%20Nagios%20dashboard%20using%20Merlin%20backend" id="wpa2a_44"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/03/09/nagios-dashboard-using-merlin-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Releasing op5 Monitor 5.3 with improved availability and SLA reports</title>
		<link>http://www.it-slav.net/blogs/2010/12/17/releasing-op5-monitor-5-3-with-improved-availability-and-sla-reports/</link>
		<comments>http://www.it-slav.net/blogs/2010/12/17/releasing-op5-monitor-5-3-with-improved-availability-and-sla-reports/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 14:11:33 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1999</guid>
		<description><![CDATA[&#160; News in op5 Monitor 5.3 &#160; &#160; Avail and SLA reports including performance graphs &#160; op5 Monitor 5.3 introduce the possibility to include performance graphs in avail reports. This mean you can, for example, create a response time report and not only get the availability but a graphical representation of the actual response times. [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h3>
News in op5 Monitor 5.3</h3>
<p>&nbsp;</p>
<p>&nbsp;</p>
<ul>
<li>
<h3>Avail and SLA reports including performance graphs</h3>
<h3>&nbsp;</h3>
</li>
</ul>
<p>op5 Monitor 5.3 introduce the possibility to include performance graphs  in avail reports. This mean you can, for example, create a response time  report and not only get the availability but a graphical representation  of the actual response times. This will, for instance, help the user in  capacity planing since the graphs may present trends that show when  disks are full, response times exceed threshold etc.<span id="more-1999"></span></p>
<p>&nbsp;</p>
<ul>
<li>
<h3>Avail and SLA reports including summary report</h3>
</li>
</ul>
<p>The avail and SLA reports can now also include a Summary report. There  are a number of different Summary reports available. For example, Top  Alert Producers and Most Resent Alerts. This mean the report can display  what service is causing the most alerts or at what time the respective  services breached warning or critical thresholds hence providing a more  fine grained view of the report period.</p>
<p>&nbsp;</p>
<ul>
<li>
<h3>Automatic Network scan</h3>
</li>
</ul>
<p>The Configuration tool in op5 Monitor have for a long time had the  ability to scan a network and discover hosts that are not monitored,  This scan can now be scheduled to run each night. When the scan  discovers one or more new hosts the user is notified and presented with a  link leading to the configuration tool. This mean you can minimize the  risk of forgetting to monitor hosts added to your network.</p>
<p>&nbsp;</p>
<ul>
<li>
<h3>User interface performance improvements</h3>
</li>
</ul>
<p>A lot of effort have been put into improving the overall performance  of the user interface. This involve indexes in the database as well as  optimizing the database queries. Depending on the environment and what  pages are used the user can expect an performance improvement of 50%  overall and in some cases, host/service group pages in particular,  several times more.</p>
<h2>&nbsp;</h2>
<h2>
More Information about op5 Monitor 5.3</h2>
<ul>
<li><a title="Release Notes op5 Monitor 5.3" href="http://www.op5.com/support/release-information/release-notes/doc_download/282-op5-monitor-53-release-notes">Release Note for op5 Monitor 5.3 </a></li>
<li><a title="Change Log for op5 Monitor" href="https://bugs.op5.com/changelog_page.php?project_id=3">Change Logs</a></li>
<li><a title="op5 Roadmap" href="https://bugs.op5.com/roadmap_page.php">Product Roadmaps</a></li>
<li><a title="op5 live demo" href="http://www.op5.com/op5/demo/sandbox">SandBox Live Demo</a></li>
</ul>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F12%2F17%2Freleasing-op5-monitor-5-3-with-improved-availability-and-sla-reports%2F&amp;title=Releasing%20op5%20Monitor%205.3%20with%20improved%20availability%20and%20SLA%20reports" id="wpa2a_46"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/12/17/releasing-op5-monitor-5-3-with-improved-availability-and-sla-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.827 seconds -->
<!-- Cached page served by WP-Cache -->
