<?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 &#187; Links</title>
	<atom:link href="http://www.it-slav.net/blogs/category/links/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>Fri, 02 Jul 2010 07:33:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>An advanced GPL&#8217;d rule engine, NodeBrain</title>
		<link>http://www.it-slav.net/blogs/2009/10/05/an-advanced-gpld-rule-engine-nodebrain/</link>
		<comments>http://www.it-slav.net/blogs/2009/10/05/an-advanced-gpld-rule-engine-nodebrain/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 20:31:48 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[nodebrian]]></category>
		<category><![CDATA[Rule engine]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1392</guid>
		<description><![CDATA[Background
When I&#160;worked as a Tivoli Consultant I spend a lot of time investigating the customer processes and workflow and try to make the monitoring solution to support this. It was often long term projects and involved alot of people like, project managers, support staff, maintenance staff, application owners, applicataion engineers, operating systemens managers, DBAs and [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>When I&nbsp;worked as a Tivoli Consultant I spend a lot of time investigating the customer processes and workflow and try to make the monitoring solution to support this. It was often long term projects and involved alot of people like, project managers, support staff, maintenance staff, application owners, applicataion engineers, operating systemens managers, DBAs and so on.</p>
<p>Very often the investigation followed the following principles:</p>
<ol>
<li>Investigate the problem management workflow</li>
<li>Document the different parts that builds up the system</li>
<li>Find spots where a probe could be inserted to monitor a particular part in the system</li>
<li>Define the thresholds for the probe</li>
<li>Iterate 3 and 4 until all possible problems in the system could be detected</li>
<li>Define who should have which alarm and when ifthe probes shows abnormal behavior.</li>
<li>Write the ruleset that implements 7</li>
<li>Test</li>
<li>Document and hand over to the customer</li>
</ol>
<p>When it comes to a product like Nagios or op5 Monitor, the product has a built in rule engine that fullfills most of the requirements in the steps above. In most cases it is just a matter of configuration and in some cases some extra scripting.</p>
<p><span id="more-1392"></span></p>
<h2>&nbsp;</h2>
<h2>Solution</h2>
<p>I&nbsp;have run into rare cases where the builtin rule engine is not good enough and I&nbsp;have looked for a rule engine that fullfill the following requirements:</p>
<ul>
<li>Gnu Public Licence or another acceptable license</li>
<li>Standalone</li>
<li>Advanced enough</li>
<li>Possible to integrate with other solutions like Nagios or op5 Monitor</li>
</ul>
<p>Now I think I&nbsp;have found a good candidate, <a target="_blank" href="http://www.nodebrain.org">NodeBrain</a> and right now I&#8217;m testing it.</p>
<p>I&nbsp;will do a follow up article where I&nbsp;describe howto integrate NodeBrain with <a href="http://www.nagios.org" target="_blank">Nagios</a> or <a href="http://www.op5.com/op5/products/monitor" target="_blank">op5 Monitor</a>.</p>
<p>&nbsp;</p>
<h2>An example</h2>
<p>This is as an example of what a rule engine can do:</p>
<p>Webshop example</p>
<ul>
<li>&nbsp;5 webfrontends, 1 or 2 down is OK, 3 is down is WARNING, 4 or 5 down is CRITICAL</li>
<li>2 appservers, 1 down is OK, 2 DOWN&nbsp;is CRITICAL</li>
<li>3 database backends, 1 down is OK, 2 down is WARNING, 3 down is CRITICAL</li>
<li>Overall, the layer with the highest severity is the total severerity.</li>
</ul>
<h3>&nbsp;Implementation:</h3>
<p>The ruleset</p>
<p><code>#Start with webservers<br />
#Set OK<br />
assert weba=0;<br />
assert webb=0;<br />
assert webc=0;<br />
assert webd=0;<br />
assert webe=0;<br />
assert&nbsp; webserversstatus=0;</p>
<p>#define webserver rules<br />
#5 frontwebservers, if 3 or more ok status is ok<br />
#if 2 is ok, status warning<br />
#if 1 or 0 ok, status critical<br />
define webservers cell weba+webb+webc+webd+webe;<br />
define webserversok on(webservers&lt;=4) webserversstatus=0;<br />
define webserverswarning on(webservers&gt;4 and webservers&lt;8) webserversstatus=1;<br />
define webserverscritical on(webservers&gt;=8) webserversstatus=2;</p>
<p>#appservers<br />
assert appa=0;<br />
assert appb=0;<br />
assert appserversstatus=0;<br />
#2 appservers, 1 down is ok, 2 down critical<br />
define appservers cell appa+appb;<br />
define appserversok on(appservers&lt;=2) appserversstatus=0;<br />
define appserverscritical on(appservers&gt;2) appserversstatus=2;</p>
<p>#Databaseservers<br />
assert dba=0;<br />
assert dbb=0;<br />
assert dbc=0;<br />
assert dbserversstatus=0;<br />
#3 db servers<br />
#if 2 or more ok, status ok<br />
#if 1 ok, status warning<br />
define dbservers cell dba+dbb+dbc;<br />
define dbserversok on(dbservers&lt;=2) dbserversstatus=0;<br />
define dbserverswarning on(dbservers&gt;=4 and dbservers &lt;6)dbserversstatus=1;<br />
define dbservercritical on(dbservers&gt;=6)dbserversstatus=2;</p>
<p>#Total rules<br />
assert webshopstatus=0;<br />
#If all serverstatus ok, the whole webshop is ok<br />
define webshopok on(webserversstatus=0 and appserversstatus=0 and dbserversstatus=0) webshopstatus=0;<br />
#If any serverstatus is critical the whole webshop is critical<br />
define webshopscritical on(webserversstatus=2 or appserversstatus=2 or dbserversstatus=2) webshopstatus=2;<br />
#If not any serverstatuscritical and in warning, the whole shop is warning.<br />
define webshopwarning on((!webserversstatus=2 and !appserversstatus=2 and !dbserversstatus=2) and (webserversstatus=1 or dbserversstatus=1)) webshopstatus=1; </code></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Testing:</p>
<p><code>./nb webshop.nb -<br />
&gt; assert weba=2;<br />
&gt; assert webb=2;<br />
&gt; assert webc=2;<br />
2009/10/02 09:44:42 NB000I Rule webserverswarning fired (webserversstatus=1)<br />
2009/10/02 09:44:42 NB000I Rule webshopwarning fired (webshopstatus=1)<br />
&gt; assert webd=2;<br />
2009/10/02 09:45:06 NB000I Rule webserverscritical fired (webserversstatus=2)<br />
2009/10/02 09:45:06 NB000I Rule webshopscritical fired (webshopstatus=2)<br />
&gt; assert webd=0;<br />
2009/10/02 09:46:27 NB000I Rule webserverswarning fired (webserversstatus=1)<br />
2009/10/02 09:46:27 NB000I Rule webshopwarning fired (webshopstatus=1)<br />
&gt; assert weba=0;<br />
2009/10/02 09:46:32 NB000I Rule webserversok fired (webserversstatus=0)<br />
2009/10/02 09:46:32 NB000I Rule webshopok fired (webshopstatus=0)<br />
&gt; assert appa=2;<br />
&gt; assert appb=2;<br />
2009/10/02 09:47:12 NB000I Rule appserverscritical fired (appserversstatus=2)<br />
2009/10/02 09:47:12 NB000I Rule webshopscritical fired (webshopstatus=2)<br />
&gt; assert weba=2;<br />
2009/10/02 09:47:40 NB000I Rule webserverswarning fired (webserversstatus=1)<br />
&gt; assert webd=2;<br />
2009/10/02 09:48:07 NB000I Rule webserverscritical fired (webserversstatus=2)<br />
&gt; assert appb=0;<br />
2009/10/02 09:49:08 NB000I Rule appserversok fired (appserversstatus=0)<br />
&gt; assert weba=0;<br />
2009/10/02 09:49:33 NB000I Rule webserverswarning fired (webserversstatus=1)<br />
2009/10/02 09:49:33 NB000I Rule webshopwarning fired (webshopstatus=1)<br />
&gt; assert dba=2;<br />
&gt; assert dbb=2;<br />
2009/10/02 09:51:05 NB000I Rule dbserverswarning fired (dbserversstatus=1)<br />
&gt; assert dbc=2;<br />
2009/10/02 09:51:09 NB000I Rule dbservercritical fired (dbserversstatus=2)<br />
2009/10/02 09:51:09 NB000I Rule webshopscritical fired (webshopstatus=2)<br />
&gt; show -t<br />
@ = ! == node<br />
webshopwarning = ! == on(((!(webserversstatus=2))&amp;((!(appserversstatus=2))&amp;(!(dbserversstatus=2))))&amp;((webserversstatus=1)|(dbserversstatus=1))) webshopstatus=1;<br />
webshopscritical = ! == on((webserversstatus=2)|((appserversstatus=2)|(dbserversstatus=2))) webshopstatus=2;<br />
webshopok = ! == on((webserversstatus=0)&amp;((appserversstatus=0)&amp;(dbserversstatus=0))) webshopstatus=0;<br />
webshopstatus = 2<br />
dbservercritical = ! == on(dbservers&gt;=6) dbserversstatus=2;<br />
dbserverswarning = ! == on((dbservers&gt;=4)&amp;(dbservers&lt;6)) dbserversstatus=1;<br />
dbserversok = ! == on(dbservers&lt;=2) dbserversstatus=0;<br />
dbservers = 6 == ((dba+dbb)+dbc)<br />
dbserversstatus = 2<br />
dbc = 2<br />
dbb = 2<br />
dba = 2<br />
appserverscritical = ! == on(appservers&gt;2) appserversstatus=2;<br />
appserversok = ! == on(appservers&lt;=2) appserversstatus=0;<br />
appservers = 2 == (appa+appb)<br />
appserversstatus = 0<br />
appb = 0<br />
appa = 2<br />
webserverscritical = ! == on(webservers&gt;=8) webserversstatus=2;<br />
webserverswarning = ! == on((webservers&gt;4)&amp;(webservers&lt;8)) webserversstatus=1;<br />
webserversok = ! == on(webservers&lt;=4) webserversstatus=0;<br />
webservers = 6 == ((((weba+webb)+webc)+webd)+webe)<br />
webserversstatus = 1<br />
webe = 0<br />
webd = 2<br />
webc = 2<br />
webb = 2<br />
weba = 0</p>
<p>&gt; assert dbc=0;<br />
2009/10/02 09:52:12 NB000I Rule dbserverswarning fired (dbserversstatus=1)<br />
2009/10/02 09:52:12 NB000I Rule webshopwarning fired (webshopstatus=1)<br />
&gt; assert webb=0;<br />
2009/10/02 09:52:31 NB000I Rule webserversok fired (webserversstatus=0)<br />
&gt; assert dba=0;<br />
2009/10/02 09:52:45 NB000I Rule dbserversok fired (dbserversstatus=0)<br />
2009/10/02 09:52:45 NB000I Rule webshopok fired (webshopstatus=0) </code></p>
<p>&nbsp;</p>
<h2>Links</h2>
<ul>
<li><a href="http://www.nodebrain.org" target="_blank">NodeBrain</a></li>
<li><a href="http://www.nodebrain.org/package/nb/version/0.7/release/0.7.4/nbTutorial.html" target="_blank">NodeBrain tutorial</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/10/05/an-advanced-gpld-rule-engine-nodebrain/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>op5 announces the release of op5 Monitor 4.2</title>
		<link>http://www.it-slav.net/blogs/2009/09/15/op5-announces-the-release-of-op5-monitor-4-2/</link>
		<comments>http://www.it-slav.net/blogs/2009/09/15/op5-announces-the-release-of-op5-monitor-4-2/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:00:10 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[ninja]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1346</guid>
		<description><![CDATA[op5 AB is a world leading OSM &#8211; Open Source Management &#8211; company that delivers software based on open source for control of IT systems and networks. The award winning op5 Monitor is now released with important enhancements that will enable customers and other vendors to further improve usability and integration for optimized IT monitoring. [...]]]></description>
			<content:encoded><![CDATA[<p><em>op5 AB is a world leading OSM &#8211; Open Source Management &#8211; company that delivers software based on open source for control of IT systems and networks. The award winning op5 Monitor is now released with important enhancements that will enable customers and other vendors to further improve usability and integration for optimized IT monitoring. </em></p>
<p>&nbsp;</p>
<p>op5 Monitor is based on Nagios*, the industry standard for enterprise-class IT infrastructure monitoring. Until now, op5 Monitor has had to rely on the basics of standard Nagios Graphical User Interface (GUI) for presentation and overall user experience. With the release of op5 Monitor 4.2 we include a fully functional preview of a brand new GUI, now based on the Ninja Open Source project. The new GUI is based on a modern PHP architecture and is now shipped for real operation testing.<span id="more-1346"></span></p>
<p>&nbsp;</p>
<p>Usability, flexibility and visualization probably stands for more then 80% of overall customer value. Our solutions for full control of our customers IT systems hold a huge amount of both historical data and instant events. Making this information accessible and easy to understand for as many as possible is the single most effective value for our customers. And who is better to give us important feedback on GUI related features and functions then our customers? This is why we now choose to include an early version for test, evaluation and feedback purposes, all to secure the best for the coming official release of Monitor 5.0 later this year, says Jan Josephson, CEO op5 AB.</p>
<p>&nbsp;</p>
<p>The new GUI with its flexible interface based on the PHP framework makes it much easier to provide customizations for customers specific needs. With the introduction of widget and support session based authentication it is now possible to fully personalize views and settings. The widget technology further provides a future standard way for two way synchronization and presentation of customer unique data and the presentation of it.</p>
<p>&nbsp;</p>
<p>The ability to search, sort and filter vast data volumes has been greatly improved with pagination for views of hosts and services and the possibility to sort by column. The new improved search feature includes auto suggestion and let you search on hosts, services host groups and service groups. <br />
These changes greatly improves the possibilities to answer to customer needs and to develop customized features that has not been possible until now due to the restrictions from the old GUI.<br />
A new module for network visualization (the NagVis project) has been included in op5 Monitor 4.2. You can now visualize your infrastructure using three different map types;</p>
<ul>
<li>Auto map, a auto drawn topology map using parent / child relationships.</li>
<li>Static Map makes it possible to put any object (host, service, host group or service group) on an image of choice.</li>
<li>Geo map, uses Google maps API, drawing a map by using addresses or gps coordinates on your monitored objects. Object and status information as well as links can be included in the map. The maps can be visualized as widgets on the tactical overview or be used on big monitors in operation centers.</li>
<li>Largest OSS-project in Network Monitoring, Nagios.</li>
</ul>
<p>&nbsp;</p>
<p>About op5 AB op5 AB is a world leading OSM &#8211; Open Source Management &#8211; company that delivers software based on open source for control of IT systems and networks. Its main products are op5 Monitor, op5 Statistics and op5 LogServer. The products are based on open source code that op5 further develops, packages, and sells as complete products and systems with services and support. p5 has a large selection of primarily European clients from different market segments for example AGA Linde Gas, The Swedish Customs Service (Tullverket) and other parastatals, several county councils, municipalities and municipal companies. op5 was founded in 2003. The company is based in Sweden with offices in Stockholm and Gothenburg.</p>
<p>&nbsp;</p>
<p><a href="http://www.op5.com/">www.op5.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/09/15/op5-announces-the-release-of-op5-monitor-4-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slackathon 2009, OpenBSD-conferance August 15:th, Stockholm</title>
		<link>http://www.it-slav.net/blogs/2009/08/14/slackathon-2009-openbsd-conferance-august-15th-stockholm/</link>
		<comments>http://www.it-slav.net/blogs/2009/08/14/slackathon-2009-openbsd-conferance-august-15th-stockholm/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 18:19:33 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1176</guid>
		<description><![CDATA[I&#8217;ll attend this years Slackathlon in Stockholm. I hope I will see you there
Welcome to this years Slackathon!
It will be held August 15th, at the Stockholm University, though not in
the same conference room as the previous years, since it couldn&#8217;t hold
all visitors anymore!
As previous years, the website is slowly getting into shape, and
probably wont hold [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll attend this years Slackathlon in Stockholm. I hope I will see you there</p>
<blockquote><p>Welcome to this years Slackathon!</p>
<p>It will be held August 15th, at the Stockholm University, though not in</p>
<p>the same conference room as the previous years, since it couldn&#8217;t hold</p>
<p>all visitors anymore!</p>
<p>As previous years, the website is slowly getting into shape, and</p>
<p>probably wont hold the complete &#8220;truth&#8221; until afterwards, since we</p>
<p>update it as we get more correct info. Be sure to check the web more</p>
<p>frequently as we get closer to the event.</p>
<p>The url is <a class="moz-txt-link-freetext" href="http://www.slackathon.se:2009/">http://www.slackathon.se:2009/</a></p>
<p>The description still points to the old location, but I&#8217;ll spank some</p>
<p>sense into the web slaves so they make a better &#8220;how-to-get-here&#8221; that</p>
<p>actually shows you are going to &#8220;Hörsal B3&#8243; and not the old conference</p>
<p>room. We&#8217;ll put some blowfishes up to point people that come from the</p>
<p>subway station in the right direction.</p>
<p>This year, there will be even more OpenBSD developers attending, since</p>
<p>the Slackathon 2009 is right after the f2k9 Filesystem Hackathon which I</p>
<p>am hosting at my work using a grant from the IIS foundation (the guys</p>
<p>and gals running the .SE top level domain)</p>
<p>Also note, that since there doesn&#8217;t seem to be an OpenCon this year, the</p>
<p>Slackathon probably is the only major OpenBSD-only conference held, so</p>
<p>even if it collides with HAR2009 and the Stockholm &#8220;midnight run&#8221;, you</p>
<p>don&#8217;t want to miss it!</p>
<p>Get them begging skills warmed up and draw donations from friends,</p>
<p>employers, parents or other rich entities that you think should donate</p>
<p>to OpenBSD and OpenSSH! It would also be nice if you help spread the</p>
<p>word around on various forums and communities.</p>
<p>As with previous years there will be no entrance fee and dinner will be</p>
<p>served for free to everyone, but I&#8217;d still need you to pre-announce if</p>
<p>you want it so I can make the correct amount of food, and also if you</p>
<p>want the vegan version.</p>
<p>For all of you who don&#8217;t live nearby, we can probably find you a couch</p>
<p>to sleep on here, just send a heads-up and we&#8217;ll dig up a few</p>
<p>&#8220;volunteers&#8221; to share their living quarters with you.</p>
<p>Hope to see you all there!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/08/14/slackathon-2009-openbsd-conferance-august-15th-stockholm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Nagios plugins from op5</title>
		<link>http://www.it-slav.net/blogs/2009/06/09/free-nagios-plugins-from-op5/</link>
		<comments>http://www.it-slav.net/blogs/2009/06/09/free-nagios-plugins-from-op5/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 07:17:10 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1134</guid>
		<description><![CDATA[op5 develops plugins for op5 Monitor, based on Nagios. As a courtesy to the community the plugins developed are free and can be downloaded from:
http://www.op5.org/community/projects/op5-plugins
The plugins is also located in a Git repository and can be checked out from:
http://git.op5.org/git/
]]></description>
			<content:encoded><![CDATA[<p>op5 develops plugins for op5 Monitor, based on Nagios. As a courtesy to the community the plugins developed are free and can be downloaded from:</p>
<p><a href="http://www.op5.org/community/projects/op5-plugins" target="_blank">http://www.op5.org/community/projects/op5-plugins</a></p>
<p>The plugins is also located in a Git repository and can be checked out from:</p>
<p><a href="http://git.op5.org/git/" target="_blank">http://git.op5.org/git/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/06/09/free-nagios-plugins-from-op5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios exchange</title>
		<link>http://www.it-slav.net/blogs/2009/06/05/nagios-exchange/</link>
		<comments>http://www.it-slav.net/blogs/2009/06/05/nagios-exchange/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 18:58:58 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1128</guid>
		<description><![CDATA[A new place to find articles, plugins and other information abot nagios is http://exchange.nagios.org/.
]]></description>
			<content:encoded><![CDATA[<p>A new place to find articles, plugins and other information abot nagios is <a href="http://exchange.nagios.org" target="_blank">http://exchange.nagios.org</a>/.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/06/05/nagios-exchange/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nagios forked</title>
		<link>http://www.it-slav.net/blogs/2009/05/11/nagios-forked/</link>
		<comments>http://www.it-slav.net/blogs/2009/05/11/nagios-forked/#comments</comments>
		<pubDate>Mon, 11 May 2009 17:47:36 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Icinga]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1051</guid>
		<description><![CDATA[A new project called Icinga has been created and alot of fuzz in the Nagios community has been created.
Andreas Ericson one of the members of the Nagios steering board has written this to his blog:



Some of you might know that a fork of Nagios has appeared recently. If you don&#8217;t, go read about it in [...]]]></description>
			<content:encoded><![CDATA[<p>A new project called <a href="http://www.icinga.org/" target="_blank">Icinga</a> has been created and alot of fuzz in the Nagios community has been created.</p>
<p>Andreas Ericson one of the members of the Nagios steering board has written this to his <a href="http://blogs.op5.org/blog4.php/2009/05/07/the-future-of-nagios" target="_blank">blog</a>:</p>
<p><span id="more-1051"></span></p>
<blockquote>
<div class="bText">
<p>Some of you might know that a fork of Nagios has appeared recently. If you don&#8217;t, go read about it in the nagios-devel mailing list archives. They&#8217;re available on sourceforge somewhere, but I can&#8217;t be bothered to look for them right now.</p>
<p>Working for a company that makes a living out of supporting and writing addons for Nagios, I must say I&#8217;m a bit sad. Being an enthusiastic and optimistic guy, I must say I&#8217;m thrilled.</p>
<p>A couple of facts before we set off:</p>
<ul>
<li> The fork was instigated largely by german members of the community. It <strong>appears</strong> to have been spearheaded by a german company (though I don&#8217;t know this for sure) that makes its living selling customized Nagios solutions and/or support. I don&#8217;t know this for sure, but it sure looks as if that&#8217;s what&#8217;s happened.</li>
<li>The german company have unlawfully used the Nagios trademark after being asked not to do so. It has also registered Nagios as a trademark in Germany, to which is a huge slap in the face of an opensource project. They are naturally not on the best of terms with Nagios&#8217; founding father, Ethan, at the moment.</li>
<li>Ethan has been absent working with the aforementioned lawsuit (or whatever it is a trademark violation results in when friendly talk is no longer enough), and also trying to put together a new webbased user interface for Nagios.</li>
<li>Patches from all levels of the community have been erratically ignored during Ethan&#8217;s absence. Some were picked up, but as many or more slipped between the cracks.</li>
<li>Ethan has always been the single person with commit access to the Nagios CVS (yuk) repository.</li>
<li>The fork uses <a href="http://www.git-scm.com/">git</a> to track their patches.</li>
</ul>
<p>The community developers have voiced a complaint that they cite as the primary reason for the fork:</p>
<p><em>Nagios is not being developed fast and openly enough.</em></p>
<p>I agree with this, and I&#8217;m currently discussing with Ethan about expanding the developer-base. Unfortunately, the scarce resource &#8220;trust&#8221; is even scarcer for those developers who joined the fork, which leaves the available candidates rather few. Happily, I count myself among them, and apparently so does Ethan. He emailed me away from public channels asking if I&#8217;d be willing to become a core developer, and op5 has graciously given a tentative promise to devote one to two days per week to Nagios development / patch management. Nothing&#8217;s settled yet, but development <strong>has</strong> to continue even if the core maintainer takes a leave of absence, so one way or another, we&#8217;ll make sure this happens.</p>
<p>In a perfect world (ie, one where I get to decide everything <img class="middle" src="http://blogs.op5.org/rsc/smilies/icon_wink.gif" alt=";)" />), here&#8217;s what will happen:</p>
<ul>
<li>Nagios incorporates the good changes that the fork produces.</li>
<li>The benevolent but previously frustrated developers from the fork hop back to working on Nagios when they see it&#8217;s once again moving forward. They could actually do that by keeping on working on their fork, although that would set them apart from the Nagios community a bit rather than make them members of it.</li>
<li>Nagios development picks up its pace and a new GUI is added to it which fulfills everyones wildest dreams.</li>
<li>Nagios development moves to using <a href="http://www.git-scm.com/">git </a>instead of CVS. Since git actually invites people to fork the code but makes it incredibly simple to merge those changes back to the pre-fork project again, there could be any number of forks and Nagios would be the grand total of the best of all of them. Who would win on that? Well, the Nagios users for a start, and Nagios itself, and Ethan, and every company making a living off of Nagios one way or another. So that&#8217;d be a win-win-win-win-win situation? I <strong>like</strong> it.</li>
</ul>
<p>For those who wonder where I&#8217;m standing in all this, I&#8217;ll be working with Ethan to make the community developers happy while at the same time trying to prevent the community users from living through the confusion that a long-lived fork means. In the end, I hope Nagios becomes a better product with a stronger and better community backing it, which seems rather inevitable now that more people than ever are working frantically at making it so. Hopefully it results in a happy community where The Right People(tm) are part of a Nagios steering committee or some such.</p>
<p>Time will tell. It always does <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
</div>
</blockquote>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/11/nagios-forked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenBSD 4.5 is out</title>
		<link>http://www.it-slav.net/blogs/2009/05/02/openbsd-45-is-out/</link>
		<comments>http://www.it-slav.net/blogs/2009/05/02/openbsd-45-is-out/#comments</comments>
		<pubDate>Sat, 02 May 2009 08:46:08 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1034</guid>
		<description><![CDATA[May 1, 2009.

We are pleased to announce the official release of OpenBSD 4.5.
This is our 25th release on CD-ROM (and 26th 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, 4.5 provides significant improvements,
including new features, in nearly all [...]]]></description>
			<content:encoded><![CDATA[<blockquote><pre>May 1, 2009.

We are pleased to announce the official release of OpenBSD 4.5.
This is our 25th release on CD-ROM (and 26th 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-1034"></span>
As in our previous releases, 4.5 provides significant improvements,
including new features, in nearly all areas of the system:

- New/extended platforms:
    o Initial ports to the xscale based gumstix platform and the ARM
      based OpenMoko
    o OpenBSD/sparc64
      o New vdsk(4) and vnet(4) drivers provide support for virtual
        I/O between logical domains on Sun's CoolThreads servers,
        including UltraSPARC T2+ machines.
      o Workstations and laptops with UltraSPARC IIe CPUs can now scale
        down the CPU frequency to save power.

- Improved hardware support, including:
    o Several new/improved drivers for sensors, including:
      o The cac(4)  driver now has bio and sensor support.
      o The mpi(4) driver now has bio and sensor support.
      o New gpiodcf(4) driver for DCF77/HBG timedelta sensors
        through GPIO pins.
      o New schsio(4) driver for SMSC SCH311x LPC Super I/O devices.
      o The it(4) driver now supports IT8720F chips.
      o The it(4) driver now supports FAN4 and FAN5 sensors for
        IT8716F/IT8718F/IT8720F/IT8726F chips.
      o The owtemp(4) driver now supports Maxim/Dallas DS18B20 and
        DS1822 temperature sensors.
      o The km(4) driver now supports AMD Family 11h
        processors (Turion X2 Ultra et al).
      o The lm(4) driver now supports W83627DHG attachment on the ICC bus.
      o The lmenv(4) driver now has better support for the fan sensors
        on lm81, adm9240 and ds1780 chips.
      o The sdtemp(4) driver now supports ST STTS424 chips.
    o The em(4) driver now supports ICH9 IGP M and IGP M AMT chips.
    o The sdmmc(4) driver now supports SDHC cards.
    o The msk(4) driver now supports Yukon-2 FE+ (88E8040, 88E8042) based
      devices.
    o The iwn(4) driver now supports Intel WiFi Link 5100/5300 devices.
    o The wpi(4) and iwn(4) drivers now support hardware CCMP cryptography.
    o The ath(4) driver now has WPA-PSK support.
    o age(4), a driver for Attansic L1 gigabit Ethernet devices was added.
    o ale(4), a driver for Atheros AR81xx (aka Attansic L1E) Ethernet
      devices was added.
    o mos(4), a driver for Moschip MCS7730/7830 10/100 USB Ethernet
      devices was added.
    o jme(4), a driver for JMicron JMC250/JMC260 10/100 and Gigabit
      Ethernet devices was added.
    o run(4), a driver for Ralink USB IEEE 802.11a/b/g/Draft-N devices
      was added.
    o auacer(4), a driver for Acer Labs M5455 audio devices was added.
    o ifb(4), a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600
      and XVR-1200 framebuffers (accelerated).
    o wildcatfb(4), an X driver for Sun Expert3D, Expert3D-Lite, XVR-500,
      XVR-600 and XVR-1200 framebuffers (unaccelerated).
    o sunffb(4), an accelerated X driver for Sun Creator, Creator 3D and
      Elite 3D framebuffers.
    o vdsk(4), a driver for virtual disks of sun4v logical domains.
    o vnet(4), a driver for virtual network adapters of sun4v logical domains.
    o vrng(4), a driver for the random number generator on Sun
      UltraSPARC T2/T2+ CPUs.
    o The vcons(4) driver is now interrupt driven.
    o ips(4), a driver for IBM SATA/SCSI ServeRAID controllers was added.
    o udfu(4), a driver for device firmware upgrade (DFU) was added.
    o Many improvements were made to the acpi(4) subsystem.
    o The umsm(4) driver supports several new EVDO/UMTS devices.
    o The mfi(4) driver now supports the next generation of
      MegaRAID SAS controllers.
    o New vsbic(4) driver for the MVME327A SCSI and floppy controller
      on mvme88k machines.
    o The re(4) driver, now supports 8168D/8111D-based devices.
    o The ehci(4) driver now supports isochronous transfers.
    o S/PDIF output support has been added to the ac97(4), auich(4),
      auvia(4) and azalia(4) drivers.
    o azalia(4) mixer has been clarified and simplified, support for 20-bit
      and 24-bit encodings has been added.
    o The gbe(4) frame buffer driver now supports acceleration.

- New tools:
    o ypldap(8), an YP server using LDAP as a backend.
    o xcompmgr(1) was added to xenocara.

- New functionality:
    o The libc resolver(3) may now be forced to perform lookups by TCP
      only using a new resolv.conf(5) option. The nameserver declaration
      in resolv.conf(5) has also been extended to allow specification
      of non-default nameserver ports.
    o apropos(1) has two new options (-S and -s) to allow searching by
      machine architecture and manual section.
    o aucat(1) now has audio server capability. Audio devices can be
      shared between multiple applications. Applications can run natively
      on fixed sample rate devices or on devices with unusual encodings.
      Multi-channel audio devices can be split into smaller independent
      subdevices.
    o aucat(1) now has a deviceless mode, in which it can be used as a
      general purpose audio file format conversion utility (to mix,
      demultiplex, resample or reencode files).
    o ifconfig(8) can now list channels supported by an IEEE 802.11 device.
    o New views were added to systat(8): malloc, bucket and pool. Improvements
      were made to existing views.
    o vnconfig(8) can now create devices with arbitrary geometry with the
      new -t option.
    o FFS filesystems are now supported on most devices, e.g. CD's, that have
      sector sizes other than 512 bytes.
    o Disklabels are now correctly placed and found on most devices,
      e.g. CD's, that have sector sizes other than 512 bytes.

- Assorted improvements and code cleanup:
    o malloc(3) has gained new attack mitigation measures; critical
      bookkeeping structures are protected at runtime using mprotect(2)
      and allocated at random addresses where possible.
    o A new version of the gdtoa code has been integrated, bringing
      better C99 support to printf(3) and friends.
    o Vastly improved C99 support in libm, including complex math support.

- Install/Upgrade process changes:
    o crunchgen(1) and crunchide(1) have been merged into crunchgen(8),
      which is now built and installed by default.
    o mksuncd(1) now lives in base and is installed by default.
    o CD-ROM installs are now supported on SGI.
    o Accept initial root passwords containing backslash characters.
    o Install now allows multiple interfaces to be configured with dhcp(8).
    o Upgrades now use the minimal protocols(5) and services(5) files
      provided on the install media.
    o The install media no longer contain a disktab(5) file.
    o Serial console speed is correctly determined on macppc.

- OpenSSH 5.2:
    o New features:
      o Added an option to ssh(1) to force logging to syslog rather
        than stderr.
      o The sshd_config(5) ForceCommand directive now accepts commandline
        arguments for the internal-sftp server.
      o The ssh(1) ~C escape commandline now support runtime creation of
        dynamic port forwards.
      o Support the SOCKS4A protocol in ssh(1) dynamic forwards.
      o Support remote port forwarding with a listen port of '0'.
      o sshd(8) now supports setting PermitEmptyPasswords and
        AllowAgentForwarding in Match blocks.
    o The following significant bugs have been fixed in this release:
      o Repair a ssh(1) crash introduced in openssh-5.1 when the
        client is sent a zero-length banner.
      o The <a class="moz-txt-link-abbreviated" href="mailto:eow@openssh.com">eow@openssh.com</a> and <a class="moz-txt-link-abbreviated" href="mailto:no-more-sessions@openssh.com">no-more-sessions@openssh.com</a> protocol
        extensions are now only sent to peers that identify
        themselves as OpenSSH.
      o Avoid printing "Non-public channel" warnings in sshd(8), since ssh(1)
        has sent incorrect channel numbers since ~2004; make ssh(1) send the
        correct channel number for SSH2_MSG_CHANNEL_SUCCESS and
        SSH2_MSG_CHANNEL_FAILURE.
      o Avoid double-free in ssh(1) ~C escape -L handler.
      o Correct fail-on-error behaviour in sftp(1) batchmode for remote
        stat operations.
      o Avoid hang in ssh(1) when attempting to connect to a server that
        has MaxSessions set to zero.

- Over 5,500 ports, minor robustness improvements in package tools.
    o Many pre-built packages for each architecture:
      i386:   5379    sparc64:  5174    alpha: 5132    sh:     1543
      amd64:  5312    powerpc:  5162    sparc: 2651    mips64: 3278
      arm:    4120    hppa:     4689    vax:   1718
    o Highlights include:
      o Gnome 2.24.3.
      o GNUstep 1.18.0.
      o KDE 3.5.10.
      o Mozilla Firefox 3.0.6.
      o Mozilla Thunderbird 2.0.0.19.
      o MySQL 5.0.77.
      o OpenOffice.org 2.4.2 and 3.0.1.
      o PostgreSQL 8.3.6.
      o Xfce 4.4.3.
      o OpenArena 0.8.1 (only for amd64, i386 and macppc)

- As usual, steady improvements in manual pages and other documentation.

- The system includes the following major components from outside
  suppliers:
      o Xenocara (based on X.Org 7.4 + patches, freetype 2.3.7,
        fontconfig 2.4.2, Mesa 7.2, xterm 239 and more)
      o Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
      o Perl 5.10.0 (+ patches)
      o Our improved and secured version of Apache 1.3, with SSL/TLS
        and DSO support
      o OpenSSL 0.9.8j (+ patches)
      o Groff 1.15
      o Sendmail 8.14.3, with libmilter
      o Bind 9.4.2-P2 (+ patches)
      o Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
      o Sudo 1.7
      o Ncurses 5.2
      o Latest KAME IPv6
      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.4
and 4.5, look at

        <a class="moz-txt-link-freetext" href="http://www.openbsd.org/plus45.html">http://www.OpenBSD.org/plus45.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 4.5 FTP/CD-ROM binaries and the actual 4.5
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 4.5 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 "Games".  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#45">http://www.OpenBSD.org/lyrics.html#45</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 4.5 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 writeoff, 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.

The OpenBSD 4.5 t-shirts are available now.  We also sell our older
shirts, as well as a selection of OpenSSH t-shirts.

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

If you choose not to buy an OpenBSD CD-ROM, OpenBSD can be easily
installed via FTP.  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.  With the CD-ROMs, the necessary documentation
is easier to find.

1) Read either of the following two files for a list of ftp
   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/4.5/ftplist">ftp://ftp.OpenBSD.org/pub/OpenBSD/4.5/ftplist</a>

   As of May 1, 2009, the following ftp mirror sites have the 4.5 release:

	<a class="moz-txt-link-freetext" href="ftp://ftp.stacken.kth.se/pub/OpenBSD/4.5/">ftp://ftp.stacken.kth.se/pub/OpenBSD/4.5/</a>	Sweden
	<a class="moz-txt-link-freetext" href="ftp://ftp2.usa.openbsd.org/pub/OpenBSD/4.5/">ftp://ftp2.usa.openbsd.org/pub/OpenBSD/4.5/</a>	NYC, USA
	<a class="moz-txt-link-freetext" href="ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.5/">ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.5/</a>	CO, USA
	<a class="moz-txt-link-freetext" href="ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.5/">ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.5/</a>	CA, USA
	<a class="moz-txt-link-freetext" href="ftp://rt.fm/pub/OpenBSD/4.5/">ftp://rt.fm/pub/OpenBSD/4.5/</a>			IL, USA

	The release is also available at the master site:

	<a class="moz-txt-link-freetext" href="ftp://ftp.openbsd.org/pub/OpenBSD/4.5/">ftp://ftp.openbsd.org/pub/OpenBSD/4.5/</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/4.5/ which contains these files and directories.
   This is a list of what you will see:

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

   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 "ports" 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    cd45.iso        floppyB45.fs    pxeboot*
	INSTALL.linux   cdboot*         floppyC45.fs    xbase45.tgz
	MD5             cdbr*           game45.tgz      xetc45.tgz
	base45.tgz      cdemu45.iso     index.txt       xfont45.tgz
	bsd*            comp45.tgz      install45.iso   xserv45.tgz
	bsd.mp*         etc45.tgz       man45.tgz       xshare45.tgz
	bsd.rd*         floppy45.fs     misc45.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 install45.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 install45.iso file (roughly 200MB 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 4.5 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 "fdimage.exe" located in the pub/OpenBSD/4.5/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.4.  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 4.5 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/4.5/PACKAGES">ftp://ftp.OpenBSD.org/pub/OpenBSD/4.5/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/4.5/README">ftp://ftp.OpenBSD.org/pub/OpenBSD/4.5/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/4.5/ directory:

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

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

OpenBSD 4.5 includes artwork and CD artistic layout by Ty Semaka,
who also arranged an audio track on the OpenBSD 4.5 CD set.  Ports
tree and package building by Jasper Lievisse Adriaanse, Michael Erdely,
Simon Bertrang, Stuart Henderson, Antoine Jacoutot, Robert Nagy,
Nikolay Sturm, 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 4.5 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 Schrijver, Alexander Yurchenko,
    Alexander von Gernler, Alexandre Ratchov, Alexey Vatchenko,
    Anders Magnusson, Andreas Gunnarsson, Anil Madhavapeddy,
    Antoine Jacoutot, Ariane van der Steldt, Artur Grabowski,
    Austin Hook, Bernd Ahlers, Bob Beck, Bret Lambert, Can Erkin Acar,
    Chad Loder, Charles Longeau, Chris Kuethe, Christian Weisgerber,
    Claudio Jeker, Constantine A. Murenin, Dale Rahn, Damien Bergamini,
    Damien Miller, Darren Tucker, David Gwynne, David Hill,
    David Krause, Eric Faurot, Esben Norby, Federico G. Schwindt,
    Felix Kronlage, Gilles Chehade, Giovanni Bechis, Gordon Willem Klok,
    Hans-Joerg Hoexer, Henning Brauer, Ian Darwin, Igor Sobrado,
    Jacek Masiulaniec, Jacob Meuser, Jakob Schlyter, Janne Johansson,
    Jared Yanovich, Jason Dixon, Jason George, Jason McIntyre,
    Jasper Lievisse Adriaanse, Joel Sing, Joerg Goltermann, Jolan Luff,
    Jonathan Gray, Jordan Hargrave, Joris Vink, Joshua Stein,
    Kenneth R Westerback, Kevin Lo, Kevin Steves, Kjell Wooding,
    Kurt Miller, Landry Breuil, Laurent Fanis, Marc Balmer, Marc Espie,
    Marco Peereboom, Marco Pfatschbacher, Marco S Hyman, Marcus Glocker,
    Mark Kettenis, Mark Uemura, Markus Friedl, Martin Reindl,
    Martynas Venckus, Mathieu Sauve-Frankel, Mats O Jansson,
    Matthias Kilian, Matthieu Herrb, Michael Erdely, Michael Knudsen,
    Michele Marchetto, Mike Belopuhov, Mike Larkin, Miod Vallat,
    Moritz Jodeit, Nick Holland, Nikolay Sturm, Okan Demirmen,
    Oleg Safiullin, Otto Moerbeek, Owain Ainsworth, Paul Irofti,
    Paul de Weerd, Pedro Martelletto, Peter Hessler, Peter Stromberg,
    Peter Valchev, Philip Guenther, Pierre-Emmanuel Andre,
    Pierre-Yves Ritschard, Rainer Giedat, Ray Lai, Reyk Floeter,
    Robert Nagy, Rui Reis, Ryan Thomas McBride, Simon Bertrang,
    Stefan Kempf, Stefan Sperling, Steven Mestdagh, Stuart Henderson,
    Ted Unangst, Theo de Raadt, Thordur I. Bjornsson, Tobias Stoeckmann,
    Tobias Weingartner, Todd C. Miller, Todd Fries, Will Maier,
    Xavier Santolaria, Yojiro Uo</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/02/openbsd-45-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel has published G45 Express Chipset specifications</title>
		<link>http://www.it-slav.net/blogs/2009/04/22/intel-has-published-g45-express-chipset-specifications/</link>
		<comments>http://www.it-slav.net/blogs/2009/04/22/intel-has-published-g45-express-chipset-specifications/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:30:26 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=987</guid>
		<description><![CDATA[Intel has been the leading graphic card manufacturer to OpenSource the graphic drivers. Now the fully documentaion is released:
The PRM describes the architectural behavior and programming environment of the chipset and graphics devices. The GMCH&#8217;s Graphics Controller (GC) contains an extensive set of registers and instructions for configuration, 2D, 3D, and Video systems. The PRM [...]]]></description>
			<content:encoded><![CDATA[<p>Intel has been the leading graphic card manufacturer to OpenSource the graphic drivers. Now the fully documentaion is released:</p>
<blockquote><p>The <a href="http://intellinuxgraphics.org/documentation.html">PRM</a> describes the architectural behavior and programming environment of the chipset and graphics devices. The GMCH&#8217;s Graphics Controller (GC) contains an extensive set of registers and instructions for configuration, 2D, 3D, and Video systems. The PRM describes the register, instruction, and memory interfaces and the device behaviors as controlled and observed through those interfaces. The PRM also describes the registers and instructions and provides detailed bit/field descriptions. This information is critical to the development and maintenance of Intel graphics drivers for this hardware.</p>
</blockquote>
<p>Take a look at: <a href="http://intellinuxgraphics.org/index.html" target="_blank">http://intellinuxgraphics.org/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/04/22/intel-has-published-g45-express-chipset-specifications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teledemo: op5 Products presented by Collax</title>
		<link>http://www.it-slav.net/blogs/2009/04/21/teledemo-op5-products-presented-by-collax/</link>
		<comments>http://www.it-slav.net/blogs/2009/04/21/teledemo-op5-products-presented-by-collax/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:05:18 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Logserver]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[op5 Statistics]]></category>
		<category><![CDATA[Collax]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=982</guid>
		<description><![CDATA[I will be running a demo of op5 products at thursday April 23:th 16:00 CET.
The demo is hosted by Collax a op5 partner in Germany.

If you want to attend, register at:
http://www.collax.com/de/ueber-collax/events-collax-live/webcast-collax-monitoring-solution.html
]]></description>
			<content:encoded><![CDATA[<p>I will be running a demo of op5 products at thursday April 23:th 16:00 CET.</p>
<p>The demo is hosted by <a href="http://www.collax.com">Collax</a> a op5 partner in Germany.</p>
<p><br class="spacer_" /></p>
<p>If you want to attend, register at:</p>
<p><a href="http://www.collax.com/de/ueber-collax/events-collax-live/webcast-collax-monitoring-solution.html" target="_blank">http://www.collax.com/de/ueber-collax/events-collax-live/webcast-collax-monitoring-solution.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/04/21/teledemo-op5-products-presented-by-collax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nordic Meet On Nagios 2009</title>
		<link>http://www.it-slav.net/blogs/2009/03/29/nordic-meet-on-nagios-2009/</link>
		<comments>http://www.it-slav.net/blogs/2009/03/29/nordic-meet-on-nagios-2009/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 19:39:09 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[op5]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=924</guid>
		<description><![CDATA[op5 is proud to arrange Nordic Meet on Nagios 2009 June 3-4th in Stockholm.

&#8212;cut&#8217;n paste&#8212;
Welcome to Nordic Meet on Nagios 2009 (NMN2009) June 3-4th, the largest Nagios Meet in Scandinavia. The 2008 Meet was a great success! The event was filled to the last seat and a great atmosphere in great summer weather in Stockholm! [...]]]></description>
			<content:encoded><![CDATA[<p>op5 is proud to arrange <a href="http://nordicmeetonnagios.op5.org/" target="_blank">Nordic Meet on Nagios 2009 </a>June 3-4th in Stockholm.</p>
<p><br class="spacer_" /></p>
<p>&#8212;cut&#8217;n paste&#8212;</p>
<blockquote><p>Welcome to <strong>Nordic Meet on Nagios 2009</strong> (NMN2009)<strong> June 3-4th</strong>, the largest Nagios Meet in Scandinavia. The 2008 Meet was a great success! The event was filled to the last seat and a great atmosphere in great summer weather in Stockholm! You can watch a <a title="video from nordic nagios meet 2008" href="http://nordicmeetonnagios.op5.org/video2008">video from the 2008 event.<br />
 </a></p>
<p style="text-align: left;">Take the opportunity to meet key open source profiles and discuss the future of their Nagios Related OSS Projects, listen to the latest news, market trends and case studies focusing on business value. There will be open discussions on development and technology challenges as well as hands on workshops. This year we develop the meet further with a longer program with more speakers from more projects, workshops and a whole lot of fun! We hope to meet you on Nordic Meet on Nagios 2009</p>
</blockquote>
<p style="text-align: left;">&#8212;end cut&#8217;n paste&#8212;</p>
<p style="text-align: left;"> </p>
<p style="text-align: left;">I will be there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/03/29/nordic-meet-on-nagios-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source in Schools 2009</title>
		<link>http://www.it-slav.net/blogs/2009/03/04/open-source-in-schools-2009/</link>
		<comments>http://www.it-slav.net/blogs/2009/03/04/open-source-in-schools-2009/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 12:44:32 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fusis]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=842</guid>
		<description><![CDATA[I will be one of the speakers at the Open Source in Schools conference 2009 in London March 6th,
If you are interested take a peak at:
http://www.opensourceinschools.org.uk/
Fusis arranges the conference and op5 is a partner to Fusis.


]]></description>
			<content:encoded><![CDATA[<p>I will be one of the speakers at the Open Source in Schools conference 2009 in London March 6th,</p>
<p>If you are interested take a peak at:</p>
<p><a href="http://www.opensourceinschools.org.uk/" mce_href="http://www.opensourceinschools.org.uk/" target="_blank">http://www.opensourceinschools.org.uk/</a></p>
<p><a href="http://www.fusis.com/" mce_href="http://www.fusis.com/" target="_blank">Fusis</a> arranges the conference and <a href="http://www.op5.com" mce_href="http://www.op5.com" target="_blank">op5</a> is a partner to Fusis.</p>
<p><br class="spacer_"></p>
<p><br class="spacer_"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/03/04/open-source-in-schools-2009/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL Tuning</title>
		<link>http://www.it-slav.net/blogs/2009/03/03/mysql-tuning/</link>
		<comments>http://www.it-slav.net/blogs/2009/03/03/mysql-tuning/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 20:03:12 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[wordpress tuning]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=819</guid>
		<description><![CDATA[Background

My blog that uses MySQL as the database backend suddenly got real performance issues. The symptoms where:

All my Nagios test failed from time to time with NRPE timeout
The performence of my dynamic webpages was terrible slow.
The load on the system showed very heavy load, more then 10 for  1, 5, and 15 minutes. 
When using [...]]]></description>
			<content:encoded><![CDATA[<h2>Background<br />
</h2>
<p>My blog that uses MySQL as the database backend suddenly got real performance issues. The symptoms where:</p>
<ul>
<li>All my Nagios test failed from time to time with NRPE timeout</li>
<li>The performence of my dynamic webpages was terrible slow.</li>
<li>The load on the system showed very heavy load, more then 10 for  1, 5, and 15 minutes. </li>
<li>When using &#8220;top&#8221; the CPU load on both CPUs was almost 100% and it was almost only httpd processes.</li>
<li>According to Firefox plugin Firebug it took about 12 seconds to load the startpage with me as the only user.</li>
</ul>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2009/03/dull_load.png"><img class="alignnone size-full wp-image-838" title="dull_load" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/03/dull_load.png" alt="" width="647" height="267" /></a></p>
<address>A graph of the systemload<br />
 </address>
<p><br class="spacer_" /></p>
<p>This bad behavior did not show up when I pointed my webbrowser to static http pages so my conclusion was that I had som problem with MySQL.</p>
<p>The numbers of unique visitors are about 100 / day and 250 page views /day and the machine is:</p>
<ul>
<li>Dual PIII 1Ghz </li>
<li>4 Gb ram </li>
<li>SCA 10k RPM disk. </li>
</ul>
<p>So the hardware should be able to handle the load without any problems.</p>
<p><span id="more-819"></span></p>
<h2>Solution<br class="spacer_" /></h2>
<p>The natural way of finding a solution to this was to Google and see if anybody else has run into this problem. The easiest way seemed to be to turn of Wordpress plugins I use to collect statistics. I found a couple of webpages describing howto tune MySQL, but they where assuming deeper knowledge in MySQL then I have. I also tried the MySQL manuals and I came to the conclusion that I probably must spend quite much time to understand the behavior and how to tune MySQL.</p>
<p>In my opinion my MySQL implementation is quite simple and the need to tune it seemed overhelming, until I find a very neat script that helped my to set MySQL parameters:</p>
<p><a href="http://www.day32.com/MySQL/tuning-primer.sh" target="_blank">http://www.day32.com/MySQL/tuning-primer.sh</a></p>
<p><br class="spacer_" /></p>
<p>After tuning MySQL with the hints I got from the script the system started to behave totally differently:</p>
<ul>
<li>The load changed to load average to less then 0.15 </li>
<li>&#8220;top&#8221; shows more or less 100% idle</li>
<li>Load a blog webpage changed from 12 seconds down to 1,2 seconds</li>
<li>No more NRPE timeout problems from Nagios</li>
</ul>
<p><br class="spacer_" /></p>
<p>A run of the script looks like this AFTER tuning:</p>
<pre>[root@dull mysql-tuning]# ./tuning-primer.sh
mysqld is alive

	-- MYSQL PERFORMANCE TUNING PRIMER --
	     - By: Matthew Montgomery -

MySQL Version 5.0.45 i686

Uptime = 0 days 0 hrs 14 min 28 sec
Avg. qps = 6
Total Questions = 5926
Threads Connected = 9

Warning: Server has not been running for at least 48hrs.
It may not be safe to use these recommendations

To find out more information on how each of these
runtime variables effects performance visit:

http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html

Visit http://www.mysql.com/products/enterprise/advisors.html
for info about MySQL's Enterprise Monitoring and Advisory Service

SLOW QUERIES
The slow query log is NOT enabled.
Current long_query_time = 3 sec.
You have 0 out of 5947 that take longer than 3 sec. to complete
Your long_query_time seems to be fine

BINARY UPDATE LOG
The binary update log is NOT enabled.
You will not be able to do point in time recovery
See http://dev.mysql.com/doc/refman/5.0/en/point-in-time-recovery.html

WORKER THREADS
Current thread_cache_size = 10
Current threads_cached = 2
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine

MAX CONNECTIONS
Current max_connections = 60
Current threads_connected = 9
Historic max_used_connections = 11
The number of used connections is 18% of the configured maximum.
Your max_connections variable seems to be fine.

MEMORY USAGE
Max Memory Ever Allocated : 103 M
Configured Max Per-thread Buffers : 161 M
Configured Max Global Buffers : 74 M
Configured Max Memory Limit : 235 M
Physical Memory : 3.39 G
Max memory limit seem to be within acceptable norms

KEY BUFFER
Current MyISAM index space = 4 M
Current key_buffer_size = 32 M
Key cache miss rate is 1 : 101
Key buffer fill ratio = 1.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere

QUERY CACHE
Query cache is enabled
Current query_cache_size = 32 M
Current query_cache_used = 288 K
Current query_cache_limit = 32 M
Current Query cache Memory fill ratio = .87 %
Current query_cache_min_res_unit = 4 K
Your query_cache_size seems to be too high.
Perhaps you can use these resources elsewhere
MySQL won't cache query results that are larger than query_cache_limit in size

SORT OPERATIONS
Current sort_buffer_size = 2 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine

JOINS
Current join_buffer_size = 132.00 K
You have had 0 queries where a join could not use an index properly
Your joins seem to be using indexes properly

OPEN FILES LIMIT
Current open_files_limit = 2470 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine

TABLE CACHE
Current table_cache value = 1200 tables
You have a total of 115 tables
You have 122 open tables.
The table_cache value seems to be fine

TEMP TABLES
Current max_heap_table_size = 128 M
Current tmp_table_size = 128 M
Of 518 temp tables, 24% were created on disk
Created disk tmp tables ratio seems fine

TABLE SCANS
Current read_buffer_size = 128 K
Current table scan ratio = 78 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio = 1 : 3415
You may benefit from selective use of InnoDB.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/03/03/mysql-tuning/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Holidays around the globe</title>
		<link>http://www.it-slav.net/blogs/2009/02/04/holidays-around-the-globe/</link>
		<comments>http://www.it-slav.net/blogs/2009/02/04/holidays-around-the-globe/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 19:51:43 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=691</guid>
		<description><![CDATA[Sometimes I ask myself why does not person X living in country Y not answer the phone or email. When I try the switchboard nobody answer.
Maybe they have a holiday in that part of the world. A tool to find  that out is &#8220;Earth Calendar&#8221;
http://www.earthcalendar.net/
So mabe the reason that my blog dropped from approx [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I ask myself why does not person X living in country Y not answer the phone or email. When I try the switchboard nobody answer.</p>
<p>Maybe they have a holiday in that part of the world. A tool to find  that out is &#8220;Earth Calendar&#8221;</p>
<p><a href="http://www.earthcalendar.net/" target="_blank">http://www.earthcalendar.net/</a></p>
<p>So mabe the reason that my blog dropped from approx 120 unique visitors/day down to 81 yesterday is because the people in the countrys below are celebrating. Or more likely, they have better things todo then read my blog <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<table border="1" width="410">
<tbody>
<tr>
<td><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Foundation of the Vietnamese Communist Party</span></td>
<td width="160"><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Vietnam</span></td>
</tr>
<tr>
<td><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Heroes&#8217; Day</span></td>
<td width="160"><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Mozambique</span></td>
</tr>
<tr>
<td><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Liberty Heroes Day</span></td>
<td width="160"><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Sao Tome &amp; Principe</span></td>
</tr>
<tr>
<td><span style="font-size: x-small; font-family: Tahoma; color: #000040;">San Blaise</span></td>
<td width="160"><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Paraguay</span></td>
</tr>
<tr>
<td><span style="font-size: x-small; font-family: Tahoma; color: #000040;"><a href="http://www.japan-guide.com/e/e2285.html" target="_blank">Setsubun</a></span></td>
<td width="160"><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Japan</span></td>
</tr>
<tr>
<td><span style="font-size: x-small; font-family: Tahoma; color: #000040;">Patient Recognition Day</span></td>
<td width="160"><span style="font-size: x-small; font-family: Tahoma; color: #000040;">United States of America</span></td>
</tr>
</tbody>
</table>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/02/04/holidays-around-the-globe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX guide</title>
		<link>http://www.it-slav.net/blogs/2008/12/19/latex-guide/</link>
		<comments>http://www.it-slav.net/blogs/2008/12/19/latex-guide/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 19:10:45 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[CV]]></category>
		<category><![CDATA[latex]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=527</guid>
		<description><![CDATA[Anyone producing documents should try LaTeX. It creates documents with a professional look and it forces the author to focus on the content instead of the look.
A very good guide is Tobi Oetikers &#8220;The Not So Short Introduction to LaTeX 2ε&#8220;, btw the same guy that has created RRDtools.
Of course my CV is written in [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone producing documents should try LaTeX. It creates documents with a professional look and it forces the author to focus on the content instead of the look.</p>
<p>A very good guide is Tobi Oetikers &#8220;<a href="http://tobi.oetiker.ch/lshort/lshort.pdf" target="_blank">The Not So Short Introduction to LaTeX 2ε</a>&#8220;, btw the same guy that has created <a href="http://oss.oetiker.ch/rrdtool/" target="_blank">RRDtools</a>.</p>
<p>Of course my <a href="http://www.it-slav.net/~peter/cvpeterengpublic.pdf">CV</a> is written in LaTeX and a small <a href="http://www.it-slav.net/~peter/wlan.pdf" target="_blank">thesis</a> I did when I studied Computer Security during my paternity leave.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/12/19/latex-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate your own wordpress theme</title>
		<link>http://www.it-slav.net/blogs/2008/12/15/generate-your-own-wordpress-theme/</link>
		<comments>http://www.it-slav.net/blogs/2008/12/15/generate-your-own-wordpress-theme/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 07:19:41 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[create wordpress theme]]></category>
		<category><![CDATA[generate wordpress theme]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=491</guid>
		<description><![CDATA[A hint how to generate your own wordpress theme
http://www.yvoschaap.com/wpthemegen/
]]></description>
			<content:encoded><![CDATA[<p>A hint how to generate your own wordpress theme</p>
<p><a href="http://www.yvoschaap.com/wpthemegen/" target="_blank">http://www.yvoschaap.com/wpthemegen/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/12/15/generate-your-own-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo using passive checks with Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2008/12/10/howto-using-passive-checks-with-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2008/12/10/howto-using-passive-checks-with-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 18:49:30 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[nsca]]></category>
		<category><![CDATA[passive]]></category>
		<category><![CDATA[passive checks]]></category>
		<category><![CDATA[send_nsca]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=392</guid>
		<description><![CDATA[In some cases the &#34;Normal&#34; way of running checks does not work, passive checks might do the job. I have a script the runs every night that backup my MySQL database. If this script fails I would like op5 Monitor or Nagios to send a notification. An active check will not work in this case [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases the &quot;Normal&quot; way of running checks does not work, passive checks might do the job. I have a script the runs every night that backup my MySQL database. If this script fails I would like op5 Monitor or Nagios to send a notification. An active check will not work in this case or is very cumbersome to get it to work. A more elegant solution is to let the backup script send in the result to op5 Monitor or Nagios. This is where passive checks is handy. A passive check trust that some external program will send in the result. It is possible to set check_freshness so if nothing has been sent in to op5 Monitor or Nagios it will react, typically set the status to UNKOWN or CRITICAL.</p>
<p><span id="more-392"></span></p>
<p>In my case the backup script is started on another host then op5 Monitor or Nagios server, so I also will need a way of sending the data from the passive check over the network, the recommended way is to use nsca. Read the theory at <a target="_blank" href="http://nagios.sourceforge.net/docs/3_0/addons.html#nsca">http://nagios.sourceforge.net/docs/3_0/addons.html#nsca</a></p>
<p>In my op5 Monitor system the nsca daemon to recieve nsca information was installed so I only had to start it:</p>
<p>/etc/init.d/nsca start</p>
<p>This is the steps I did to install it on the client:</p>
<p>1. Download nsca from <a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=26589&amp;package_id=40242">here</a>.</p>
<p>&nbsp;</p>
<p>2. Untar and compile nsca</p>
<p>&nbsp;</p>
<p>3. Create a ncsa config file i.e. send_nsca.cfg</p>
<pre>
encryption_method=0
</pre>
<p>Now the data will be transmitted unencrypted over the network, this might not be what you want. Make sure that the corresponding nsca config file on the Nagios or op5 Monitor host has the same encryption method.</p>
<p>4. Create a passive check for testing.</p>
<pre>
# service 'Passive check test'</pre>
<pre>
define service{</pre>
<pre>
    use                            default-service</pre>
<pre>
    host_name                      dull</pre>
<pre>
    service_description            Passive check test</pre>
<pre>
    check_command                  check_dummy!3 &quot;No Data from passive check&quot;</pre>
<pre>
    max_check_attempts             1</pre>
<pre>
    active_checks_enabled          0</pre>
<pre>
    check_freshness                1</pre>
<pre>
    freshness_threshold            300</pre>
<pre>
    flap_detection_options         n</pre>
<pre>
    contact_groups                 it-slav_mail,call_it-slav,it-slav_msn</pre>
<pre>
    stalking_options               n</pre>
<pre>
    }</pre>
<p>Explanation:</p>
<p>The check_dummy command will be run if no passive check has been recieved within 5 minutes (300 seconds).</p>
<p>4. test</p>
<p>-First test, wait 5 minutes and your service &quot;Passive check test&quot; should be in status UNKNOWN</p>
<p>-Second test, create  a file passive_file_test_critical (the separator is TAB):</p>
<pre>
dull    Passive check test      2       CRITICAL:test critical</pre>
<p>run command:</p>
<pre>
send_nsca -H nagios_host  -c  send_nsca.cfg &lt; passive_check_data_critical</pre>
<p>and the status should change to CRITICAL</p>
<p>-Third test, create a file passive_check_data_ok (the separator is TAB):</p>
<pre>
dull    Passive check test      0       OK: test ok</pre>
<p>Run the command</p>
<pre>
send_nsca -H  nagios_host -c  send_nsca.cfg &lt; passive_check_data_ok</pre>
<p>And the status should change to OK</p>
<p>&nbsp;</p>
<p>Now you can set the status of a Nagios or op5 Monitor service by using commands that can be used in scripts. I will in a later article describe how I use it in my MySQL backup script.</p>
<p>Links:</p>
<ul>
<li><a target="_blank" href="http://nagios.sourceforge.net/docs/3_0/addons.html#nsca">NSCA</a></li>
<li>Nagios <a href="http://nagios.sourceforge.net/docs/3_0/passivechecks.html">passive check</a> theory</li>
<li><a target="_blank" href="http://www.op5.com/op5/products/monitor">op5 Monitor</a></li>
<li>An <a target="_blank" href="http://www.it-slav.net/blogs/?p=319">article</a> about monitor automysqlbackup with passive checks</li>
</ul>
<p>Troubleshooting hint:</p>
<p>If it does not work, a good hint is to take a look into nagios.log</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/12/10/howto-using-passive-checks-with-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UGU: Unix Guru Universe, For Unix Admins, By Unix Admins</title>
		<link>http://www.it-slav.net/blogs/2008/12/02/ugu-unix-guru-universe-for-unix-admins-by-unix-admins/</link>
		<comments>http://www.it-slav.net/blogs/2008/12/02/ugu-unix-guru-universe-for-unix-admins-by-unix-admins/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 19:24:05 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=315</guid>
		<description><![CDATA[A hint for unix or linux gurus is to take a peak at Unix Guru Universe: http://www.ugu.com.
I really like the UGU tip of the day with handy tips, howto, do not and so on&#8230;
Subscribe today and learn more and more everyday
]]></description>
			<content:encoded><![CDATA[<p>A hint for unix or linux gurus is to take a peak at Unix Guru Universe: <a href="http://www.ugu.com" target="_blank">http://www.ugu.com</a>.</p>
<p>I really like the UGU <a href="http://www.ugu.com/sui/ugu/show?I=tip.today" target="_blank">tip of the day</a> with handy tips, howto, do not and so on&#8230;</p>
<p>Subscribe today and learn more and more everyday</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/12/02/ugu-unix-guru-universe-for-unix-admins-by-unix-admins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How nerdy are you?</title>
		<link>http://www.it-slav.net/blogs/2008/11/24/how-nerdy-are-you/</link>
		<comments>http://www.it-slav.net/blogs/2008/11/24/how-nerdy-are-you/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 19:17:14 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[english]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=394</guid>
		<description><![CDATA[I found a nerd test http://www.nerdtests.com/ft_nq.php

I did the test and I got a rather good score:
2% scored higher (more nerdy),
 1% scored the same, and 
 97% scored lower (less nerdy).
And a nice picture to put on my homepage:
 
]]></description>
			<content:encoded><![CDATA[<p>I found a nerd test <a href="http://www.nerdtests.com/ft_nq.php" target="_blank">http://www.nerdtests.com/ft_nq.php</a></p>
<p><br class="spacer_" /></p>
<p>I did the test and I got a rather good score:</p>
<p><strong><span style="color: #00cc00;">2</span></strong>% scored higher (more nerdy),<br />
 <strong><span style="color: #000000;">1</span></strong>% scored the same, and <br />
 <strong><span style="color: #0000cc;">97</span></strong>% scored lower (less nerdy).</p>
<p>And a nice picture to put on my homepage:<a href="http://www.nerdtests.com/ft_nq.php"><br />
 <img src="http://www.nerdtests.com/images/badge/5e24cd5dce9fd7b1.gif" alt="I am nerdier than 97% of all people. Are you a nerd? Click here to find out!" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/11/24/how-nerdy-are-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>http://www.op5.org op5 addons to Nagios, free download</title>
		<link>http://www.it-slav.net/blogs/2008/11/23/httpwwwop5org-op5-addons-to-nagios-free-download/</link>
		<comments>http://www.it-slav.net/blogs/2008/11/23/httpwwwop5org-op5-addons-to-nagios-free-download/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 13:13:21 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[op5]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=247</guid>
		<description><![CDATA[Cut-n-paste from http://www.op5.org/about
We want to give something back to the community
We have built a successful business around several opensource components, such as Nagios, RRDTool, Cacti, syslog-ng, NSClient++, Linux and several hundred GNU programs and libraries.
 A big thanks to all the hundreds of programmers for their efforts.
 Now that we have addons around and on [...]]]></description>
			<content:encoded><![CDATA[<p>Cut-n-paste from <a href="http://www.op5.org/" target="_blank">http://www.op5.org/about</a></p>
<blockquote><p>We want to give something back to the community</p>
<p>We have built a successful business around several opensource components, such as Nagios, RRDTool, Cacti, syslog-ng, NSClient++, Linux and several hundred GNU programs and libraries.<br />
 A big thanks to all the hundreds of programmers for their efforts.<br />
 Now that we have addons around and on top of those projects, we feel it is only proper that we donate them back to the people whose very shoulders we stand on.</p>
</blockquote>
<p>The code base for op5 Monitor reports and reports gui are free to download. Go to <a href="http://www.op5.org/" target="_blank">http://www.op5.org</a> and follow the instructions.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/11/23/httpwwwop5org-op5-addons-to-nagios-free-download/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>op5 Monitor reports</title>
		<link>http://www.it-slav.net/blogs/2008/11/10/op5-monitor-reports/</link>
		<comments>http://www.it-slav.net/blogs/2008/11/10/op5-monitor-reports/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 09:14:09 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[Availability]]></category>
		<category><![CDATA[Reports]]></category>
		<category><![CDATA[SLA]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=229</guid>
		<description><![CDATA[If you think Nagios got everything you need except nice reports. op5 Monitor has the solution to this issue. op5 have customers that are using op5 Monitor just for the reporting part and using other tools for monitoring.
op5 has put alot of resources into reporting because that is the feedback we got from our customers. [...]]]></description>
			<content:encoded><![CDATA[<p>If you think <a href="http://www.nagios.org" target="_blank">Nagios</a> got everything you need except nice reports. <a href="http://www.op5.com/op5/products/monitor" target="_blank">op5 Monitor</a> has the solution to this issue. <a href="http://www.op5.com" target="_blank">op5</a> have customers that are using <a href="http://www.op5.com/op5/products/monitor" target="_blank">op5 Monitor</a> just for the reporting part and using other tools for monitoring.</p>
<p><a href="http://www.op5.com" target="_blank">op5</a> has put alot of resources into reporting because that is the feedback we got from our customers. Here is two examples of reports:</p>
<ul>
<li>Availability <a href="http://www.it-slav.net/~peter/blog/avial-sjobergs.pdf" target="_blank">report</a></li>
<li>SLA <a href="http://www.it-slav.net/~peter/blog/SLA_rapport_rsync_sjobergs.pdf" target="_blank">report</a></li>
</ul>
<p>The reports is based on monitoring a friends home file server in Gothenburg, thats why it is not five nines <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/11/10/op5-monitor-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Delivery plugin with Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2008/11/06/email-delivery/</link>
		<comments>http://www.it-slav.net/blogs/2008/11/06/email-delivery/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 05:42:56 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=120</guid>
		<description><![CDATA[If you want to test that your Email system is working as supposed with op5 Monitor or Nagios, i.e. send and recieve emails. I recommend Email Delivery.
Features:

SMTP
TLS SMTP
IMAP
IMAPS
and much more&#8230;

It simply creates an email and send it through an email system and check that the message is delivered. The time is mesured and reported.
If you [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to test that your Email system is working as supposed with <a href="http://www.op5.com/op5/products/monitor" target="_blank">op5 Monitor</a> or <a href="http://www.nagios.org" target="_blank">Nagios</a>, i.e. send and recieve emails. I recommend <a href="http://apricoti.pbwiki.com/NagiosCheckEmailDelivery" target="_blank">Email Delivery</a>.</p>
<p>Features:</p>
<ul>
<li>SMTP</li>
<li>TLS SMTP</li>
<li>IMAP</li>
<li>IMAPS</li>
<li>and much more&#8230;</li>
</ul>
<p>It simply creates an email and send it through an email system and check that the message is delivered. The time is mesured and reported.</p>
<p>If you want to test it through an external emailsystem it is possible to use Gmail. E.g. set &lt;mytestuser&gt;@gmail.com as the receiver of the mail, create  &lt;mytestuser&gt; at Gmail and configure forward to &lt;myuser&gt;@my.domain, and let email delivery pick up the email.</p>
<p>I have created the following map to nagios graph to graph the output data:</p>
<pre>#Gjort av peter@it-slav.net
#/opt/monitor/op5/nagiosgraph/map_custom/email_delivery.map</pre>
<pre># Service type: email delivery</pre>
<pre>#   output: EMAIL DELIVERY OK - 8 seconds, 8 delay</pre>
<pre>#   perfdata:</pre>
<pre>/output:.+?(\d+) seconds, (\d+) delay/</pre>
<pre>and push @s, [ Email_delivery,</pre>
<pre>               [ "delivery", GAUGE, $1 ],</pre>
<pre>               [ "delay", GAUGE, $2 ] ];</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/11/06/email-delivery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Asterisk to call a number and read the errormessage from op5Monitor/Nagios</title>
		<link>http://www.it-slav.net/blogs/2008/10/31/use-aterisk-to-call-a-number-and-read-the-errormessage-from-op5monitornagios/</link>
		<comments>http://www.it-slav.net/blogs/2008/10/31/use-aterisk-to-call-a-number-and-read-the-errormessage-from-op5monitornagios/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 11:32:48 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=6</guid>
		<description><![CDATA[Do you want to integrate your perfectly working op5 Monitor or Nagios installation with Asterisk?
I&#8217;ve configured op5 Monitor to call me when it detects a problem, to listen to an example click on link below:
11880larm1
The text below is op5 Monitor centric. op5 Monitor is based on Nagios so the principle is the same the only [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want to integrate your perfectly working op5 Monitor or Nagios installation with Asterisk?</p>
<p>I&#8217;ve configured <a href="http://www.op5.com/op5/products/monitor" target="_blank">op5 Monitor</a> to call me when it detects a problem, to listen to an example click on link below:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2008/10/11880larm1.wav">11880larm1</a></p>
<p>The text below is op5 Monitor centric. op5 Monitor is based on Nagios so the principle is the same the only difference in this case is the possibility to test it from the op5 Monitor webconfig GUI.</p>
<p>Here is how I did it.</p>
<ol>
<li>Have a working asterisk with connected phones</li>
<li>Create a notify script on the op5 Monitor Server or Nagios server</li>
</ol>
<p>Add the following to misccommands.cfg<span style="font-family: Courier New;"><br />
 # command &#8216;host-notify-call&#8217;<br />
 define command{<br />
 command_name                   host-notify-call<br />
 command_line                   sudo -u monitor  /opt/monitor/op5/notify/call_asterisk_message.sh  &#8216;A\ message\ from\  Op5\ monitor.\ Host\ &#8220;$HOSTNAME$&#8221;\ is\ &#8220;$HOSTSTATE$&#8221;&#8216;<br />
 }<br />
 and<br />
 # command &#8217;service-notify-call&#8217;<br />
 define command{<br />
 command_name                   service-notify-call<br />
 command_line                   sudo -u monitor  /opt/monitor/op5/notify/call_asterisk_message.sh &#8216;A\ message\ from\ Op5\  monitor.\ &#8220;$SERVICESTATE$&#8221;.\ Service\ &#8220;$SERVICEDESC$&#8221;<br />
 \ on\ host\ &#8220;$HOSTNAME$&#8221;\ is\ $SERVICESTATE$&#8217;<br />
 }<br />
 </span><br />
 Comment: sudo to monitor is probably unnecessary but I had som problems with &#8216;test this service&#8217; in op5 Monitor webconfig GUI because it runs as apache and when the script is run when a problem occour it runs as monitor.</p>
<p>3. call_asterisk_message.sh<br />
 <span style="font-family: Courier New;"><br />
 ssh dull sudo /root/scripts/make_call3.sh $1<br />
 </span><br />
 i.e. run make_call3.sh with first argument, dull is my asterisk server.</p>
<p>4. On dull /root/scripts/make_call3.sh<br />
 <span style="font-family: Courier New;"><br />
 #!/bin/sh<br />
 #Creates a phone call via asterisk to a certian number and reads a message</span></p>
<p>#By Peter Andersson, peter@it-slav.net</p>
<p><span style="font-family: Courier New;"><br />
 echo &#8220;$1&#8243; | /usr/bin/text2wave -scale 1.5 -F 8000 -o /tmp/$$larm.wav<br />
 echo &#8220;$1&#8243; &gt;/tmp/$$larm.txt<br />
 cat &lt;&lt;EOF &gt; /tmp/$$monitorcall.call<br />
 Channel: SIP/6000<br />
 Callerid: Op5 Monitor<br />
 MaxRetries: 5<br />
 RetryTime: 60<br />
 WaitTime: 60<br />
 Application: Playback<br />
 Data: /tmp/$$larm<br />
 EOF<br />
 mv /tmp/$$monitorcall.call /var/spool/asterisk/outgoing<br />
 #rm /tmp/$$larm.wav<br />
 echo &#8220;rm /tmp/$$larm.*&#8221; |at now + 1 day #Removes the wav and txt file tomorrow<br />
 </span><br />
 Comment: 6000 is the phonenumber to call, in my case a softphone.</p>
<p>And now it should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2008/10/31/use-aterisk-to-call-a-number-and-read-the-errormessage-from-op5monitornagios/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.it-slav.net/blogs/wp-content/uploads/2008/10/11880larm1.wav" length="112372" type="audio/x-wav" />
<enclosure url="http://www.it-slav.net/blogs/wp-content/uploads/2008/10/11880larm1.wav" length="112372" type="audio/x-wav" />
		</item>
	</channel>
</rss>
