<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Rule engine integration with Nagios using NodeBrain</title>
	<atom:link href="http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/</link>
	<description>Another Blog from a Geek that has no life</description>
	<lastBuildDate>Thu, 15 Jul 2010 23:27:04 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Khark</title>
		<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/comment-page-1/#comment-6543</link>
		<dc:creator>Khark</dc:creator>
		<pubDate>Wed, 05 May 2010 10:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1423#comment-6543</guid>
		<description>Hi,

NodeBrain looks nice and I know check_multi before but I use the Nagios Addon &quot;Business Process View&quot;.
It has the same abilities and, from my point of view, is much easier to deploy.
See: http://nagiosbp.projects.nagiosforge.org/

It also has a Impact Analys Tool where you can set the state of a service to see the Impacts on your defined processes.

Integrating this processes in Nagios or NagVis is also possible via the bp_cfg2service_cfg.pl that comes with Business Process View.

Cheers,
Khark</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>NodeBrain looks nice and I know check_multi before but I use the Nagios Addon &#8220;Business Process View&#8221;.<br />
It has the same abilities and, from my point of view, is much easier to deploy.<br />
See: <a href="http://nagiosbp.projects.nagiosforge.org/" rel="nofollow">http://nagiosbp.projects.nagiosforge.org/</a></p>
<p>It also has a Impact Analys Tool where you can set the state of a service to see the Impacts on your defined processes.</p>
<p>Integrating this processes in Nagios or NagVis is also possible via the bp_cfg2service_cfg.pl that comes with Business Process View.</p>
<p>Cheers,<br />
Khark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/comment-page-1/#comment-2403</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Mon, 09 Nov 2009 08:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1423#comment-2403</guid>
		<description>Feel free to use prolog if you want :-)
