<?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>Efficient Solutions &#187; Nagios</title>
	<atom:link href="http://www.robinharwani.net/category/network-management/fault-management/nagios/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robinharwani.net</link>
	<description>Architecture, Business Service Management, Network Management Solutions</description>
	<lastBuildDate>Tue, 10 Aug 2010 04:39:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NM Integration (Nagios &amp; Netcool) &#8211; Catch the headfake!!</title>
		<link>http://www.robinharwani.net/2009/12/nagios-integration-with-netcool-catch-the-headfake/</link>
		<comments>http://www.robinharwani.net/2009/12/nagios-integration-with-netcool-catch-the-headfake/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 21:49:12 +0000</pubDate>
		<dc:creator>robinharwani</dc:creator>
				<category><![CDATA[Fault Management]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Netcool]]></category>
		<category><![CDATA[Service Assurance]]></category>
		<category><![CDATA[Solution Design]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Nagios- Netcool Integration]]></category>
		<category><![CDATA[NMS]]></category>

		<guid isPermaLink="false">http://www.robinharwani.net/?p=281</guid>
		<description><![CDATA[Some product/consulting companies charge upto 25K USD for integration of FM-FM/FM-PM products. One has to be careful of such offerings because not only they have a one time cost, but also they come with a continual license fee for the gateway. BAD!! So let me save you some money by generalizing this process by an [...]]]></description>
			<content:encoded><![CDATA[<p>Some product/consulting companies charge upto 25K USD for integration of FM-FM/FM-PM products. One has to be careful of such offerings because not only they have a one time cost, but also they come with a continual license fee for the gateway. BAD!! So let me save you some money by generalizing this process by an example of integrating two highly used NMS solutions &#8211; Tivoli Netcool [from IBM] and NAGIOS [Open source offering]. Integration from Nagios to Netcool is simple [not sure why people pay tones of money for this] and can be done in couple different ways:</p>
<p style="text-align: center;"><strong><em>Overview</em></strong></p>
<ol>
<li><strong>Asynchronous uni-directional data flow [from Nagios SBI to Netcool]</strong> : In this method of integration, Netcool shall receive events  as forwarded, but shall not acknowledge the event back in Nagios. This is useful when Nagios is not used by operators for RT monitoring.</li>
<li><strong>Synchronous bi-directional data flow</strong>: An event in Nagios will flow to Netcool and will be confirmed back in Nagios as recieved by Netcool. On every update on the event [such as journal entry, acknowledgements] the event in Netcool, status shall be updated in Nagios.</li>
</ol>
<p>Either options work based on the business/solution requirements. So without further ado:</p>
<p style="text-align: center;"><strong><em>Implementation:</em></strong></p>
<ol>
<li><strong>Asynchronous uni-directional data flow [from Nagios SBI to Netcool]</strong></li>
</ol>
<p>To understand the implementation, I shall divide the steps as southbound implementation and northbound implementation. Southbound implementation refers to the changes/configuration on Nagios end, and Northbound implementation refers to updates in Netcool.</p>
<p><strong>Southbound updates [On Nagios];</strong></p>
<p>a) Create a script to send tcp socket messages or snmp traps or direct JDBC insert to NBI.</p>
<p>You can use snmptrap command for writing the script, if you are not a SNMP guy you can use a simple script to do socket message communication/JDBC inserts into Objectserver. Test this script.</p>
<p>sample snmp script:</p>
<p>Send trap</p>
<p># Arguments:</p>
<p># $1 = Management Station</p>
<p># $2 = Community String</p>
<p># $3 = host_name</p>
<p># $4 = service_description (Description of the service)</p>
<p># $5 = return_code (An integer that determines the state</p>
<p># of the service check, 0=OK, 1=WARNING, 2=CRITICAL,</p>
<p># 3=UNKNOWN).</p>
<p># $6 = plugin_output (A text string that should be used</p>
<p># as the plugin output for the service check)</p>
<p>#</p>
<p># Sample</p>
<p># /usr/bin/snmptrap -v 2c -c $2 $1 &#8221; NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s &#8220;$3&#8243; nSvcDesc s &#8220;$4&#8243; nSvcStateID i $5 nSvcOutput s &#8220;$6&#8243;</p>
<p>b) Define a global event handler in Nagios: Global event handler will help execute the script on every state change on Nagios instance and will communicate, failure and seizure of the problem. How to configure GEH: <a href="http://nagios.sourceforge.net/docs/2_0/eventhandlers.html">http://nagios.sourceforge.net/docs/2_0/eventhandlers.html</a></p>
<p><strong>Northbound updates [On Netcool]</strong></p>
<p><em>If SNMP:</em></p>
<p>a) Download the Nagios MIB and compile with MIB2Rules</p>
<p><a href="http://sourceforge.net/projects/nagiosplug/files/nagiosmib/">http://sourceforge.net/projects/nagiosplug/files/nagiosmib/</a></p>
<p>b) Update the rules file and include it  in mttrapd main ruleset</p>
<p><em>If socket:</em></p>
<p>a) Update the socket probe to parse message based on delimiters</p>
<p>b) Ensure all mandatory objectsesrver fields are accounted for</p>
<p><em>If JDBC:</em></p>
<p>a) Ensure all mandatory objectsesrver fields are accounted for</p>
<p>b) **CAUTION** Watch the objectserver profiler for IDUC consumption, as this is not so much of a conventional approach</p>
<p style="text-align: center;"><strong>DID YOU CATCH THE HEADFAKE?</strong></p>
<p style="text-align: left;">Nagios an Netcool were just examples, you can integrate most FM-FM/FM-PM solutions using the aforementioned procedure, you just need to know the NBI data model, SBI data model, right triggers on the SBI system and right listner on NBI system. Made your life easy, din&#8217;t I? So start saving your company some money now!!</p>
<p style="text-align: left;">In the next post, I will talk about method 2 {bidirectional data flow}. Keep visiting!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robinharwani.net/2009/12/nagios-integration-with-netcool-catch-the-headfake/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Retrospective: GroundWorks 5.3 Community version</title>
		<link>http://www.robinharwani.net/2009/08/retrospective-groundworks-5-3-community-version/</link>
		<comments>http://www.robinharwani.net/2009/08/retrospective-groundworks-5-3-community-version/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 03:44:51 +0000</pubDate>
		<dc:creator>robinharwani</dc:creator>
				<category><![CDATA[Fault Management]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Service Assurance]]></category>
		<category><![CDATA[BSM]]></category>
		<category><![CDATA[GroundWorks]]></category>

		<guid isPermaLink="false">http://www.robinharwani.net/?p=201</guid>
		<description><![CDATA[Those who know me also know that I have been a Nagios supporter for a while; but have had my share of complains about the solution. Since past few months, I have been hearing/trying out GroundWorks open source solution as it provides a better integrated value offering when compared to Nagios; so did a study [...]]]></description>
			<content:encoded><![CDATA[<p>Those who know me also know that I have been a Nagios supporter for a while; but have had my share of complains about the solution. Since past few months, I have been hearing/trying out GroundWorks open source solution as it provides a better integrated value offering when compared to Nagios; so did a study that I would like to share with my readers.</p>
<p><a href="http://www.groundworkopensource.com/" target="_blank">Groundworks </a>5.3 community edition is hosted on enterprise class application server/database, this came as a big relief after using Nagios which had some scalability issues. JBOSS and Mysql have given a good foundation to GroundWorks and provide some really nice Web 2.0 features like AJAX driven views/role driven dashboards etc&#8230; Furthermore GWS also provides some really cool reporting features. <strong>Note that the reporting functionality is for both realtime and historical information.</strong></p>
<p><strong><span style="text-decoration: underline;">Hardware requirements</span></strong> for GWS are pretty straightforward i.e. 4 Gigs of RAM, 3 GHz CPU speed, 160 Gigs of harddrive, etc.. Net net &#8211; Nothing earthshaking.</p>
<p>What was really<strong> interesting</strong> is that GWS had a lot of<strong> plug ins incorporated, intuitive UI driven hostgroup/host setup, servicegroup/service setup, dependency control and service metric reporting features</strong>. This was a BIG plus and provided value of the shelf&#8230; For the existing Nagios users, GWS provides an seamless port over of existing functionality. Whats more is that installation took only 30 minutes!! Well do not confuse installation with ready solution &#8212; PLEASE. I am only referring to base solution.</p>
<p>If all of the aforementioned was not enough, the GWS solution provides a feature to discover  devices based on ping sweep and tcp layer discovery option as well; <strong>Auto discovery for free &#8212; Neat!! </strong></p>
<p><strong>So to summarize, GWS community edition turned out to be a very useful time investment due to following reasons:</strong></p>
<p><strong>1) Easy to install 20 minutes of initial setup</strong></p>
<p><strong>2) UI driven hostgroup/host/servicegroup/service/commands/dependencies</strong></p>
<p><strong>3) Historical and Realtime reporting features</strong></p>
<p><strong>4) Auto Discovery via ICMP protocol</strong></p>
<p><strong>5) AJAX driven role based views/dashboards</strong></p>
<p><strong>6) MySql archive</strong></p>
<p><strong>7) Checks for SNMP alarms [passive]</strong></p>
<p><strong>8 ) Active service checks [loads of them]</strong></p>
<p>I would be interested to hear the feedback from others who have used enterprises edition on GWS BSM features provided in enterprise version of the solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robinharwani.net/2009/08/retrospective-groundworks-5-3-community-version/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
