<?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>i.n.s.i.g.h.t.s</title>
	<atom:link href="http://intuitinnovations.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://intuitinnovations.com/blog</link>
	<description>intuit teamlog, pictures, videos</description>
	<lastBuildDate>Fri, 02 Jul 2010 07:05:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Checking Windows Clusters / Cluster Resources Using Existing Check Plugins for Nagios</title>
		<link>http://intuitinnovations.com/blog/archives/276</link>
		<comments>http://intuitinnovations.com/blog/archives/276#comments</comments>
		<pubDate>Fri, 02 Jul 2010 07:05:36 +0000</pubDate>
		<dc:creator>Sanjay Willie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://intuitinnovations.com/blog/archives/276</guid>
		<description><![CDATA[&#160;
Now we all know when it comes to clustering its basically one up and the other down. So monitoring, say Exchange or SQL on the live or active one is just fine with all the disk checked and all the services are UP (while set to manual). Problem is when it comes to the passive [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Now we all know when it comes to clustering its basically one up and the other down. So monitoring, say Exchange or SQL on the live or active one is just fine with all the disk checked and all the services are UP (while set to manual). Problem is when it comes to the passive server, how do we check for just about anything?</p>
<p>Simple. Try using this custom script i’ve written.</p>
<p>Here’s the script snippet.</p>
<table border="1" cellspacing="0" cellpadding="2" width="472">
<tbody>
<tr>
<td valign="top" width="470">
<p>#!/bin/bash </p>
<p>#GET VALUES FROM NAGIOS AND SET THEM AS VARIABLES </p>
<p>hostname=$1            <br />servicename=&quot;$2&quot; </p>
<p># Debug            <br /># hostname=10.252.182.169             <br /># servicename=&quot;SQL Server (YOG)&quot; </p>
<p># We check if the quorum is running or not first            <br /># assuming quorum is on Q drive </p>
<p>getoutput=`/usr/local/nagios/libexec/check_nrpe -H $hostname&#160; -t 50 -c CheckDriveSize -a ShowAll=long MinWarnFree=10% MinCritFree=5% Drive=q: | grep -c &quot;The system cannot find the path specified&quot;` </p>
<p># DEBUG            <br /># echo $getoutput </p>
<p>if [[ &quot;$getoutput&quot; == &quot;1&quot; ]]; then </p>
<p>&#160;&#160;&#160; echo &quot;OK: Clustered service is not failed over. We will not check this service now.&quot;            <br />&#160;&#160;&#160; exit 0 </p>
<p>else </p>
<p>&#160;&#160;&#160; /usr/local/nagios/libexec/check_nrpe -H $hostname -t 50 -c checkServiceState -a ShowAll &quot;$servicename&quot; </p>
<p>fi </p>
</td>
</tr>
</tbody>
</table>
<p>The idea of this script is to:</p>
<p>1) Check certain resources on the Cluster only if the quorum is alive!</p>
<p>2) If it’s not, send an OK value back to Nagios but in the comment section, mention that “its not failed over” or something.</p>
<p>3) Send fake performance data not to break the Performance Data values.</p>
<p>This value, </p>
<p>getoutput=`/usr/local/nagios/libexec/check_nrpe -H $hostname&#160; -t 50 -c CheckDriveSize -a ShowAll=long MinWarnFree=10% MinCritFree=5% Drive=q: | grep -c &quot;The system cannot find the path specified&quot;` </p>
<p>This above checks if the quorum is alive. It is normally the first resource that will fail over. In our case it was drive q!. So, when we are satisfied that the output of the plugin isn’t “…cannot find path”…only then we execute just about any plugin. And in this example above, check the services that are cluster monitored/managed.</p>
<p>Now, to execute the script on commands.cfg, is something like this.</p>
<table border="1" cellspacing="0" cellpadding="2" width="475">
<tbody>
<tr>
<td valign="top" width="473">
<p># Check Clustered Services:            <br /># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; </p>
<p>define command{            <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; command_name&#160;&#160;&#160; check_floating_services             <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; command_line&#160;&#160;&#160; $USER1$/check_floating_services $HOSTADDRESS$ $ARG1$ </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160;&#160; </p>
</td>
</tr>
</tbody>
</table>
<p>On command line, you can simple parse</p>
<p>./check_floating_services &lt;hostname/ip&gt; &lt;servicename&gt;</p>
<p>And there you have it, cluster “enable” plugins.</p>
<p>Cheers!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://intuitinnovations.com/blog/archives/276/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios + PNP graphs PDF reports generator and emailer</title>
		<link>http://intuitinnovations.com/blog/archives/275</link>
		<comments>http://intuitinnovations.com/blog/archives/275#comments</comments>
		<pubDate>Tue, 25 May 2010 15:03:43 +0000</pubDate>
		<dc:creator>Sanjay Willie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://intuitinnovations.com/blog/archives/275</guid>
		<description><![CDATA[
We made a small script that we use in our customer’s site to basically pull out the PNP generated graphs through the Nagios Action Items icon. This script will basically download the current report output into PDF and emails them out based on the configuration found on the script header.

This script does a simple task [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.linuxscrew.com/wp-content/uploads/2008/04/smalllogo7nagios.jpg" /></p>
<p>We made a small script that we use in our customer’s site to basically pull out the PNP generated graphs through the Nagios Action Items icon. This script will basically download the current report output into PDF and emails them out based on the configuration found on the script header.</p>
<ul>
<li>This script does a simple task of creating PDF files via PNP url and emails it out </li>
<li>This script must be executed as root </li>
<li>This script may contain sensitive information such as usernames and passwords, so ensure only root has access to it </li>
<li>The script works with the extra-option URL only to generate PDF graphs or MRTG, typically /pnp/index.php </li>
<li>Make the script executable, i.e. chmod +x pnp_emailer.sh</li>
</ul>
<p>The solution requires Cleancode’s CLI based email client. All instructions to install and get it up and running is available in the script’s header.</p>
<p>It has basic options currently but you may extend the use of it to just about anything else you wish for it to do.</p>
<p>Eventually, run lines of the scripts as a cron job executed on a timely manner to generate in time reports.</p>
<p>The script is then executed with options at CLI that includes the servername and servicename as defined in the Nagios .CFG files. </p>
<p>Here’s the script. And as usual, your feedback is mucho appreciated.</p>
<p><a title="http://210.5.42.12/downloads/nagios/pnp_emailer.sh" href="http://210.5.42.12/downloads/nagios/pnp_emailer.sh">http://210.5.42.12/downloads/nagios/pnp_emailer.sh</a></p>
<p>With best,   <br />Sanjay &amp; all Intuiters!</p>
]]></content:encoded>
			<wfw:commentRss>http://intuitinnovations.com/blog/archives/275/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>free SIP phone for Windows mobile</title>
		<link>http://intuitinnovations.com/blog/archives/254</link>
		<comments>http://intuitinnovations.com/blog/archives/254#comments</comments>
		<pubDate>Tue, 13 Apr 2010 18:02:28 +0000</pubDate>
		<dc:creator>Sanjay Willie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://intuitinnovations.com/blog/archives/254</guid>
		<description><![CDATA[We like and use the PortSIP SDK for our softphone development (yes Intuit’s coming up with one real soon). I downloaded and tried their softphone for Windows, softphone for Windows Mobile version 5 and 6 and i found it absolutely touch friendly (like HTC/Apple touchscreens) and look quite similar to HTC’s Manila/Touch interface dialpads etc.

I [...]]]></description>
			<content:encoded><![CDATA[<p>We like and use the PortSIP SDK for our softphone development (yes Intuit’s coming up with one real soon). I downloaded and tried their softphone for Windows, softphone for Windows Mobile version 5 and 6 and i found it absolutely touch friendly (like HTC/Apple touchscreens) and look quite similar to HTC’s Manila/Touch interface dialpads etc.</p>
<p><img src="http://callworldsip.drivehq.com/callworldsip/images/logo-portsip.jpg" alt="" /></p>
<p>I highly recommend you to use this, sounds great on the earpiece, just like using a your GSM mobile  phone and has buttons to enable speakermode which sounded also great&#8230;</p>
<p>Works great on WiFi or GSM (3G). Do note, with GSM/EDGE there’s some latency, naturally. So, whenever possible, use 3G/HSDPA</p>
<p>Download here: <a href="http://www.portsip.com/downloads.htm">http://www.portsip.com/downloads.htm</a></p>
<p><img src="http://www.1800pocketpc.com/blog/wp-content/uploads/2009/06/call.jpg" alt="" width="176" height="235" /><img src="http://2.bp.blogspot.com/_IEkNtjveNAM/Sj_EbWOnlMI/AAAAAAAABUw/g6OE8sSfsmo/s400/2.png" alt="" width="178" height="235" /></p>
]]></content:encoded>
			<wfw:commentRss>http://intuitinnovations.com/blog/archives/254/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intuit represented by Daniel in Astrieurope</title>
		<link>http://intuitinnovations.com/blog/archives/250</link>
		<comments>http://intuitinnovations.com/blog/archives/250#comments</comments>
		<pubDate>Sun, 11 Apr 2010 16:09:07 +0000</pubDate>
		<dc:creator>Sanjay Willie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://intuitinnovations.com/blog/archives/250</guid>
		<description><![CDATA[&#160;
Message from Daniel:

http://www.astrieurop.com/en/index.php
Yes!!!!!. We made it to the &#8216;old&#8217; world.   I&#8217;m proud to represent Intuit next week at the Astrieurope 2010 in Paris with a speech about large Asterisk setups.
 
Looking forward to meet old friends and make new ones. Hope we will see a lot of asterisk interested people and can bring [...]]]></description>
			<content:encoded><![CDATA[<h5>&#160;</h5>
<p>Message from Daniel:</p>
<p><img src="http://www.sangoma.com/assets/images/events/astri_europe_0416.gif" /></p>
<p><a href="http://www.astrieurop.com/en/index.php">http://www.astrieurop.com/en/index.php</a></p>
<p>Yes!!!!!. We made it to the &#8216;old&#8217; world. <img src='http://intuitinnovations.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I&#8217;m proud to represent Intuit next week at the <a href="http://www.astrieurop.com/en/">Astrieurope </a>2010 in Paris with a speech about large Asterisk setups.</p>
<p><a href="http://intuitinnovations.com/blog/wp-content/uploads/2010/04/image1.png"><img style="border-bottom: 0px;border-left: 0px;margin-left: 0px;border-top: 0px;margin-right: 0px;border-right: 0px" border="0" alt="image" src="http://intuitinnovations.com/blog/wp-content/uploads/2010/04/image_thumb1.png" width="470" height="163" /></a> </p>
<p>Looking forward to meet old friends and make new ones. Hope we will see a lot of asterisk interested people and can bring more business back home to Malaysia.</p>
<p>Intuit rocks and yes we are as always looking for talents to join us in our adventures.</p>
<p>Cheers and see you guys in a week back in KL.</p>
<p>Daniel</p>
]]></content:encoded>
			<wfw:commentRss>http://intuitinnovations.com/blog/archives/250/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intuit, Yealink &amp; Netregy</title>
		<link>http://intuitinnovations.com/blog/archives/246</link>
		<comments>http://intuitinnovations.com/blog/archives/246#comments</comments>
		<pubDate>Sun, 11 Apr 2010 15:57:35 +0000</pubDate>
		<dc:creator>Sanjay Willie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://intuitinnovations.com/blog/archives/246</guid>
		<description><![CDATA[
We had a surprise visit from our (preferred) hardphone makers Yealink, all the way from China. They were nice to drop by to say hi to us at Intuit. Together with our local partner, Netregy, we close large deals with many happy customers using our VoIP solution and Yealink phones.
Netregy is our stregic partner and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://1.bp.blogspot.com/_bgHtjJo0yK0/SnU0qiirOSI/AAAAAAAAAV8/vwDqmqo6RfM/S1600-R/Intuit_logo_red_highres.gif" width="92" height="43" /><img src="http://www.itsupply.com.mx/tienda/images/Yealink%20Logo(V1.20090601).jpg" width="135" height="39" /><img src="http://www.openvox.cn/images/logo/netregy.jpg" width="106" height="46" /></p>
<p>We had a surprise visit from our (preferred) hardphone makers Yealink, all the way from China. They were nice to drop by to say hi to us at Intuit. Together with our local partner, Netregy, we close large deals with many happy customers using our VoIP solution and Yealink phones.</p>
<p>Netregy is our stregic partner and Yealink distributor that we work with, they’ve always been a great supporter of Intuit and we have always done lots of good deals with each other. Thanks Netregy for bringing those “fascinated” folks from China over.</p>
<p>Here a photo of that small meeting.</p>
<p><a href="http://intuitinnovations.com/blog/wp-content/uploads/2010/04/intuitnetregyyealink.jpg"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="intuit-netregy-yealink" src="http://intuitinnovations.com/blog/wp-content/uploads/2010/04/intuitnetregyyealink_thumb.jpg" width="436" height="263" /></a> </p>
<p><em>In Picture: Intuit Sales, Yealink Vice-President and engineering team and the folks from Netregy.</em>&#160;</p>
<p>Those of you who would like to know some of the great quality and very cost effective phones Yealink (or Yeastar) provides, here are some examples:</p>
<p>More info can be found at their website: <a href="http://www.yealink.com">www.yealink.com</a> | and Netregy <a href="http://www.netregy.com/">http://www.netregy.com/</a></p>
<p><img src="http://t3.gstatic.com/images?q=tbn:BTB_P9kcKheIBM:http://img.alibaba.com/photo/106315464/Yealink_HD_IP_Phones.jpg" /><img src="http://t3.gstatic.com/images?q=tbn:azyX7W5aGYqKAM:http://www.voip-info.org/storage/users/130/53130/images/1907/Yealink%2520SIP-T10.jpg" /><img src="http://t0.gstatic.com/images?q=tbn:ZLbUV3AxApDDQM:http://bluescreenrecovery.com/images/yealink_hd_ip_video_phone.jpg" /><img src="http://t1.gstatic.com/images?q=tbn:A0hV3t6Ktzg-JM:http://www.phonesystems.co.uk/images/pictures/yealink/t20-yealink-(page-picture-large).jpg" /><img src="http://t2.gstatic.com/images?q=tbn:urW-xvNLXrqogM:http://www.whichtelephonesystem.com/images/pictures/yealink/yealink_t28.jpg" /><img src="http://t0.gstatic.com/images?q=tbn:sWNUOGz-AmOKxM:http://www.von-phone.com/prodimages/P8D-l.jpg" /></p>
<p><img src="http://t3.gstatic.com/images?q=tbn:X7UfeJdunUlL6M:http://www.tmcnet.com/tmc/misc/article-images/Image/Yealink%2520SIP.png" /><img src="http://t1.gstatic.com/images?q=tbn:NENdULqieWmr2M:http://fl2.shopmania.org/files/photos-south-africa/1166/yealink-yhs32-professional-call-centre-headset~1165218.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://intuitinnovations.com/blog/archives/246/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
