<?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>:: HawkEYE Expression :: &#187; installation</title>
	<atom:link href="http://blog.namran.net/tag/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.namran.net</link>
	<description>R35p3c7 7h3 !n7311!93n7,h31p wh0 c4n’7 4ff02d….        [blog.namran.net]</description>
	<lastBuildDate>Sun, 05 Sep 2010 08:43:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Installing Nagios 3 in CentOS 5.2</title>
		<link>http://blog.namran.net/2009/02/14/installing-nagios-3-in-centos-52/</link>
		<comments>http://blog.namran.net/2009/02/14/installing-nagios-3-in-centos-52/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 07:51:00 +0000</pubDate>
		<dc:creator>HawkEYE</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://blog.namran.net/?p=1028</guid>
		<description><![CDATA[Nagios is one of the powerful network device monitoring and visualization.. I did bump on this software few year back.. but never got chance to play with it. just saw someone else using it at that moment.. let&#8217;s give a try.. with rpmforge yum repo enabled .. yum search nagios wow.. someone else already made [...]

<div class="post-fixed">
Related posts:<ol><li><a href='http://blog.namran.net/2010/04/20/how-to-get-remote-diskswapprocess-status-using-nagios-and-nrpe/' rel='bookmark' title='Permanent Link: How to get remote disk,swap,process status using nagios and nrpe'>How to get remote disk,swap,process status using nagios and nrpe</a></li>
<li><a href='http://blog.namran.net/2010/02/08/installing-and-configuring-openvpn-server-in-centos-5-4/' rel='bookmark' title='Permanent Link: Installing and configuring OpenVPN server in CentOS 5.4'>Installing and configuring OpenVPN server in CentOS 5.4</a></li>
<li><a href='http://blog.namran.net/2009/06/02/installing-moodle-in-centos-5-with-mysql/' rel='bookmark' title='Permanent Link: Installing Moodle in Centos 5 with mySQL'>Installing Moodle in Centos 5 with mySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Nagios is one of the powerful network device monitoring and visualization..</p>
<p>I did bump on this software few year back.. but never got chance to play with it.<br />
just saw someone else using it at that moment..</p>
<p>let&#8217;s give a try.. with rpmforge yum repo enabled ..</p>
<blockquote><p>yum search nagios</p></blockquote>
<p>wow.. someone else already made it before..</p>
<blockquote><p>yum install nagios nagios-plugins nagios-plugins-nrpe nagios-devel -y</p></blockquote>
<p><a href="http://blog.namran.net/wp-content/uploads/2009/02/nagios.png"><img class="alignnone size-full wp-image-1030" title="nagios" src="http://blog.namran.net/wp-content/uploads/2009/02/nagios.png" alt="nagios" width="668" height="458" /></a><br />
Hmmm.. re-configure and set password file.</p>
<blockquote><p>vi /etc/nagios/cgi.cfg<br />
htpasswd -c /etc/nagios/htpasswd.users nagiosadmin</p></blockquote>
<p>start the daemon &amp; restart HTTPd</p>
<blockquote><p>service nagios restart<br />
service httpd restart</p></blockquote>
<p>then use http://localhost/nagios<br />
enter the password..</p>
<p>should be able to see localhost service being monitor and all..<br />
to add few other thing..</p>
<p>I love to define the folder into /etc/nagios/nagios.cfg<br />
add this line</p>
<blockquote><p>cfg_dir=/etc/nagios/namran</p></blockquote>
<p>then create a directory and set permission accordingly.</p>
<blockquote><p>mkdir /etc/nagios/namran<br />
chown nagios:nagios /etc/nagios/namran</p></blockquote>
<p>then create the config file to be added.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-0486192213670544";
google_ad_slot = "0715863013";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<blockquote><p>vi /etc/nagios/namran/wwwnamran.cfg</p></blockquote>
<p>add the content such as below</p>
<blockquote><p>define host{<br />
use                     linux-server<br />
host_name               www.namran.net<br />
alias                   www.namran.net<br />
address                 210.48.152.20<br />
}<br />
define service{<br />
use                             generic-service<br />
host_name                       www.namran.net<br />
service_description             PING<br />
check_command                   check_ping!100.0,20%!500.0,60%<br />
}<br />
define service{<br />
use                             generic-service<br />
host_name                       www.namran.net<br />
service_description             HTTP<br />
check_command                   check_http<br />
notifications_enabled           0<br />
}<br />
define service{<br />
use                     generic-service<br />
host_name               www.namran.net<br />
service_description     Cpanel<br />
check_command           check_tcp!2082!<br />
notifications_enabled           0<br />
}</p></blockquote>
<blockquote><p>chown nagios:nagios /etc/nagios/namran/*.cfg</p></blockquote>
<p>restart the nagios service</p>
<blockquote><p>service nagios restart</p>
<blockquote><p>repeat that with next few server and service that you might want to monitor..</p>
<p>and the result is such as below.. and few other..</p>
<p><div id="attachment_1031" class="wp-caption alignnone" style="width: 909px"><img class="size-full wp-image-1031" title="tactical" src="http://blog.namran.net/wp-content/uploads/2009/02/tactical.png" alt="Tactical overview" width="899" height="792" /><p class="wp-caption-text">Tactical overview</p></div><br />
<script type="text/javascript"><!--
google_ad_client = "pub-0486192213670544";
google_ad_slot = "0715863013";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
<img class="alignnone size-full wp-image-1032" title="host-detail" src="http://blog.namran.net/wp-content/uploads/2009/02/host-detail.png" alt="host-detail" width="899" height="792" /><br />
<span id="more-1028"></span><br />
<img class="alignnone size-full wp-image-1033" title="nagios-grid" src="http://blog.namran.net/wp-content/uploads/2009/02/nagios-grid.png" alt="nagios-grid" width="899" height="792" /><img class="alignnone size-large wp-image-1035" title="nagios-screen" src="http://blog.namran.net/wp-content/uploads/2009/02/nagios-screen-1024x808.png" alt="nagios-screen" width="1024" height="808" /></p></blockquote>
</blockquote>



<div class="post-fixed"><p>Related posts:<ol><li><a href='http://blog.namran.net/2010/04/20/how-to-get-remote-diskswapprocess-status-using-nagios-and-nrpe/' rel='bookmark' title='Permanent Link: How to get remote disk,swap,process status using nagios and nrpe'>How to get remote disk,swap,process status using nagios and nrpe</a></li>
<li><a href='http://blog.namran.net/2010/02/08/installing-and-configuring-openvpn-server-in-centos-5-4/' rel='bookmark' title='Permanent Link: Installing and configuring OpenVPN server in CentOS 5.4'>Installing and configuring OpenVPN server in CentOS 5.4</a></li>
<li><a href='http://blog.namran.net/2009/06/02/installing-moodle-in-centos-5-with-mysql/' rel='bookmark' title='Permanent Link: Installing Moodle in Centos 5 with mySQL'>Installing Moodle in Centos 5 with mySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.namran.net/2009/02/14/installing-nagios-3-in-centos-52/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
