<?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>Leonardo Borda &#187; kernel</title>
	<atom:link href="http://www.leonardoborda.com/blog/tag/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leonardoborda.com/blog</link>
	<description>A bit of everything and answers that really work!</description>
	<lastBuildDate>Thu, 06 Oct 2011 00:47:27 +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>Nagios plugin return codes</title>
		<link>http://www.leonardoborda.com/blog/nagios-plugin-return-codes/</link>
		<comments>http://www.leonardoborda.com/blog/nagios-plugin-return-codes/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:48:06 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Knowledge Base]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.leonardoborda.com/blog/?p=121</guid>
		<description><![CDATA[Table 2. Plugin Return Codes Numeric Value Service Status Status Description 0 OK The plugin was able to check the service and it appeared to be functioning properly 1 Warning The plugin was able to check the service, but it appeared to be above some &#8220;warning&#8221; threshold or did not appear to be working properly [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Table 2. Plugin Return Codes</strong></p>
<table class="CALSTABLE" border="1">
<col></col>
<col></col>
<col></col>
<thead>
<tr>
<th>Numeric Value</th>
<th>Service Status</th>
<th>Status Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">0</td>
<td valign="middle">OK</td>
<td>The plugin was able to check the service and it        appeared to be functioning properly</td>
</tr>
<tr>
<td align="center">1</td>
<td valign="middle">Warning</td>
<td>The plugin was able to check the service, but it appeared to be above some &#8220;warning&#8221; threshold or did not appear to be working properly</td>
</tr>
<tr>
<td align="center">2</td>
<td valign="middle">Critical</td>
<td>The plugin detected that either the service was not        running or it was above some &#8220;critical&#8221; threshold</td>
</tr>
<tr>
<td align="center">3</td>
<td valign="middle">Unknown</td>
<td>Invalid command line arguments were supplied to the plugin or low-level failures internal to the plugin (such as unable to fork, or open a tcp socket) that prevent it from performing the specified operation. Higher-level errors (such as name resolution errors, socket timeouts, etc) are outside of the control of plugins and should generally NOT be reported as UNKNOWN states.</td>
</tr>
</tbody>
</table>
<p>link: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN35</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leonardoborda.com/blog/nagios-plugin-return-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ping does not respond after 8 or 9 successful replies.</title>
		<link>http://www.leonardoborda.com/blog/ping-does-not-respond-after-8-or-9-successful-replies/</link>
		<comments>http://www.leonardoborda.com/blog/ping-does-not-respond-after-8-or-9-successful-replies/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:45:07 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Knowledge Base]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://www.leonardoborda.com/blog/?p=115</guid>
		<description><![CDATA[Today I had an interesting issue on Ubuntu 8.10. We have 2 NICS on the server one has the following ip 172.16.20.10/16 and another one has 172.16.60.10/16. I know they are on the same network though but we had to do it in order to accomplish some routing issues. So here is the problem: When [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had an interesting issue on Ubuntu 8.10.</p>
<p>We have 2 NICS on the server one has the following ip 172.16.20.10/16 and another one has 172.16.60.10/16. I know they are on the same network though but we had to do it in order to accomplish some routing issues.</p>
<p>So here is the problem:<br />
When I try to ping our ISPs Gateway it succesful pings till the eighth or ninth reply and stops replying.<br />
On ubuntu 6.10 it works fine.</p>
<p>So here is the solution:</p>
<p>Since we have 2 NICs with the same network address when the second one tries to reach a remote server the Kernel thinks it is a spoofing attack since by default it is enable source address verification against spoofing attacks.<br />
So what you have to do is to change the rp_filter kernel parameter to 0 (zero).</p>
<p>1. Edit 10-network-security.conf<br />
vi  /etc/sysctl.d/10-network-security.conf<br />
change to 0 (zero)<br />
2. invoke-rc.d procps start</p>
<p>This is it!</p>
<p>Leonardo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leonardoborda.com/blog/ping-does-not-respond-after-8-or-9-successful-replies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

