<?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; Nagios</title>
	<atom:link href="http://www.it-slav.net/blogs/category/nagios/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>Tue, 10 Jan 2012 20:27:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>KVM virtualization, some best practice, part 1</title>
		<link>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 20:02:05 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1943</guid>
		<description><![CDATA[Background When I&#160;was preparing a presentation about what op5 is doing and our contribution to the community, I went to ideas.nagios.org. When I browsed the list of the biggest issues with Nagios I&#160;found out that op5 has packaged and solved them all in op5 Monitor. I encourage everyone to take a peak at the list [...]]]></description>
			<content:encoded><![CDATA[<h3>Background</h3>
<p>When I&nbsp;was preparing a presentation about what <a target="_blank" href="http://www.op5.com">op5</a> is doing and our contribution to the community, I went to <a target="_blank" href="http://ideas.nagios.org">ideas.nagios.org</a>. When I browsed the list of the biggest issues with <a target="_blank" href="http://www.nagios.org">Nagios</a> I&nbsp;found out that <a href="http://www.op5.com" target="_blank">op5</a> has packaged and solved them all in op5 Monitor. I encourage everyone to take a peak at the list and judge for them self what platform you want to use for your enterprise monitoring solution.</p>
<p>&nbsp;<span id="more-1943"></span></p>
<p><strong>1. Nagios Clusters</strong></p>
<p>op5 has developed Merlin (Module for Effortless and Redundant and Loadbalanced Infrastructure with Nagios). It provides the possibility to have a redundant or/and loadbalanced solution using Nagios. It also provides a scalable database backend for Ninja and Nagvis, take a peak at <a target="_blank" href="http://www.op5.org/community/plugin-inventory/op5-projects/merlin">Merlin</a> webpage.</p>
<p>&nbsp;</p>
<p><strong>2. Performance Graphing</strong></p>
<p>In op5 Monitor op5 has added <a target="_blank" href="http://docs.pnp4nagios.org/">pnp4nagios</a> that graphs more or less any check that gives a numerical value back.</p>
<p>&nbsp;</p>
<p><strong>3. New Status Map</strong></p>
<p>We provide a new statusmap, it is a part of Nagvis project and called Automap. op5 has contributed to <a target="_blank" href="http://www.nagvis.org/">Nagvis</a> by adding support for Merlin database backend and GoogleMaps integration</p>
<p>&nbsp;</p>
<p>
<strong> 4. Better Interface</strong></p>
<p>op5 has created a new PHP based interface that makes you proud of your monitor solution, called Ninja. Ninja stands for Nagios is now Just Awesome, it looks so good so you can show it to your manager:-) Take a peak at <a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja" target="_blank">Ninja webpage</a>.</p>
<p>We had a naming competition at op5 my suggestion to call it Yang, Yet Another Nagios Gui, did not get so many votes so the name become Ninja.</p>
<p>&nbsp;</p>
<p>
<strong> 5. Configuration</strong></p>
<p>Any one that has tried to configure Nagios by hand has thought bad thoughts. It is cumbersome and in the begining it makes even a skilled Unix admin frustrated. op5 has developed a web based configuration tool named Nacoma. It is included in op5 Monitor.</p>
<p>&nbsp;</p>
<p>
<strong> 6. SLA reports</strong></p>
<p>op5 has got alot of feedback from the customers and one issue was better reports, we have created two reports: availability and SLA report. Both of them can be scheduled and looks god compared to the reports in Nagios, they are included in <a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja" target="_blank">Ninja</a></p>
<p>&nbsp;<strong><br />
7. More members in core team</strong></p>
<p>Well, this is something that op5 cannot controll, however, Andreas Ericsson one of op5s core developers are a member og Nagios steering board.</p>
<p>&nbsp;</p>
<p>
<strong> 8. SNMP Trap receiver</strong></p>
<p>This is something op5 is working on right now, we have today created a prototype together with a customer and depending of the outcome of that project we will know better when it will be available to the market.</p>
<p>&nbsp;</p>
<p>
<strong> 9. UI-Improvment</strong></p>
<p>op5s solution to this issue is Ninja, a better, nicer, scalable, database backend gui to Nagios.</p>
<p>&nbsp;</p>
<p>
<strong> 10. Nagios Dashboard</strong></p>
<p>A newTactical Overview with widgets or Nagvis, all included in Ninja</p>
<p>&nbsp;</p>
<h3>Links</h3>
<ul>
<li>ideas.nagios.org<a href="http://ideas.nagios.org" target="_blank"> http://ideas.nagios.org</a></li>
<li>Nagios <a href="http://www.nagios.org" target="_blank">http://www.nagios.org</a></li>
<li>op5 <a href="http://www.op5.com" target="_blank">http://www.op5.com</a></li>
<li>op5 Monitor<a href="http://www.op5.com/op5/products/network-monitor" target="_blank"> http://www.op5.com/op5/products/network-monitor</a></li>
<li>Ninja <a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja" target="_blank">http://www.op5.org/community/plugin-inventory/op5-projects/ninja</a></li>
<li>Merlin <a href="http://www.op5.org/community/plugin-inventory/op5-projects/merlin" target="_blank">http://www.op5.org/community/plugin-inventory/op5-projects/merlin</a></li>
<li>Nagvis<a href="http://www.nagvis.org/" target="_blank"> http://www.nagvis.org/</a></li>
<li>pnp4nagios <a href="http://docs.pnp4nagios.org/" target="_blank">http://docs.pnp4nagios.org/</a></li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F09%2F22%2Ftop-10-nagios-problems-solved-by-op5%2F&amp;title=Top%2010%20Nagios%20problems%20solved%2C%20by%20op5" id="wpa2a_12"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/09/22/top-10-nagios-problems-solved-by-op5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Android app for Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2010/05/01/android-app-for-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2010/05/01/android-app-for-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Sat, 01 May 2010 13:30:56 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[NagMonDroid]]></category>
		<category><![CDATA[Nagroid]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1764</guid>
		<description><![CDATA[&#160; With my new and fancy HTC Desire I wanted to look at my Nagios or op5 Monitor status. I&#160;have found two apps Nagroid and NagMonDroid. &#160; NagMonDroid did I&#160;not get working, probably because op5 Monitor only uses https as protocol. &#160; Nagroid works like a charm: &#160; The configuration is rather straightforward:]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>With my new and fancy HTC Desire I wanted to look at my <a href="http://www.nagios.org">Nagios</a> or <a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> status. I&nbsp;have found two apps <a href="http://www.kiu.weite-welt.com/de.schoar.android//nagroid/help/">Nagroid</a> and <a href="http://www.simonmclaughlin.co.uk/page/Android_Apps/">NagMonDroid</a>.</p>
<p>&nbsp;<span id="more-1764"></span></p>
<p>NagMonDroid did I&nbsp;not get working, probably because op5 Monitor only uses https as protocol.</p>
<p>&nbsp;</p>
<p>Nagroid works like a charm:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid.png"><img width="480" height="800" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid.png" alt="" title="nagroid" class="aligncenter size-full wp-image-1765" /></a></p>
<p>&nbsp;</p>
<p>The configuration is rather straightforward:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid-settings.png"><img width="480" height="800" class="aligncenter size-full wp-image-1768" title="nagroid-settings" alt="" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid-settings.png" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F05%2F01%2Fandroid-app-for-nagios-or-op5-monitor%2F&amp;title=Android%20app%20for%20Nagios%20or%20op5%20Monitor" id="wpa2a_14"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/05/01/android-app-for-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Monitor HP Proliant with Nagios or Op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2010/03/02/monitor-hp-proliant-with-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2010/03/02/monitor-hp-proliant-with-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 20:38:52 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[HP SIM]]></category>
		<category><![CDATA[Insight Manager]]></category>
		<category><![CDATA[SIM]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1644</guid>
		<description><![CDATA[&#160; Background It is always a good idea to monitor the server hardware, in many cases the root cause of the probblem is hardware related like: a fan stops and the temperature gets to high, dust in the machine makes it to hot, disks that fails, memory corruption and so on.&#160; This article will describe [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h2>Background</h2>
<p>It is always a good idea to monitor the server hardware, in many cases the root cause of the probblem is hardware related like: a fan stops and the temperature gets to high, dust in the machine makes it to hot, disks that fails, memory corruption and so on.&nbsp; This article will describe howto enable hardware monitoring on a HP&nbsp;Proliant running CentOS Linux and then howto collect the data with Nagios or op5 Monitor. The procedure is the same with RedHat Enterprise Linux and similiar with Suse Enterprise server.</p>
<p>The HP&nbsp;manuals and information is bloated with irrelevant information and I&nbsp;had to struggle several hours, ask collegues to get it running. I&nbsp;hope this blog article will help others to get monitoring of HP Proliant using HP Insight Manager easier to setup.</p>
<h2>&nbsp;<span id="more-1644"></span></h2>
<p>&nbsp;</p>
<h2>Installing the software on the target system</h2>
<p>You need two packages from HP and can be downloaded from <a href="http://www.hp.com">hp.com</a> under &quot;Support &amp; Drivers&quot;. Search your hardware plattform and correct operating system:</p>
<ul>
<li>ProLiant Support Pack for Red Hat Enterprise Linux 5 (i686)&nbsp; The latest Proliant Support Package 2010-03-02 name is psp-8.25.rhel5.i686.en.tar.gz</li>
<li>HP System Health Application and Insight Management Agents for Red Hat Enterprise Linux 5 (x86). The latest name is hpasm-8.0.0-173.rhel5.i386.rpm</li>
</ul>
<p>&nbsp;</p>
<p>Install kernel source code and rpm tools:</p>
<pre>
# yum install kernel-devel rpm-build rpm-devel
 </pre>
<p>&nbsp;</p>
<p>Proliant Support Package is not supported on CentOS so you have to let the installer think it is a RedHat system. If you have a RHEL&nbsp;system skip the next steps.</p>
<pre>
# cp /etc/redhat-release /etc/redhat-release.backup

# echo &quot;Red Hat Enterprise Linux Server release 5.4 (Tikanga)&quot;&gt;/etc/redhat-release</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Untar the Proliant Support Package</p>
<pre>
 # tar xzvf psp-8.25.rhel5.i686.en.tar.gz</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Install the  Proliant Support Package</p>
<pre>
# cd compaq/csp/linux/

# ./install825.sh</pre>
<p>alot of text appears and some questions, answer them.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Install HP System Health Application and Insight Management Agents, and for some stupid reason it is in conflict with some other packages just installed. I solved it in a dirty way:</p>
<pre>
# rpm -i --force  --replacefiles --nodeps hpasm-8.0.0-173.rhel5.i386.rpm</pre>
<p>Configure by running:</p>
<pre>
# hpa/etc/init.d/hpasm configure</pre>
<p>and answer the questions.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Do not forget to restore /etc/redhat-release</p>
<pre>
# cp /etc/redhat-release.backup /etc/redhat-release</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I&nbsp;did modify my /etc/snmp/snmp.conf to:</p>
<pre>
dlmod cmaX /usr/lib/libcmaX.so
rocommunity public
trapsink 10.1.1.20
syscontact peter@it-slav.net
syslocation PDC, Peters DataCenter</pre>
<p>&nbsp;</p>
<p>To test that you have installation and configuration work, run a snmpwalk from your Nagios or op5 Monitor host:</p>
<pre>
# snmpwalk -c public -v1  &lt;ip-adress of your proliant box&gt; 1.3.6.1.4.1.232

SNMPv2-SMI::enterprises.232.1.1.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.232.1.1.2.0 = INTEGER: 23
SNMPv2-SMI::enterprises.232.1.1.3.0 = INTEGER: 2
SNMPv2-SMI::enterprises.232.1.2.1.4.1.0 = INTEGER: 30
SNMPv2-SMI::enterprises.232.1.2.1.4.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.232.1.2.1.4.2.1.2.1 = STRING: &quot;Compaq Standard Equipment Agent for Linux&quot;
SNMPv2-SMI::enterprises.232.1.2.1.4.2.1.3.1 = &quot;&quot;
SNMPv2-SMI::enterprises.232.1.2.1.4.2.1.4.1 = Hex-STRING: 00 00 00 00 00 00 00
SNMPv2-SMI::enterprises.232.1.2.1.4.2.1.5.1 = STRING: &quot;To gather Standard Equipment data for Linux.&quot;

...
 </pre>
<h2>&nbsp;</h2>
<h2>Install check_hpasm on the Nagios or op5 Monitor host</h2>
<p>The <a href="http://labs.consol.de/lang/en/nagios/check_hpasm/">check_hpasm</a> can be downloaded from <a href="http://labs.consol.de/">Console Labs</a>.</p>
<p>Unpack the tarball</p>
<pre>
# tar xzvf check_hpasm-4.1.2.tar.gz</pre>
<p>&nbsp;</p>
<pre>
Configure and compile

# ./configure --prefix=/opt/plugins/custom/hp-insight --with-nagios-user=monitor --with-nagios-group=users --enable-perfdata

...

# make

...

# make install</pre>
<p>&nbsp;</p>
<p>Test</p>
<pre>
# /opt/plugins/custom/hp-insight/libexec/check_hpasm -H  -C public

OK - System: 'proliant dl360 g3', S/N: '7J31LMW6N01D', ROM: 'P31 01/28/2004', hardware working fine, da: 1 logical drives, 1 physical drives | fan_1=50% fan_2=50% temp_1_cpu=16;50;50 temp_2_cpu=15;65;65 temp_3_ioBoard=21;56;56 temp_4_cpu=20;65;65
</pre>
<p>Congratulations your plugin and hw monitoring works!</p>
<p>&nbsp;</p>
<h2>Configure Nagios or op5 Monitor<br />
&nbsp;</h2>
<p>checkcommands.cfg</p>
<pre>
# command 'check_hpasm'
define command{
    command_name                   check_hpasm
    command_line                   $USER1$/custom/libexec/check_hpasm -H $HOSTADDRESS$ -C $ARG1$
    }</pre>
<p>&nbsp;</p>
<p>services.cfg</p>
<pre>
# service 'Insight Manager'
define service{
    use                            default-service
    host_name                      humpa
    service_description            Insight Manager
    check_command                  check_hpasm!public
    contact_groups                 call_it-slav,it-slav_jabber,it-slav_mail
    }</pre>
<h2>&nbsp;</h2>
<p>Screenshoot, using ninja</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/hpinsightmgr.png"><img width="1242" height="182" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/hpinsightmgr.png" alt="" title="hpinsightmgr" class="aligncenter size-full wp-image-1658" /></a></p>
<p>&nbsp;</p>
<h2>&nbsp;Useful links</h2>
<ul>
<li><a href="http://www.op5.com">op5</a>, a systems and network management company</li>
<li><a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a>, an enterpise monitor system based on Nagios</li>
<li><a href="http://www.op5.org/community/projects/ninja">Ninja</a>, Nagios is now just awesome</li>
<li><a href="http://www.nagios.org">Nagios</a>, enterprise monitoring based on opensource</li>
<li><a href="http://welcome.hp.com/country/us/en/support.html">Hp support &amp; drivers</a>, a place to start looking for the HP software used in this article</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F03%2F02%2Fmonitor-hp-proliant-with-nagios-or-op5-monitor%2F&amp;title=Monitor%20HP%20Proliant%20with%20Nagios%20or%20Op5%20Monitor" id="wpa2a_16"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/03/02/monitor-hp-proliant-with-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monitoring BizTalk with Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2010/02/05/monitoring-biztalk-with-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2010/02/05/monitoring-biztalk-with-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 19:39:55 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[Biztalk]]></category>
		<category><![CDATA[biztalk monirtoring]]></category>
		<category><![CDATA[biztalk nagios]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1581</guid>
		<description><![CDATA[&#160; Background At op5 we often run into BizTalk at customer sites as a business critical application. We have done an investigation and come up with a plugin&#160; to monitor BizTalk. To fully understand this document BizTalk knowledge is necessary. &#160; Solution op5 has developed a plugin that can monitor the following at a BizTalk [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h2>Background</h2>
<p>At op5 we often run into <a href="http://en.wikipedia.org/wiki/Biztalk" target="_blank">BizTalk</a> at customer sites as a business critical application. We have done an investigation and come up with a plugin&nbsp; to monitor BizTalk.</p>
<p>To fully understand this document BizTalk knowledge is necessary.</p>
<p><span id="more-1581"></span></p>
<p>&nbsp;</p>
<h2>Solution</h2>
<p>op5 has developed a plugin that can monitor the following at a BizTalk server:</p>
<ul>
<li>Recieve locations &#8211; Verify that they are enabled.</li>
<li>Send Ports &#8211; Verify that they are in Started state</li>
<li>Group Overview &#8211; Catch messages in the message queue that are in state Suspended. The different type of messages are:
<ul>
<li>Dehydrated</li>
<li>Suspended</li>
<li>Queue</li>
</ul>
</li>
</ul>
<p>The plugin license is GPLv3 so it is free for any one to use and enhance.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Links</h2>
<ul>
<li><a href="http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob;f=check_biztalk.pl">check_biztalk</a> the plugin that monitors BizTalk</li>
<li><a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> Monitor solution based on Nagios</li>
<li><a href="http://www.nagios.org">Nagios</a> free enterprise monitor software</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F02%2F05%2Fmonitoring-biztalk-with-nagios-or-op5-monitor%2F&amp;title=Monitoring%20BizTalk%20with%20Nagios%20or%20op5%20Monitor" id="wpa2a_18"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/02/05/monitoring-biztalk-with-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Keep track of unused switch ports with Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2009/11/24/keep-track-of-unused-switch-ports-with-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2009/11/24/keep-track-of-unused-switch-ports-with-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 10:12:02 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unused switch ports]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1485</guid>
		<description><![CDATA[Background I&#160;was reading the Swedish computer magazine, Tech World. There was an article about an appliance solution that could give a report about unused switch ports. The box PortIQ from Infoblox costs approximatly 10.000 Euro. op5 has developed this feature at a customer site and is included with op5 Monitor, op5 has published the code [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I&nbsp;was reading the Swedish computer magazine, <a target="_blank" href="http://techworld.idg.se/">Tech World</a>. There was an article about an appliance solution that could give a report about unused switch ports. The box <a target="_blank" href="http://www.infoblox.com/products/portiq-appliances.cfm">PortIQ</a> from Infoblox costs approximatly 10.000 Euro.</p>
<p><a target="_blank" href="http://www.op5.com">op5</a> has developed this feature at a customer site and is included with <a target="_blank" href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a>, op5 has published the code as <a target="_blank" href="http://git.op5.org/git/">opensource</a>.</p>
<p>This guide will describe howto get it running in op5 Monitor. op5 Monitor is vanilla Nagios with some addons so it should be no problem to follow this guide in a Nagios environment</p>
<p>&nbsp;</p>
<p><span id="more-1485"></span>&nbsp;</p>
<h2>Installation</h2>
<p>1. Update your op5 Monitor or <a href="http://git.op5.org/git/?p=nagios/op5plugins.git;a=tree;f=check_portstatus;h=120bf07e50d72c1a1beb0a8963cd45a5341e7727;hb=5759746d3bcd457d344c21d9befa5611515a9acb" target="_blank">download</a> the plugin and report script.</p>
<p>&nbsp;</p>
<p>2. Create metadata for check_portstatus as $USER1$/check_portstatus -H  $HOSTADDRESS$</p>
<p>in checkcommands.cfg:</p>
<p><code># command 'check_portstatus'<br />
define command{<br />
&nbsp;&nbsp;&nbsp; command_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_portstatus<br />
&nbsp;&nbsp;&nbsp; command_line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $USER1$/check_portstatus -H $HOSTADDRESS$<br />
&nbsp;&nbsp;&nbsp; }</code><br />
&nbsp;</p>
<p>3. mkdir /var/spool/check_portstatus</p>
<p>&nbsp;</p>
<p>4. chown monitor:apache /var/spool/check_portstatus</p>
<p>&nbsp;</p>
<p>5. cp /opt/monitor/op5/portstatus/portstatus.php  /var/www/html/portstatus.php</p>
<p>&nbsp;</p>
<p>6. Define your service i.e. services.cfg:</p>
<p><code># service 'Portstatus'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gw<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Portstatus<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_portstatus<br />
&nbsp;&nbsp;&nbsp; }</code><br />
&nbsp;</p>
<h2>&nbsp;</h2>
<h2>The result</h2>
<p>The screenshot below shows a Cisco switch with alot of unused ports.</p>
<p><img width="692" height="713" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/11/portstatus1.png" alt="portstatus" title="portstatus" class="aligncenter size-full wp-image-1488" /></p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>Conclusions</h2>
<p>This article shows how easy it is to modify Nagios and other opensource tools to give you what you want. Do not hesitate to contact <a href="javascript:location.href='mailto:'+String.fromCharCode(112,101,116,101,114,64,105,116,45,115,108,97,118,46,110,101,116)+'?'">me</a> or <a target="_blank" href="http://www.op5.com">op5</a> to help you enhance you Nagios or op5 installation.</p>
<h2>&nbsp;</h2>
<h2>Links</h2>
<ul>
<li><a target="_blank" href="http://www.op5.com">op5</a></li>
<li><a target="_blank" href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a></li>
<li><a target="_blank" href="http://www.nagios.org">Nagios</a></li>
<li><a target="_blank" href="http://www.infoblox.com/products/portiq-appliances.cfm">PortIQ</a> appliance box from Infoblox</li>
<li><a target="_blank" href="http://techworld.idg.se/">Tech world</a></li>
</ul>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F11%2F24%2Fkeep-track-of-unused-switch-ports-with-nagios-or-op5-monitor%2F&amp;title=Keep%20track%20of%20unused%20switch%20ports%20with%20Nagios%20or%20op5%20Monitor" id="wpa2a_20"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/11/24/keep-track-of-unused-switch-ports-with-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rule engine integration with Nagios using NodeBrain</title>
		<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/</link>
		<comments>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 18:40:59 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[nagios rule engine]]></category>
		<category><![CDATA[nodebrain]]></category>
		<category><![CDATA[Rule engine]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1423</guid>
		<description><![CDATA[Background This article will describe how easy it is to integrate other tools to Nagios or op5 Monitor. I&#160;will use an example with a webshop where a business view of how the webshop is doing is implemented by using a GPL&#8217;d rule engine, NodeBrain. I have in an earlier article described the ruleset for this [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>This article will describe how easy it is to integrate other tools to <a target="_blank" href="http://www.nagios.org">Nagios</a> or <a target="_blank" href="http://www.op5.com/op5/products/monitor">op5 Monitor</a>. I&nbsp;will use an example with a webshop where a business view of how the webshop is doing is implemented by using a GPL&#8217;d rule engine, NodeBrain. I have in an <a target="_blank" href="http://www.it-slav.net/blogs/2009/10/05/an-advanced-gpld-rule-engine-nodebrain/">earlier article</a> described the ruleset for this implementation but now I&nbsp;will show how the integration can be done.</p>
<p>&nbsp;</p>
<h2>Scenario</h2>
<p>The scenario is a webshop with:</p>
<ul>
<li>5 frontend webservers</li>
<li>2 application servers</li>
<li>3 databasservers</li>
</ul>
<p>Management want to monitor how the webshop is doing. They do not want to know if a redundant part is down instead management want to have the overview of the webshop status.<span id="more-1423"></span></p>
<p>A management consultant is hired and do an investigation and after a ridiculous amount of money the following rules are defined:</p>
<ul>
<li>Webserver rules
<ul>
<li>If 3 or more webserver works the webservice is OK</li>
<li>If 2 webservers works the webservice is WARNING</li>
<li>If 1 webserver or less is working the webservice is CRITICAL</li>
</ul>
</li>
<li>Applicationserver rules
<ul>
<li>If 1 or 2 application servers works the application layer is OK</li>
<li>If zero application servers works the application layer is CRITICAL</li>
</ul>
</li>
<li>Database server rules
<ul>
<li>If 2 or more database server works the database layer is OK</li>
<li>if 1 database server works the database layer is WARNING</li>
<li>If no database servers works the database layer is CRITICAL</li>
</ul>
</li>
<li>&nbsp;The webserver layer, application layer and database layer should be viewed seperatly</li>
<li>The total webshop status has the highest status value of webserver layer, application layer and database layer</li>
</ul>
<p>I use Nagvis to illustrate the releationship between the layers.</p>
<p>&nbsp;</p>
<h3>Case 1</h3>
<p>The picture shows when everything is fine:</p>
<p><img height="335" width="826" class="aligncenter size-full wp-image-1435" title="Screenshot3" alt="Screenshot3" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/10/Screenshot31.png" /></p>
<h3>Case 2</h3>
<p>The rules in place:</p>
<ul>
<li>2 webservers CRITICAL and the webserverlayer is OK</li>
<li>1 appserver CRITICAL and the application layer is OK</li>
<li>2 databases are down and the database layer is WARNING</li>
<li>The total webshop status is WARNING because it has the highest status of the different layers</li>
</ul>
<p><img height="308" width="771" class="aligncenter size-full wp-image-1436" title="Screenshot4" alt="Screenshot4" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/10/Screenshot4.png" /></p>
<p>&nbsp;</p>
<h3>Case 3</h3>
<p>Now it has been even worse:</p>
<ul>
<li>4 webservers CRITICAL and the webserverlayer is CRITICAL</li>
<li>1 appserver CRITICAL and the application layer is OK</li>
<li>2 databases are down and the database layer is WARNING</li>
<li>The total webshop status is CRITICAL because it has the highest status of the different layers</li>
</ul>
<p>&nbsp;<img height="308" width="816" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/10/Screenshot5.png" alt="Screenshot5" title="Screenshot5" class="aligncenter size-full wp-image-1438" /></p>
<p>&nbsp;</p>
<h2>Conclusions</h2>
<p>This article shows the power of Open Source and what is possible todo when integration different projects with each other. A solution like this with one of the Big Four (IBM, BMC, CA, HP)&nbsp;would have cost alot when it comes to license and highly specialised consultants had to be hirered.</p>
<h1>&nbsp;</h1>
<h2>Links</h2>
<ul>
<li><a href="http://www.op5.com">Op5</a> A company that package and support enterprise class systems- and networkmanagement products</li>
<li><a href="http://www.nodebrain.org">NodeBrain</a>, A powerful GPL&#8217;d rule engine</li>
<li><a href="http://www.nagios.org">Nagios</a>, An enterprise class Monitoring sofware</li>
<li><a href="http://www.nagvis.org/">Nagvis</a>, Nagios Visualization addon</li>
</ul>
<p>&nbsp;</p>
<h1>&nbsp;</h1>
<h1>Implementation</h1>
<h2>Hosts and services</h2>
<p>The hosts and services are created:</p>
<ul>
<li>Webserver layer: 5 hosts each with 1 service</li>
<li>Application layer: 2 hosts each with 1 service</li>
<li>Database layer: 3 hosts each with 1 service</li>
<li>Webshop layer: 1 host called webshopcontainer and 4 services: webserversstatus, appsserverstatus, dbserversstatus and webshop status. The services represent each layer in the model and webshop is the total status of the webshop.</li>
</ul>
<p>To make it easy to control the status of all these devices I will use passive checks. So if I want to change the status of a service I&nbsp;just use the GUI&nbsp;and send in a passive check result. In real life active checks would have been used to monitor the different services.</p>
<p>&nbsp;</p>
<p>The result showing <strong>Service Detail</strong> using op5 developed Nagios GUI&nbsp;<a target="_blank" href="http://www.op5.org/community/projects/ninja">Ninja</a>:</p>
<p><img height="467" width="1209" class="aligncenter size-full wp-image-1431" title="screenshoot2" alt="screenshoot2" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/10/screenshoot2.png" /></p>
<p>&nbsp;</p>
<p>The statechanges are sent to NodeBrain via an eventhandler that sends the NodeBrain commands via a namedpipe:</p>
<p><code>#!/bin/sh<br />
#<br />
# Event handler script for sending nagios data to nodebrain<br />
#<br />
# This script has these arguments $SERVICESTATEID$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $SERVICEDESC$ $HOSTNAME$<br />
NODEBRAINPIPE=/opt/plugins/custom/nodebrainpipe<br />
DATE=`date`<br />
echo &quot;$DATE SERVICESTATEID=$1 SERVICESTATETYPE=$2 SERVICEATTEMPT=$3 SERVICEDESC=$4 HOSTNAME=$5&quot; &gt;&gt; /tmp/eventhandler_out</p>
<p># What state is the service in?<br />
case &quot;$1&quot; in<br />
OK)<br />
&nbsp;&nbsp;&nbsp; # The service just came back up<br />
&nbsp;&nbsp;&nbsp; # Send ok to nodebrain<br />
&nbsp;&nbsp;&nbsp; echo &quot;assert $4=0;&quot; &gt; $NODEBRAINPIPE<br />
&nbsp;&nbsp;&nbsp; echo &quot;assert $4=0;&quot; &gt;&gt; /tmp/eventhandler_out<br />
&nbsp;&nbsp;&nbsp; ;;<br />
WARNING)<br />
&nbsp;&nbsp;&nbsp; # We don't really care about warning states, since the service is probably still running...<br />
&nbsp;&nbsp;&nbsp; ;;<br />
UNKNOWN)<br />
&nbsp;&nbsp;&nbsp; # We don't know what might be causing an unknown error, so don't do anything...<br />
&nbsp;&nbsp;&nbsp; ;;<br />
CRITICAL)<br />
&nbsp;&nbsp;&nbsp; # Is this a &quot;soft&quot; or a &quot;hard&quot; state?<br />
&nbsp;&nbsp;&nbsp; case &quot;$2&quot; in<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; SOFT)<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # We're in a &quot;soft&quot; state, meaning that Nagios is in the middle of retrying the<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # check before it turns into a &quot;hard&quot; state and contacts get notified...<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # Don't do anything&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; # The HTTP service somehow managed to turn into a hard error without getting fixed.<br />
&nbsp;&nbsp;&nbsp; # It should have been restarted by the code above, but for some reason it didn't.<br />
&nbsp;&nbsp;&nbsp; # Let's give it one last try, shall we?&nbsp; <br />
&nbsp;&nbsp;&nbsp; # Note: Contacts have already been notified of a problem with the service at this<br />
&nbsp;&nbsp;&nbsp; # point (unless you disabled notifications for this service)<br />
&nbsp;&nbsp;&nbsp; HARD)<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # AHA! Hard state, send data to nodebrain<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo &quot;assert $4=2;&quot; &gt; $NODEBRAINPIPE<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo &quot;assert $4=2;&quot; &gt;&gt;/tmp/eventhandler_out <br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;;<br />
&nbsp;&nbsp;&nbsp; esac<br />
&nbsp;&nbsp;&nbsp; ;;<br />
esac</p>
<p>exit 0</code></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The Nodebrainrules, that has all the logic and opens the namedpipe for commands:</p>
<p><code>#!/usr/local/bin/nb -d<br />
# <br />
-rm webshop.log<br />
set log=&quot;webshop.log&quot;,out=&quot;.&quot;;<br />
declare indata identity owner;<br />
define webshop node pipe.server(&quot;indata@nodebrainpipe&quot;);</p>
<p>#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;</p>
<p>define webserversok on(webservers&lt;=4) webserversstatus=0;<br />
define webseroksend on(webserversstatus=0):-./send_to_monitor.sh webserversstatus 0 &quot;OK: Websservers are fine&quot;;</p>
<p>define webserverswarning on(webservers&gt;4 and webservers&lt;8) webserversstatus=1;<br />
define webserverswarningsend on(webserversstatus=1):-./send_to_monitor.sh webserversstatus 1 &quot;WARNING: Webservers have problems&quot;;</p>
<p>define webserverscritical on(webservers&gt;=8) webserversstatus=2;<br />
define webserverscriticalsend on(webserversstatus=2):-./send_to_monitor.sh webserversstatus 2 &quot;CRITICAL: Webservers have serious problems &quot;;</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;</p>
<p>define appserversok on(appservers&lt;=2) appserversstatus=0;<br />
define appserversoksend on(appserversstatus=0):-./send_to_monitor.sh appserversstatus 0 &quot;OK: Appservers are fine&quot;;</p>
<p>define appserverscritical on(appservers&gt;2) appserversstatus=2;<br />
define appserverscriticalsend on(appserversstatus=2):-./send_to_monitor.sh appserversstatus 2 &quot;CRITICAL: Appservers have serious problems&quot;;</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;</p>
<p>define dbserversok on(dbservers&lt;=2) dbserversstatus=0;<br />
define dbserversoksend on(dbserversstatus=0):-./send_to_monitor.sh dbserversstatus 0 &quot;OK: DataBaseservers are fine&quot;;</p>
<p>define dbserverswarning on(dbservers&gt;=4 and dbservers &lt;6)dbserversstatus=1;<br />
define dbserverswarningsend on(dbserversstatus=1):-./send_to_monitor.sh dbserversstatus 1 &quot;WARNING: DataBaseservers have problems&quot;;</p>
<p>define dbservercritical on(dbservers&gt;=6)dbserversstatus=2;<br />
define dbservercriticalsend on(dbserversstatus=2):-./send_to_monitor.sh dbserversstatus 2 &quot;CRITICAL: DataBaseservers have serious problems&quot;;</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 />
define webshopoksend on(webshopstatus=0):-./send_to_monitor.sh webshopstatus 0 &quot;OK: Webshop is fine&quot;;<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 />
define webshopscriticalsend on(webshopstatus=2):-./send_to_monitor.sh webshopstatus 2 &quot;CRITICAL: Webshop has serious problems&quot;;<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; <br />
define webshopwarningsend on(webshopstatus=1):-./send_to_monitor.sh webshopstatus 1 &quot;WARNING: Webshop has some problems&quot;;</code><br />
&nbsp;</p>
<p>&nbsp;</p>
<p>The NodeBrain rules runs this script when fired:</p>
<p><code>#!/bin/sh</p>
<p>HOSTNAME=webshopcontainer<br />
SERVICEDESC=$1<br />
STATUS=$2<br />
MESSAGE=$3<br />
</code></p>
<p><code>now=`date +%s`<br />
commandfile='/opt/monitor/var/rw/nagios.cmd'<br />
/usr/bin/printf &quot;[%lu] PROCESS_SERVICE_CHECK_RESULT;$HOSTNAME;$SERVICEDESC;$STATUS;$MESSAGE\n&quot; $now &gt; $commandfile</code></p>
<p>
&nbsp;</p>
<p>The Nagios or op5 Monitor hosts.cfg</p>
<p><code>###############################################################################<br />
#&nbsp; Generated by op5 Monitor webconfiguration exporter<br />
#<br />
#&nbsp; Exported 2009-10-22 19:33 by monitor<br />
#</p>
<p>
# host template 'Dummy-template'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; initial_state&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o<br />
&nbsp;&nbsp;&nbsp; hostgroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NodeBrainDemo<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check-host-alive<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5<br />
&nbsp;&nbsp;&nbsp; check_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5<br />
&nbsp;&nbsp;&nbsp; retry_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; obsess_over_host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; check_freshness&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; active_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; passive_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; flap_detection_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n<br />
&nbsp;&nbsp;&nbsp; process_perf_data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_status_information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_nonstatus_information&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; notification_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; notification_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; notification_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d,u,r,f<br />
&nbsp;&nbsp;&nbsp; notifications_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; stalking_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n<br />
&nbsp;&nbsp;&nbsp; register&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host template 'default-host-template'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-host-template<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check-host-alive<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3<br />
&nbsp;&nbsp;&nbsp; check_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5<br />
&nbsp;&nbsp;&nbsp; retry_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; check_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; active_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; passive_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; process_perf_data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_status_information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_nonstatus_information&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; notification_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; notification_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; notification_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d,u,r,f,s<br />
&nbsp;&nbsp;&nbsp; notifications_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; register&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'app-host-a'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; app-host-a<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; App Host A<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; hostgroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NodeBrainDemo<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'app-host-b'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; app-host-b<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; App Host B<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'db-host-a'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-host-a<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DB Host A<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'db-host-b'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-host-b<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DB Host B<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'db-host-c'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-host-c<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DB Host C<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'web-host-a'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-a<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web Host A<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'web-host-b'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-b<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web Host B<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'web-host-c'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-c<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web Host C<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'web-host-d'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-d<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web Host D<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'web-host-e'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-e<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web Host E<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># host 'webshopcontainer'<br />
define host{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopcontainer<br />
&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopcontainer<br />
&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; }</code><br />
&nbsp;</p>
<p>&nbsp;</p>
<p>The Nagios or op5 Monitor services.cfg</p>
<p><code>###############################################################################<br />
#&nbsp; Generated by op5 Monitor webconfiguration exporter<br />
#<br />
#&nbsp; Exported 2009-10-22 19:33 by monitor<br />
#</p>
<p># service template 'Dummy-service-template'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-service-template<br />
&nbsp;&nbsp;&nbsp; display_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-service-template<br />
&nbsp;&nbsp;&nbsp; is_volatile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; initial_state&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; check_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retry_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; active_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; passive_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; check_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; parallelize_check&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; obsess_over_service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; check_freshness&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; event_handler_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; flap_detection_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n<br />
&nbsp;&nbsp;&nbsp; process_perf_data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_status_information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_nonstatus_information&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; notification_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; notification_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; notification_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c,w,u,r,f<br />
&nbsp;&nbsp;&nbsp; notifications_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; stalking_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n<br />
&nbsp;&nbsp;&nbsp; register&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># service template 'default-service'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; is_volatile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3<br />
&nbsp;&nbsp;&nbsp; check_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5<br />
&nbsp;&nbsp;&nbsp; retry_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; active_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; passive_checks_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; check_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; event_handler_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; process_perf_data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_status_information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; retain_nonstatus_information&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; notification_interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; notification_period&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24x7<br />
&nbsp;&nbsp;&nbsp; notification_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c,w,u,r,f,s<br />
&nbsp;&nbsp;&nbsp; notifications_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; register&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>
####################################################<br />
#<br />
# Services for host app-host-a<br />
#</p>
<p># service 'appa'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; app-host-a<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appa<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; parallelize_check&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; obsess_over_service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; check_freshness&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; flap_detection_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; support-group<br />
&nbsp;&nbsp;&nbsp; stalking_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host app-host-b<br />
#</p>
<p># service 'appb'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; app-host-b<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appb<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host db-host-a<br />
#</p>
<p># service 'dba'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-host-a<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dba<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host db-host-b<br />
#</p>
<p># service 'dbb'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-host-b<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbb<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host db-host-c<br />
#</p>
<p># service 'dbc'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db-host-c<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbc<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host web-host-a<br />
#</p>
<p># service 'weba'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-a<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; weba<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host web-host-b<br />
#</p>
<p># service 'webb'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-b<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webb<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host web-host-c<br />
#</p>
<p># service 'webc'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-c<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webc<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host web-host-d<br />
#</p>
<p># service 'webd'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-d<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webd<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host web-host-e<br />
#</p>
<p># service 'webe'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web-host-e<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webe<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_dummy!0<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; max_check_attempts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
&nbsp;&nbsp;&nbsp; event_handler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eventhandler_send_to_nodebrain<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p>####################################################<br />
#<br />
# Services for host webshopcontainer<br />
#</p>
<p># service 'appserversstatus'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-service-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopcontainer<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appserversstatus<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># service 'dbserversstatus'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-service-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopcontainer<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbserversstatus<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># service 'webserversstatus'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-service-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopcontainer<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webserversstatus<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</p>
<p># service 'webshopstatus'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dummy-service-template<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopcontainer<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshopstatus<br />
&nbsp;&nbsp;&nbsp; servicegroups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webshop<br />
&nbsp;&nbsp;&nbsp; flap_detection_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
&nbsp;&nbsp;&nbsp; }</code></p>
<p>
&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F10%2F22%2Frule-engine-integration-with-nagios-using-nodebrain%2F&amp;title=Rule%20engine%20integration%20with%20Nagios%20using%20NodeBrain" id="wpa2a_22"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ninja, the new Nagios GUI, preview</title>
		<link>http://www.it-slav.net/blogs/2009/09/12/ninja-the-new-nagios-gui-preview/</link>
		<comments>http://www.it-slav.net/blogs/2009/09/12/ninja-the-new-nagios-gui-preview/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 13:27:33 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[geomap]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[Nagios gui]]></category>
		<category><![CDATA[ninja]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1314</guid>
		<description><![CDATA[&#160; Next week, op5 will release the new Nagios GUI called Ninja. The license is GPL and several people has reported the GUI work perfectly well on vanilla Nagios. Ninja uses a database backend. Merlin, another op5 developed software feeds the Nagios information into the database. Links: op5 -OpenSource based management software company Ninja- Nagios [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Next week, op5 will release the new Nagios GUI called Ninja. The license is GPL and several people has reported the GUI work perfectly well on vanilla Nagios. Ninja uses a database backend. Merlin, another op5 developed software feeds the Nagios information into the database.</p>
<p>Links:</p>
<ul>
<li><a href="http://www.op5.com">op5</a> -OpenSource based management software company</li>
<li><a href="http://www.op5.org/community/projects/ninja">Ninja</a>- Nagios Is Now Just Awesome</li>
<li><a href="http://www.op5.org/op5media/op5.org/merlin/merlin_100x100.png">Merlin</a> &#8211; Module for Effortless Redundancy and Loadbalancing In Nagios</li>
<li><a href="https://beta.op5.com/ninja">Try</a> &#8211; Ninja GUI</li>
</ul>
<p>Some screenshoots below:</p>
<p>&nbsp;</p>
<p>&nbsp;Geomap, based on google maps</p>
<p><img height="448" width="943" class="aligncenter size-full wp-image-1325" title="geomap" alt="geomap based in googlemaps" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/geomap3.png" /></p>
<p>&nbsp;<span id="more-1314"></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Tactical overview, with widgets that could be dragged and dropped<img class="aligncenter size-full wp-image-1328" title="tacticaloverview" alt="tacticaloverview" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/tacticaloverview.png" style="width: 951px; height: 442px;" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Host details</p>
<p><img class="aligncenter size-full wp-image-1331" title="hostdetails" alt="hostdetails" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/hostdetails.png" style="width: 956px; height: 441px;" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Nagvis integration</p>
<p><img height="663" width="878" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/nagvis-demo.png" alt="nagvis-demo" title="nagvis-demo" class="aligncenter size-full wp-image-1333" /></p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F09%2F12%2Fninja-the-new-nagios-gui-preview%2F&amp;title=Ninja%2C%20the%20new%20Nagios%20GUI%2C%20preview" id="wpa2a_24"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/09/12/ninja-the-new-nagios-gui-preview/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nagios is the best system monitoring tool</title>
		<link>http://www.it-slav.net/blogs/2009/09/11/nagios-is-the-best-system-monitoring-tool/</link>
		<comments>http://www.it-slav.net/blogs/2009/09/11/nagios-is-the-best-system-monitoring-tool/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 13:06:29 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1305</guid>
		<description><![CDATA[In a contest Nagios won as the best system monitoring tool: http://www.thegeekstuff.com/2009/09/top-5-best-network-monitoring-tools/]]></description>
			<content:encoded><![CDATA[<p>In a contest Nagios won as the best system monitoring tool:</p>
<p><a href="http://www.thegeekstuff.com/2009/09/top-5-best-network-monitoring-tools/">http://www.thegeekstuff.com/2009/09/top-5-best-network-monitoring-tools/</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F09%2F11%2Fnagios-is-the-best-system-monitoring-tool%2F&amp;title=Nagios%20is%20the%20best%20system%20monitoring%20tool" id="wpa2a_26"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/09/11/nagios-is-the-best-system-monitoring-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speedup wordpress blogs</title>
		<link>http://www.it-slav.net/blogs/2009/09/05/speedup-wordpress-blogs/</link>
		<comments>http://www.it-slav.net/blogs/2009/09/05/speedup-wordpress-blogs/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 07:13:34 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[tune]]></category>
		<category><![CDATA[webinject]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1283</guid>
		<description><![CDATA[I noticed that my blog become slower and slower by using op5 Monitor and webinject, see previous article. From installation 2.5 seconds to over 7.5 seconds to run my testcases. The most annoying was that the it was a very linear increase see graphs below. My first try was to tune MySQL By installing wp-cache [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed that my blog become slower and slower by using <a target="_blank" href="http://www.op5.com/op5/products/monitor">op5 Monitor</a> and <a target="_blank" href="http://www.webinject.org/">webinject</a>, see<a target="_blank" href="http://www.it-slav.net/blogs/2009/03/16/wordpress-monitoring-with-nagios-or-op5-monitor-using-webinject/"> previous article</a>. From installation 2.5 seconds to over 7.5 seconds to run my testcases. The most annoying was that the it was a very linear increase see graphs below. My first try was to <a target="_blank" href="http://www.it-slav.net/blogs/2009/03/03/mysql-tuning/">tune</a> MySQL</p>
<p>By installing <a target="_blank" href="http://mnm.uib.es/gallir/wp-cache-2/">wp-cache </a>the testcase went down to 0.4 seconds.</p>
<p>&nbsp;</p>
<p>&nbsp;The drawback is that my counter widget is getting updated every hour instead of every reload of the webpage.</p>
<p>&nbsp;</p>
<p>Take a peak at some nice graphs showing that I&nbsp;stopped the increasing loading time and got a speedup from 7.5 seconds to 0.4 seconds:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img height="221" width="581" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/24-hours.png" alt="24-hours" title="24-hours" class="aligncenter size-full wp-image-1284" /></p>
<p><span id="more-1283"></span></p>
<p>&nbsp;</p>
<p><img height="207" width="581" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/one-week.png" alt="one-week" title="one-week" class="aligncenter size-full wp-image-1285" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img height="207" width="581" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/09/onemonth.png" alt="onemonth" title="onemonth" class="aligncenter size-full wp-image-1286" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F09%2F05%2Fspeedup-wordpress-blogs%2F&amp;title=Speedup%20wordpress%20blogs" id="wpa2a_28"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/09/05/speedup-wordpress-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Skype for SMS notification for Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2009/06/26/using-skype-for-sms-notification-for-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2009/06/26/using-skype-for-sms-notification-for-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 09:54:34 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[nagios notification]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[skype nagios]]></category>
		<category><![CDATA[skype notification]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1158</guid>
		<description><![CDATA[An interesting article describing howto use Skype to send SMS notification for Nagios or op5 Monitor can be find here: http://wiki.nagios.org/index.php/SkypeSmsNotification My recommendation is to use an GSM modem to send SMS, because if the network is down no SMS can be sent with this solution and SMS is normally used as an alternative alarm [...]]]></description>
			<content:encoded><![CDATA[<p>An interesting article describing howto use Skype to send SMS notification for Nagios or op5 Monitor can be find here:</p>
<p><a target="_blank" href="http://wiki.nagios.org/index.php/SkypeSmsNotification">http://wiki.nagios.org/index.php/SkypeSmsNotification</a></p>
<p>My recommendation is to use an GSM modem to send SMS, because if the network is down no SMS can be sent with this solution and SMS is normally used as an alternative alarm route.</p>
<p>Another aspect is that Skype is using propertiary protocols and that should be avoided.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F06%2F26%2Fusing-skype-for-sms-notification-for-nagios-or-op5-monitor%2F&amp;title=Using%20Skype%20for%20SMS%20notification%20for%20Nagios%20or%20op5%20Monitor" id="wpa2a_30"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/06/26/using-skype-for-sms-notification-for-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Nagios or op5 Monitor eventhandler to start a service that has stopped</title>
		<link>http://www.it-slav.net/blogs/2009/06/15/using-nagios-or-op5-monitor-eventhandler-to-start-a-service-that-has-stopped/</link>
		<comments>http://www.it-slav.net/blogs/2009/06/15/using-nagios-or-op5-monitor-eventhandler-to-start-a-service-that-has-stopped/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 19:03:01 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1138</guid>
		<description><![CDATA[Background I use MythTV quite frequently and noticed that it is instable when using sasc-ng as a decoder to decrypt encrypted DVB-T channels. So approximatly every third day the MythTVbackend server stops and need to be started again. I have wriiten an earlier article about howto monitor MythTV with Nagios or op5 Monitor so I [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I use MythTV quite frequently and noticed that it is instable when using <a target="_blank" href="https://opensvn.csie.org/traccgi/sascng/">sasc-ng</a> as a decoder to decrypt encrypted DVB-T channels. So approximatly every third day the MythTVbackend server stops and need to be started again. I have wriiten an <a target="_blank" href="http://www.it-slav.net/blogs/?p=651">earlier article</a> about howto monitor MythTV with Nagios or op5 Monitor so I get noticed that it has stopped. But I need to manually start it again. This article describe howto make Nagios or op5 Monitor to start a stopped MythTVbackend. It can be used for starting almost any service.</p>
<p>I have used the examples provided by Ethan at <a target="_blank" href="http://support.nagios.com/knowledge-base/official-documentation">Nagios official documentation</a> describing <a target="_blank" href="http://nagios.sourceforge.net/docs/3_0/eventhandlers.html">eventhandlers</a>.</p>
<p>Normally it is not recommended to let a tool like Nagios or op5 Monitor start a service that has stopped, because it is probably a reason why the service has stopped and the correct procedure is to fix the root cause of the problem, not the symptom.</p>
<p>The MythTV backend runs on one machine called lala (after a character in Teletubbies) which is not the same as the Nagios or op5 Monitor server. I use nrpe to run the start script i.e.</p>
<pre>
 /etc/init.d/mythtv-backend start
</pre>
<p>There is several options here but I already setup the nrpe agent and it is simple to make Nagios or op5 Monitor to use nrpe to run a script.<span id="more-1138"></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Implementation</h2>
<p>I used the script I found at Nagios documentation about <a target="_blank" href="http://nagios.sourceforge.net/docs/3_0/eventhandlers.html">eventhandlers</a> as a base and modiied it slightly.</p>
<p>&nbsp;</p>
<h3>At my op5 Monitor machine</h3>
<pre>
/opt/plugins/custom/restart-mythtv-lala.sh
</pre>
<pre>
#!/bin/sh
#
# Event handler script for restarting the mythTVbackend server on lala
#
# Note: This script will only restart the mythtvbackend if the service is
#       retried 2 times (in a &quot;soft&quot; state) or if the service somehow
#       manages to fall into a &quot;hard&quot; error state.
#

# What state is the mythbackend service in?
case &quot;$1&quot; in
OK)
	# The service just came back up, so don't do anything...
	;;
WARNING)
	# We don't really care about warning states, since the service is probably still running...
	;;
UNKNOWN)
	# We don't know what might be causing an unknown error, so don't do anything...
	;;
CRITICAL)
	# Aha!  The HTTP service appears to have a problem - perhaps we should restart the server...

	# Is this a &quot;soft&quot; or a &quot;hard&quot; state?
	case &quot;$2&quot; in

	# We're in a &quot;soft&quot; state, meaning that Nagios is in the middle of retrying the
	# check before it turns into a &quot;hard&quot; state and contacts get notified...
	SOFT)

		# What check attempt are we on?  We don't want to restart the web server on the first
		# check, because it may just be a fluke!
		case &quot;$3&quot; in

		# Wait until the check has been tried 3 times before restarting the web server.
		# If the check fails on the 4th time (after we restart the web server), the state
		# type will turn to &quot;hard&quot; and contacts will be notified of the problem.
		# Hopefully this will restart the web server successfully, so the 4th check will
		# result in a &quot;soft&quot; recovery.  If that happens no one gets notified because we
		# fixed the problem!
		2)
			echo &quot;`date` Restarting mythtv service (2rd soft critical state)...&quot; &gt;&gt; /tmp/mythtvstart
			# Call the init script to restart the mythbackend server
			#/etc/rc.d/init.d/httpd restart
			#date &gt;&gt; /tmp/mythtvstart
			/opt/plugins/check_nrpe -H lala -c start_mythtvbackend
			;;
			esac
		;;

	# The mythtvbackend service somehow managed to turn into a hard error without getting fixed.
	# It should have been restarted by the code above, but for some reason it didn't.
	# Let's give it one last try, shall we?
	# Note: Contacts have already been notified of a problem with the service at this
	# point (unless you disabled notifications for this service)
	HARD)
		echo &quot;`date` Restarting mythtv service (hard state)...&quot; &gt;&gt; /tmp/mythtvstart
		# Call the init script to restart the HTTPD server
		#/etc/rc.d/init.d/httpd restart
		#date &gt;&gt; /tmp/mythtvstart
		/opt/plugins/check_nrpe -H lala -c start_mythtvbackend
		;;
	esac
	;;
esac
exit 0
</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>
/opt/monitor/misccomands.cfg</pre>
<pre>
# command 'restart-mythtv-lala'
define command{
    command_name                   restart-mythtv-lala
    command_line                   /opt/plugins/custom/start-mythtv-lala.sh $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
    }
</pre>
<p>&nbsp;</p>
<pre>
/opt/monitor/etc/services.cfg

# service 'Mythbackend'
define service{
    use                            default-service
    host_name                      lala
    service_description            Mythbackend
    check_command                  check_tcp!6543
    servicegroups                  MythTV,it-slav
    event_handler                  restart-mythtv-lala!$SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
    contact_groups                 it-slav_sms,it-slav_jabber,it_slav_mail
    }
</pre>
<h3>At my mythbackend machine lala</h3>
<pre>
/etc/nrpe.d/mycommands.cfg
command[start_mythtvbackend]=/usr/bin/sudo /etc/init.d/mythtv-backend start

/etc/sudoers
nobody ALL= (root) NOPASSWD:/etc/init.d/mythtv-backend start
</pre>
<address>Notice that my nrpe agent run as user nobody</address>
<address>&nbsp;</address>
<address>&nbsp;</address>
<address>&nbsp;</address>
<address>&nbsp;</address>
<h2>Test</h2>
<p>I stopped the mythtvbackend by running:</p>
<pre>
peter@lala:/etc/nrpe.d$ date
Mon Jun 15 20:40:55 CEST 2009
peter@lala:/etc/nrpe.d$ sudo /etc/init.d/mythtv-backend stop
 * Stopping MythTV server: mythbackend
</pre>
<p>And run</p>
<pre>
[root@op5 ~]# tail -f /tmp/mythtvstart
Mon Jun 15 20:47:09 CEST 2009 Restarting mythtv service (2rd soft critical state)...
</pre>
<p>YES it works!</p>
<p>&nbsp;</p>
<h2>Links:</h2>
<ul>
<li><a target="_blank" href="http://www.op5.com/op5/products/monitor">op5 Monitor</a> a Nagios based supported enterprise Monitoring software.</li>
<li><a target="_blank" href="http://www.mythtv.org">MythTV</a> a free OpenSource Digital Video Recorder</li>
<li><a href="http://www.nagios.org">Nagios</a> Open Source Monitoring</li>
</ul>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F06%2F15%2Fusing-nagios-or-op5-monitor-eventhandler-to-start-a-service-that-has-stopped%2F&amp;title=Using%20Nagios%20or%20op5%20Monitor%20eventhandler%20to%20start%20a%20service%20that%20has%20stopped" id="wpa2a_32"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/06/15/using-nagios-or-op5-monitor-eventhandler-to-start-a-service-that-has-stopped/feed/</wfw:commentRss>
		<slash:comments>2</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[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></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>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F06%2F09%2Ffree-nagios-plugins-from-op5%2F&amp;title=Free%20Nagios%20plugins%20from%20op5" id="wpa2a_34"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/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>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F06%2F05%2Fnagios-exchange%2F&amp;title=Nagios%20exchange" id="wpa2a_36"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/06/05/nagios-exchange/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nordic meet on Nagios is over.</title>
		<link>http://www.it-slav.net/blogs/2009/06/04/nordic-meet-on-nagios-is-over/</link>
		<comments>http://www.it-slav.net/blogs/2009/06/04/nordic-meet-on-nagios-is-over/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 17:51:00 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1123</guid>
		<description><![CDATA[It has been very interesting and two intensive days. The highlights IMHO: Tobias Oitiker gave a very good presentation about the linux kernel caching and described how it affected RRDtools. Markus Almroth, describes Sysnagios which did the opposite of most monitoring projects. Sysnagios decentralized the configuration of systems and network monitoring in a controlled way. [...]]]></description>
			<content:encoded><![CDATA[<p>It has been very interesting and two intensive days. The highlights IMHO:</p>
<ul>
<li>Tobias Oitiker gave a very good presentation about the linux kernel caching and described how it affected <a href="http://oss.oetiker.ch/rrdtool/" target="_blank">RRDtools</a>.</li>
<li>Markus Almroth, describes Sysnagios which did the opposite of most monitoring projects. Sysnagios decentralized the configuration of systems and network monitoring in a controlled way. I will come back to this topic in my blog.</li>
<li>Per Åsberg talked about <a href="http://www.op5.org/community/projects/ninja" target="_blank">Ninja</a>, a new GUI for Nagios, done by op5.</li>
<li>Andriy Skuratov, talked about and demonstrated a new version of Nagvis with integrated Google Maps and other good stuff.</li>
<li>Ethan Galstad the founder of Nagios announced Ninja as the new GUI for Nagios.</li>
</ul>
<p>During the Nordic meet on Nagios I meet alot of interesting people, learned alot and had good food and drinks.</p>
<p>I hope to see you next year at Nordic Meet on Nagios 2010!!!</p>
<p><br class="spacer_" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F06%2F04%2Fnordic-meet-on-nagios-is-over%2F&amp;title=Nordic%20meet%20on%20Nagios%20is%20over." id="wpa2a_38"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/06/04/nordic-meet-on-nagios-is-over/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Nagios better, vote for your favorite functionality</title>
		<link>http://www.it-slav.net/blogs/2009/05/25/make-nagios-better-vote-for-your-favorite-functionality/</link>
		<comments>http://www.it-slav.net/blogs/2009/05/25/make-nagios-better-vote-for-your-favorite-functionality/#comments</comments>
		<pubDate>Mon, 25 May 2009 09:09:57 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1094</guid>
		<description><![CDATA[If you want to have influence in what direction Nagios is going, you have the chance now. Ethan Galstad, the founder of Nagios has done a great job to open up the project and listening to input from the community. Go to http://ideas.nagios.org/ and vote or add the functionality you want in Nagios so others [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to have influence in what direction Nagios is going, you have the chance now.</p>
<p>Ethan Galstad, the founder of Nagios has done a great job to open up the project and listening to input from the community.</p>
<p>Go to <a href="http://ideas.nagios.org/" target="_blank">http://ideas.nagios.org/</a> and vote or add the functionality you want in Nagios so others can vote for it.</p>
<p>I have added the idea that Nagios should have a <a href="http://ideas.nagios.org/akira/dtd/2280-3955" target="_blank">programable rule engine</a>. When I worked as a Tivoli consultant it was essential to collect information from different sources and write som rules and present the result. All the enterprise monitoring solutions has a rule engine, i.e PEM (Patrol Enterprise Manager), T/EC (Tivoli Enterprise Console) and so on.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F05%2F25%2Fmake-nagios-better-vote-for-your-favorite-functionality%2F&amp;title=Make%20Nagios%20better%2C%20vote%20for%20your%20favorite%20functionality" id="wpa2a_40"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/25/make-nagios-better-vote-for-your-favorite-functionality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merlin &#8211; Module for Endless Redundancy and Loadbalancing In Nagios</title>
		<link>http://www.it-slav.net/blogs/2009/05/15/merlin-module-for-endless-redundancy-and-loadbalancing-in-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2009/05/15/merlin-module-for-endless-redundancy-and-loadbalancing-in-nagios/#comments</comments>
		<pubDate>Fri, 15 May 2009 14:10:54 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1090</guid>
		<description><![CDATA[The Merlin project was initially started to create an easy way to set up distributed Nagios installations allowing Nagios processes to exchange information directly as an alternative to the standard nagios way using NSCA. When starting the Ninja project we realised that we could continue the work on Merlin and adopt the project to function [...]]]></description>
			<content:encoded><![CDATA[<p>The Merlin project was initially started to create an easy way to set up distributed Nagios installations allowing Nagios processes to exchange information directly as an alternative to the <a href="http://nagios.sourceforge.net/docs/3_0/distributed.html">standard nagios way</a> using NSCA. When starting the <a href="http://www.op5.org/community/projects/ninja">Ninja</a> project we realised that we could continue the work on Merlin and adopt the project to function as backend for Ninja by adding support for storing the status information in a database, fault tolearance and some other cool things. This means that Merlin now are responsible for providing status data, acting as a backend, for the Ninja GUI.</p>
<p>Read more at <a href="http://www.op5.org/community/projects/merlin" target="_blank">http://www.op5.org/community/projects/merlin</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F05%2F15%2Fmerlin-module-for-endless-redundancy-and-loadbalancing-in-nagios%2F&amp;title=Merlin%20%26%238211%3B%20Module%20for%20Endless%20Redundancy%20and%20Loadbalancing%20In%20Nagios" id="wpa2a_42"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/15/merlin-module-for-endless-redundancy-and-loadbalancing-in-nagios/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Review Learning NAGIOS 3.0</title>
		<link>http://www.it-slav.net/blogs/2009/05/13/review-learning-nagios-30/</link>
		<comments>http://www.it-slav.net/blogs/2009/05/13/review-learning-nagios-30/#comments</comments>
		<pubDate>Wed, 13 May 2009 19:26:22 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[Learning NAGIO 3.0]]></category>
		<category><![CDATA[Network management]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Systems management]]></category>
		<category><![CDATA[Wojciech Kocjan]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1056</guid>
		<description><![CDATA[I have just finnished reading the excellent book &#34;Learning Nagios 3.0&#34; by Wojciech Kocjan. &#160; The book does not require any prior knowledge about Nagios but having basic knowledge in programing, Unix or Linux is good. I as a rather experienced Nagios admin did get some valuable hints by reading it. I really liked the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.packtpub.com/guide-for-learning-nagios-3/book/mid/1604097xojnn"><img height="300" width="236" class="aligncenter size-medium wp-image-1068" title="learning-nagios" src="http://www.it-slav.net/blogs/wp-content/uploads/2009/05/learning-nagios-236x300.jpg" alt="learning-nagios" /></a></p>
<p>I have just finnished reading the excellent book &quot;Learning Nagios 3.0&quot; by Wojciech Kocjan.</p>
<p><span id="more-1056"></span></p>
<p>&nbsp;</p>
<p>The book does not require any prior knowledge about Nagios but having basic knowledge in programing, Unix or Linux is good. I as a rather experienced Nagios admin did get some valuable hints by reading it. I really liked the chapter about differences between Nagios 2 and 3.</p>
<p>&nbsp;</p>
<p>The books target audience is sysadmins with Unix or LInux background that want to Monitor their environment by using Nagios. For a beginner going to the <a href="http://www.nagios.org" target="_blank">Nagios homepage</a> the information is overvelming and it has to know where to start, a book like this is handy. The book often refers to specific topics at Nagios documentation for more info and that is good if the reader wants to dig deeper into that topic. Nagios homepage is an excellent reference but not a place to start when you want to use Nagios.</p>
<p>&nbsp;</p>
<p>The examples are good and there is alot of illustrations, sometimes the illustrations is more complicated then the topic itself. The writer shows deep knowledge about the subject and has done a good job getting it technically correct, sometimeas a little bit academic i.e. it is more important to get everything correct then explaing something in a clear way.</p>
<p>&nbsp;</p>
<p>I would recommend anybody interested in using Nagios to buy and read this book, especialy if you do not have any prior knowledge to Nagios.</p>
<p>Links:</p>
<ul>
<li>To buy <a href="http://www.packtpub.com/guide-for-learning-nagios-3/book/mid/1604097xojnn" target="_blank">Learning Nagios 3.0</a></li>
<li>Example from the book, <a href="http://www.packtpub.com/files/learning-nagios-3-sample-chapter-7-passive-checks-and-nsca.pdf" target="_blank">Chapter 7 passive checks and nsca</a></li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F05%2F13%2Freview-learning-nagios-30%2F&amp;title=Review%20Learning%20NAGIOS%203.0" id="wpa2a_44"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/13/review-learning-nagios-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The future of Nagios</title>
		<link>http://www.it-slav.net/blogs/2009/05/12/the-future-of-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2009/05/12/the-future-of-nagios/#comments</comments>
		<pubDate>Tue, 12 May 2009 07:04:38 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Nagios fork]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1057</guid>
		<description><![CDATA[2 hours ago, Ethan Galstad the creator of Nagios sent an annoncement to nagios-announce@lists.sourceforge.net. Valued Nagios users and Community members - As many of you are already aware, there has been a great deal of activity surrounding the recent announcement of a Nagios fork. There's a lot at stake with the outcome of this fork [...]]]></description>
			<content:encoded><![CDATA[<p>2 hours ago, Ethan Galstad the creator of Nagios sent an annoncement to nagios-announce@lists.sourceforge.net.</p>
<pre>Valued Nagios users and Community members -
<span id="more-1057"></span>
As many of you are already aware, there has been a great deal of
activity surrounding the recent announcement of a Nagios fork.  There's
a lot at stake with the outcome of this fork and its impact on the
Nagios community.  Rather than spend my time committing bug fixes to
CVS, I felt it was a much wiser choice for me to share my thoughts on
this issue with all of you.

You can read my thoughts on the fork and its impact on the future of
Nagios at <a class="moz-txt-link-freetext" href="http://community.nagios.org/">http://community.nagios.org</a>

A direct link to my main post:

<a class="moz-txt-link-freetext" href="http://community.nagios.org/2009/05/11/nagios-a-fork-in-the-road/">http://community.nagios.org/2009/05/11/nagios-a-fork-in-the-road/</a>

The short version is this - Nagios is alive, the community is vibrant,
and the future looks bright.

- Ethan Galstad, Creator/Father/Defender of Nagios
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F05%2F12%2Fthe-future-of-nagios%2F&amp;title=The%20future%20of%20Nagios" id="wpa2a_46"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/12/the-future-of-nagios/feed/</wfw:commentRss>
		<slash:comments>0</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 [...]]]></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>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2009%2F05%2F11%2Fnagios-forked%2F&amp;title=Nagios%20forked" id="wpa2a_48"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2009/05/11/nagios-forked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

