<?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>Got Blorped? &#187; Linux</title>
	<atom:link href="http://blorp.info/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blorp.info</link>
	<description>Tech Blog</description>
	<lastBuildDate>Sun, 09 Aug 2009 10:49:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Monit configuration file for SSHD</title>
		<link>http://blorp.info/monit-configuration-file-for-sshd/</link>
		<comments>http://blorp.info/monit-configuration-file-for-sshd/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 10:18:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monit]]></category>

		<guid isPermaLink="false">http://blorp.info/?p=41</guid>
		<description><![CDATA[ check process sshd with pidfile /var/run/sshd.pid
   start program  &#8220;/etc/init.d/sshd start&#8221;
   stop program  &#8220;/etc/init.d/sshd stop&#8221;
   if failed host 188.40.81.196 port 2499 protocol ssh then restart
   if 5 restarts within 5 cycles then timeout
]]></description>
			<content:encoded><![CDATA[<p> check process sshd with pidfile /var/run/sshd.pid<br />
   start program  &#8220;/etc/init.d/sshd start&#8221;<br />
   stop program  &#8220;/etc/init.d/sshd stop&#8221;<br />
   if failed host 188.40.81.196 port 2499 protocol ssh then restart<br />
   if 5 restarts within 5 cycles then timeout</p>
]]></content:encoded>
			<wfw:commentRss>http://blorp.info/monit-configuration-file-for-sshd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monit configuration file for Apache2</title>
		<link>http://blorp.info/monit-configuration-file-for-apache2/</link>
		<comments>http://blorp.info/monit-configuration-file-for-apache2/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 23:26:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monit]]></category>

		<guid isPermaLink="false">http://blorp.info/?p=37</guid>
		<description><![CDATA[Config file for Apache2 on Monit based

This howto is based after you have completed this install guide at SecureCentos.com
Step 1: Create /etc/monit/cfg/apache2.cfg

nano -w /etc/monit/cfg/apache2.cfg

Step 2: Paste this text into apache2.cfg

check process httpd with pidfile /var/run/httpd.pid
   group apache
   start program  &#34;/etc/init.d/httpd start&#34;
   stop program  &#34;/etc/init.d/httpd stop&#34;
   [...]]]></description>
			<content:encoded><![CDATA[<p>Config file for Apache2 on Monit based<br />
<span id="more-37"></span><br />
<strong>This howto is based after you have completed this install guide at <a href="http://www.securecentos.com/monitoring/install-monit/">SecureCentos.com</a></strong></p>
<p><strong><span style="color:blue">Step 1:</span> Create /etc/monit/cfg/apache2.cfg</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">nano -w /etc/monit/cfg/apache2.cfg</pre></div></div>

<p><strong><span style="color:blue">Step 2:</span> Paste this text into apache2.cfg</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">check process httpd with pidfile /var/run/httpd.pid
   group apache
   start program  &quot;/etc/init.d/httpd start&quot;
   stop program  &quot;/etc/init.d/httpd stop&quot;
   if failed host localhost port 80 protocol http
      and request &quot;/&quot; then alert
   if cpu is greater than 60% for 2 cycles then alert
   if cpu &gt; 80% for 5 cycles then restart
   if children &gt; 250 then restart
   if loadavg(5min) greater than 10 for 8 cycles then alert
   if 3 restarts within 5 cycles then timeout</pre></div></div>

<p><strong><span style="color:red">* You should verify every path string, so it matches your system *</span></strong></p>
<p><strong><span style="color:blue">Step 3:</span> Restart Monit to activate new config</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">service monit restart</pre></div></div>

<p>Note: you need this line in your monitrc file to make the howto above to work.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">include /etc/monit/cfg/*</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blorp.info/monit-configuration-file-for-apache2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto disable ping to your Centos server</title>
		<link>http://blorp.info/howto-disable-ping-to-your-centos-server/</link>
		<comments>http://blorp.info/howto-disable-ping-to-your-centos-server/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 22:05:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blorp.info/?p=29</guid>
		<description><![CDATA[Simple steps to disable ping to your Centos linux server


Step 1: As root, open /etc/sysctl.conf for edit

nano -w /etc/sysctl.conf

Step 1.1: Add these lines in the bottom

net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1

Step 2: Restart sysctl to set the settings in effect

sysctl -p

This change will persist following a reboot.

]]></description>
			<content:encoded><![CDATA[<p>Simple steps to disable ping to your Centos linux server</p>
<p><span id="more-29"></span><br />
</br><br />
<strong><span style="color:blue">Step 1:</span> As root, open /etc/sysctl.conf for edit</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">nano -w /etc/sysctl.conf</pre></div></div>

<p><strong><span style="color:blue">Step 1.1:</span> Add these lines in the bottom</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1</pre></div></div>

<p><strong><span style="color:blue">Step 2:</span> Restart sysctl to set the settings in effect</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sysctl -p</pre></div></div>

<p><strong>This change will persist following a reboot.</strong><br />
</br></p>
]]></content:encoded>
			<wfw:commentRss>http://blorp.info/howto-disable-ping-to-your-centos-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