As a former Tivoli consultant I have used Prolog to program Tivoli Enterprise Console and yes Prolog is probably gone do the job. Personally I prefer NodeBrain, after a few hours with NodeBrain I could do more then I could do with T/EC Prolog after a week training.</description>
		<content:encoded><![CDATA[<p>Feel free to use prolog if you want <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
As a former Tivoli consultant I have used Prolog to program Tivoli Enterprise Console and yes Prolog is probably gone do the job. Personally I prefer NodeBrain, after a few hours with NodeBrain I could do more then I could do with T/EC Prolog after a week training.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy R Reed</title>
		<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/comment-page-1/#comment-2401</link>
		<dc:creator>Tracy R Reed</dc:creator>
		<pubDate>Mon, 09 Nov 2009 08:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1423#comment-2401</guid>
		<description>NodeBrain sounds an awful lot like Prolog. Why wouldn&#039;t one just use Prolog? It is much more mature and has lots of documentation. It seems to have been created for just this very thing decades ago.</description>
		<content:encoded><![CDATA[<p>NodeBrain sounds an awful lot like Prolog. Why wouldn&#8217;t one just use Prolog? It is much more mature and has lots of documentation. It seems to have been created for just this very thing decades ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/comment-page-1/#comment-1524</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 23 Oct 2009 07:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1423#comment-1524</guid>
		<description>Hi Matthias,

Yes you are right, using check_multi would be easier to use in this case. 

The purpose of the article was to show how to integrate Nagios with NodeBrain, not be the perfect implementation of the webshop scenario.

Imho the biggest lack in Nagios is that it do not have a rule engine. In most cases it is not necessary but in some cases it is needed. Solutions like check_multi and check_cluster could help a bit. But if you need more advanced rules with for example correlations over time, logs, snmptraps and so on you need a rule engine.

My experience is that management that want a business view of the environment and the people implementing Nagios do not speak with each other. An advanced rule engine could bridge that gap by attract business consultants that normally works with the big four. Solutions like this are seldom a technical problem.</description>
		<content:encoded><![CDATA[<p>Hi Matthias,</p>
<p>Yes you are right, using check_multi would be easier to use in this case. </p>
<p>The purpose of the article was to show how to integrate Nagios with NodeBrain, not be the perfect implementation of the webshop scenario.</p>
<p>Imho the biggest lack in Nagios is that it do not have a rule engine. In most cases it is not necessary but in some cases it is needed. Solutions like check_multi and check_cluster could help a bit. But if you need more advanced rules with for example correlations over time, logs, snmptraps and so on you need a rule engine.</p>
<p>My experience is that management that want a business view of the environment and the people implementing Nagios do not speak with each other. An advanced rule engine could bridge that gap by attract business consultants that normally works with the big four. Solutions like this are seldom a technical problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias Flacke</title>
		<link>http://www.it-slav.net/blogs/2009/10/22/rule-engine-integration-with-nagios-using-nodebrain/comment-page-1/#comment-1516</link>
		<dc:creator>Matthias Flacke</dc:creator>
		<pubDate>Thu, 22 Oct 2009 21:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1423#comment-1516</guid>
		<description>Hi,

using the Nagios plugin check_multi you could do the whole stuff
pretty easy ;)  
check_multi uses perl expressions to do the state evaluation and 
is therefore flexible and powerful.

It took me about 5 minutes to write down the sketch of these four services below according to your rules, where there are three services for the server types and one top level service for the webshop itself which ties everything together.

You can find check_multi here:
http://www.my-plugin.de/wiki/projects/check_multi/start

Cheers,
-Matthias

&gt;    * Webserver rules
&gt;          o If 3 or more webserver works the webservice is OK
&gt;          o If 2 webservers works the webservice is WARNING
&gt;          o If 1 webserver or less is working the webservice is CRITICAL
&gt;    * Applicationserver rules
&gt;          o If 1 or 2 application servers works the application layer is OK
&gt;          o If zero application servers works the application layer is CRITICAL
&gt;    * Database server rules
&gt;          o If 2 or more database server works the database layer is OK
&gt;          o if 1 database server works the database layer is WARNING
&gt;          o If no database servers works the database layer is CRITICAL
&gt;    *  The webserver layer, application layer and database layer should be viewed seperatly
&gt;    * The total webshop status has the highest status value of webserver layer, application layer a

web.cmd:
# call: check_multi -f web.cmd
statusdat [ web1 ] = webserver1:webservice1
statusdat [ web2 ] = webserver2:webservice2
statusdat [ web3 ] = webserver3:webservice3
statusdat [ web4 ] = webserver4:webservice4
statusdat [ web5 ] = webserver5:webservice5
state [ WARNING  ] = count(OK)&lt;=2
state [ CRITICAL ] = count(OK)&lt;=1

app.cmd:
# call: check_multi -f app.cmd
statusdat [ app1 ] = appserver1:appservice1
statusdat [ app2 ] = appserver2:appservice2
state [ CRITICAL ] = count(OK)&lt;=1

db.cmd:
# call: check_multi -f db.cmd
statusdat [ db1  ] = dbserver1:dbservice1
statusdat [ db2  ] = dbserver2:dbservice2
state [ WARNING  ] = count(OK)&lt;=2
state [ CRITICAL ] = count(OK)&lt;=1

webshop.cmd:
# call: check_multi -f webshop.cmd
statusdat [ web  ] = nagiosserver:web
statusdat [ app  ] = nagiosserver:app
statusdat [ db   ] = nagiosserver:db</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>using the Nagios plugin check_multi you could do the whole stuff<br />
pretty easy <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
check_multi uses perl expressions to do the state evaluation and<br />
is therefore flexible and powerful.</p>
<p>It took me about 5 minutes to write down the sketch of these four services below according to your rules, where there are three services for the server types and one top level service for the webshop itself which ties everything together.</p>
<p>You can find check_multi here:<br />
<a href="http://www.my-plugin.de/wiki/projects/check_multi/start" rel="nofollow">http://www.my-plugin.de/wiki/projects/check_multi/start</a></p>
<p>Cheers,<br />
-Matthias</p>
<p>&gt;    * Webserver rules<br />
&gt;          o If 3 or more webserver works the webservice is OK<br />
&gt;          o If 2 webservers works the webservice is WARNING<br />
&gt;          o If 1 webserver or less is working the webservice is CRITICAL<br />
&gt;    * Applicationserver rules<br />
&gt;          o If 1 or 2 application servers works the application layer is OK<br />
&gt;          o If zero application servers works the application layer is CRITICAL<br />
&gt;    * Database server rules<br />
&gt;          o If 2 or more database server works the database layer is OK<br />
&gt;          o if 1 database server works the database layer is WARNING<br />
&gt;          o If no database servers works the database layer is CRITICAL<br />
&gt;    *  The webserver layer, application layer and database layer should be viewed seperatly<br />
&gt;    * The total webshop status has the highest status value of webserver layer, application layer a</p>
<p>web.cmd:<br />
# call: check_multi -f web.cmd<br />
statusdat [ web1 ] = webserver1:webservice1<br />
statusdat [ web2 ] = webserver2:webservice2<br />
statusdat [ web3 ] = webserver3:webservice3<br />
statusdat [ web4 ] = webserver4:webservice4<br />
statusdat [ web5 ] = webserver5:webservice5<br />
state [ WARNING  ] = count(OK)&lt;=2<br />
state [ CRITICAL ] = count(OK)&lt;=1</p>
<p>app.cmd:<br />
# call: check_multi -f app.cmd<br />
statusdat [ app1 ] = appserver1:appservice1<br />
statusdat [ app2 ] = appserver2:appservice2<br />
state [ CRITICAL ] = count(OK)&lt;=1</p>
<p>db.cmd:<br />
# call: check_multi -f db.cmd<br />
statusdat [ db1  ] = dbserver1:dbservice1<br />
statusdat [ db2  ] = dbserver2:dbservice2<br />
state [ WARNING  ] = count(OK)&lt;=2<br />
state [ CRITICAL ] = count(OK)&lt;=1</p>
<p>webshop.cmd:<br />
# call: check_multi -f webshop.cmd<br />
statusdat [ web  ] = nagiosserver:web<br />
statusdat [ app  ] = nagiosserver:app<br />
statusdat [ db   ] = nagiosserver:db</p>
]]></content:encoded>
	</item>
</channel>
</rss>
