<?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>TJ SIEDSMA dot com</title>
	<atom:link href="http://tjsiedsma.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://tjsiedsma.com/blog</link>
	<description>Lit up like an over-amped light brite!</description>
	<lastBuildDate>Mon, 08 Aug 2011 03:33:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Howto remote monitor cPanel with Nagios ( nrpe )</title>
		<link>http://tjsiedsma.com/blog/2011/08/howto-remote-monitor-cpanel-with-nagios-nrpe/</link>
		<comments>http://tjsiedsma.com/blog/2011/08/howto-remote-monitor-cpanel-with-nagios-nrpe/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 03:33:57 +0000</pubDate>
		<dc:creator>T.J. Siedsma</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://tjsiedsma.com/blog/?p=37</guid>
		<description><![CDATA[Howto remote monitor cPanel with Nagios via installing NRPE Using a Nagios plug-in called  NRPE to monitor the health of a server in conjunction with external checking (aka checking for open ports) gives a little more in-depth check. It can also allow you to catch some problems before they result in a service being unavailable. Firstly make sure  you have [...]]]></description>
			<content:encoded><![CDATA[<p>Howto remote monitor cPanel with Nagios via installing NRPE</p>
<p>Using a Nagios plug-in called  <a href="http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE-%252D-Nagios-Remote-Plugin-Executor/details">NRPE</a> to monitor the health of a server in conjunction with external checking (aka checking for open ports) gives a little more in-depth check. It can also allow you to catch some problems before they result in a service being unavailable.</p>
<p>Firstly make sure  you have opened the NRPE port on your firewall 5666 tcp.</p>
<p>Install</p>
<p><strong>nagios-plugin installation</strong><br />
<code><br />
cd /usr/src/<br />
/usr/sbin/useradd nagios<br />
passwd nagios<br />
wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz<br />
tar -xvzf nagios-plugins-1.4.15.tar.gz<br />
cd nagios-plugins-1.4.15<br />
./configure<br />
make<br />
make install<br />
chown nagios.nagios /usr/local/nagios<br />
chown -R nagios.nagios /usr/local/nagios/libexec<br />
</code></p>
<p>Make sure that xinetd has installed on the server. Else install using :<br />
<code><br />
yum install xinetd<br />
</code></p>
<p><ins><ins id="aswift_0_anchor"></ins></ins><br />
<strong>Check for Openssl-devel</strong></p>
<p>this should should give a result.<br />
<code><br />
rpm -qa | grep openssl-devel<br />
</code><br />
If you dont please install via yum<br />
<code><br />
yum install openssl*<br />
</code></p>
<p><strong>nrpe daemon installation</strong><br />
<code><br />
cd /usr/src/<br />
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz<br />
tar -xvzf nrpe-2.12.tar.gz<br />
cd nrpe-2.12<br />
./configure<br />
make all<br />
make install-plugin<br />
make install-daemon<br />
make install-daemon-config<br />
make install-xinetd<br />
</code><br />
edit /etc/xinetd.d/nrpe Change the IP at the “only_from” option. To the IP of the server that will monitor it. Should end up looking like this:<br />
<code><br />
# default: on<br />
# description: NRPE (Nagios Remote Plugin Executor)<br />
service nrpe<br />
{<br />
flags = REUSE<br />
socket_type = stream<br />
port = 5666<br />
wait = no<br />
user = nagios<br />
group = nagios<br />
server = /usr/local/nagios/bin/nrpe<br />
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd<br />
log_on_failure += USERID<br />
disable = no<br />
only_from = 11.11.11.11<br />
}<br />
</code></p>
<p><code><br />
echo "nrpe 5666/tcp # Nagios Plugin NRPE" &gt;&gt; /etc/services<br />
chkconfig xinetd on<br />
service xinetd restart<br />
</code><br />
That is all that should be needed for the default setup of NRPE checks. The default checks should be found in /usr/local/nagios/etc/nrpe.cfg</p>
<p>To test if this is working from your monitoring nagios server run one of the following (depending where check_nrpe was installed to)<br />
<code><br />
/usr/local/nagios/libexec/check_nrpe -H ip_of_cPanel_server<br />
/usr/lib64/nagios/plugins/check_nrpe -H ip_of_cPanel_server<br />
</code><br />
And all going well should end up with a responce like this<br />
<code>NRPE v2.12</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tjsiedsma.com/blog/2011/08/howto-remote-monitor-cpanel-with-nagios-nrpe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS + HTML + jQuery</title>
		<link>http://tjsiedsma.com/blog/2009/07/css-html-jquery/</link>
		<comments>http://tjsiedsma.com/blog/2009/07/css-html-jquery/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 02:31:19 +0000</pubDate>
		<dc:creator>T.J. Siedsma</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://tjsiedsma.com/blog/?p=21</guid>
		<description><![CDATA[I&#8217;ve been working with CSS and HTML for quite some time, PHP almost as long.  One thing that I was never very good at was Javascript, which is weird since PHP and Javascript are both scripting languages.  Not too long ago, Ned got me into jQuery and AJAX.  It is a very powerful tool and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with CSS and HTML for quite some time, PHP almost as long.  One thing that I was never very good at was Javascript, which is weird since PHP and Javascript are both scripting languages.  Not too long ago, Ned got me into jQuery and AJAX.  It is a very powerful tool and I firmly believe that no successful website is complete without it.</p>
<p>Today I created a Header for a Maple Story fan site.  Never played the game personally but it seems to have a pretty strong following.  The site owner found a menu he liked at basilmarket.com and wanted something similar without copying from them.</p>
<p><a href="http://www.basilmarket.com"></a><a href="http://www.basilmarket.com"><img class="alignnone size-full wp-image-28" title="basilmarketmenu" src="http://tjsiedsma.com/blog/wp-content/uploads/2009/07/basilmarketmenu.png" alt="basilmarketmenu" width="600" height="68" /></a></p>
<p>I spent some time creating the layout which was just HTML and CSS to make thing pretty.  Then I added some simple jQuery and voila, a nice looking menu.</p>
<p><a href="http://projects.tjsiedsma.com/maplepalace"><img class="alignnone size-full wp-image-29" title="maplepalace" src="http://tjsiedsma.com/blog/wp-content/uploads/2009/07/maplepalace.png" alt="maplepalace" width="600" height="55" /></a></p>
<p>Click the images above and you can see for yourself exactly how the menus work <img src='http://tjsiedsma.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The menu was built from looking at the image below and seeing how the BasilMarket menu worked.</p>
<div id="attachment_32" class="wp-caption alignnone" style="width: 490px"><a href="http://tjsiedsma.com/blog/wp-content/uploads/2009/07/mapleconcept.png"><img class="size-medium wp-image-32 " title="MaplePalace Concept" src="http://tjsiedsma.com/blog/wp-content/uploads/2009/07/mapleconcept-480x240.png" alt="MaplePalace Concept" width="480" height="240" /></a><p class="wp-caption-text">MaplePalace Concept</p></div>
]]></content:encoded>
			<wfw:commentRss>http://tjsiedsma.com/blog/2009/07/css-html-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing</title>
		<link>http://tjsiedsma.com/blog/2009/07/testing/</link>
		<comments>http://tjsiedsma.com/blog/2009/07/testing/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 20:54:14 +0000</pubDate>
		<dc:creator>T.J. Siedsma</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://tjsiedsma.com/blog/?p=12</guid>
		<description><![CDATA[Just installed the new Syntax Highlighter plugin http://alexgorbatchev.com/wiki/SyntaxHighlighter $foo = "PHP is "; $bar = "the Awesomest!!!"; echo $foo.$bar;]]></description>
			<content:encoded><![CDATA[<p>Just installed the new Syntax Highlighter plugin http://alexgorbatchev.com/wiki/SyntaxHighlighter</p>
<pre class="brush:php">
$foo = "PHP is ";
$bar = "the Awesomest!!!";
echo $foo.$bar;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://tjsiedsma.com/blog/2009/07/testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

