<?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>OpenSource NetMonitoring &#187; install</title>
	<atom:link href="http://www.netmonitoring.org/tag/install/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netmonitoring.org</link>
	<description>Install,configure,troubleshoot opensource monitoring with tips and tricks</description>
	<lastBuildDate>Sat, 06 Nov 2010 14:54:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install Nagios 2.10 in Debian4.0 r2 with Apache2</title>
		<link>http://www.netmonitoring.org/nagios/install-nagios-210-in-debian40-r2-with-apache2/</link>
		<comments>http://www.netmonitoring.org/nagios/install-nagios-210-in-debian40-r2-with-apache2/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 12:21:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.netmonitoring.org/nagios/install-nagios-210-in-debian40-r2-with-apache2/</guid>
		<description><![CDATA[Part 2 of the four part installation procedure for Nagios involves the actual install of the Nagios Binaries itself. Here we cover the download, and installation of the latest stable version of Nagios. If you jumped directly into this article, its worth having a look into the installation and configurations of the Nagios pre-requisites at <a href='http://www.netmonitoring.org/nagios/install-nagios-210-in-debian40-r2-with-apache2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"; margin-right: 5px;>
<script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* netmon_336x280_post */
google_ad_slot = "8374956079";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>Part 2 of the four part installation procedure for Nagios involves the actual install of the Nagios Binaries itself. Here we cover the download, and installation of the latest stable version of Nagios.</p>
<p>If you jumped directly into this article, its worth having a look into the installation and configurations of the Nagios pre-requisites at the link below</p>
<blockquote><p><a target="_blank" href="http://www.netmonitoring.org/nagios/install-and-configure-pre-requisites-for-nagios/" title="Install and configure Nagios 2.x prerequisites on Debian"><strong>1. Install and configure the pre-requisites</strong></a></p></blockquote>
<p><strong>Nagios Version: Nagios 2.10 (at the time of writing this article)</strong></p>
<p><span id="more-9"></span></p>
<p><strong><u>Download Nagios</u></strong></p>
<p>The latest stable version of Nagios can be downloaded from</p>
<p><a href="http://dfn.dl.sourceforge.net/sourceforge/nagios/nagios-2.10.tar.gz">http://dfn.dl.sourceforge.net/sourceforge/nagios/nagios-2.10.tar.gz</a></p>
<p>Use wget to download</p>
<blockquote><p><strong>debian4r2:/software# wget </strong><strong>http://dfn.dl.sourceforge.net/sourceforge/nagios/nagios-2.10.tar.gz</strong></p></blockquote>
<p><strong><u>Untar and Unzip the downloaded file</u></strong></p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# tar -zxvf nagios-2.10.tar.gz</strong></p></blockquote>
<p><strong><u>Change Directory to the extracted nagios directory</u></strong></p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# cd nagios-2.10</strong></p></blockquote>
<p><strong><u>Run the configure script</u></strong></p>
<blockquote><p><strong># ./configure &#8211;with-nagios-user=nagios &#8211;with-nagios-group=nagios &#8211;with-command-group=nagcmd</strong></p></blockquote>
<p>This assumes default Nagios Root,CGI, HTML/Website locations.</p>
<p>If you would like to change any of these location then the following is the syntax</p>
<blockquote><p># ./configure –prefix=/usr/local/nagios –with-cgiurl=/nagios/cgi-bin –with-htmurl=/nagios/ –with-nagios-user=nagios –with-nagios-group=nagios –with-command-group=nagios</p>
<p>where</p>
<pre>–prefix=/usr/local/nagios is the Nagios root folder  

–with-cgiurl=/nagios/cgi-bin is the Nagios CGI folder  

–with-htmurl=/nagios/ is the Nagios HTML/Website folder  

–with-nagios-user=nagios is the Nagios user  

–with-nagios-group=nagios is the Nagios group  

–with-command-group=nagios is the Nagios command group which has webserver user (Apache) and the nagios user as members.</pre>
</blockquote>
<p>If all went OK You should see something like the following:</p>
<blockquote>
<pre>General Options:  

 -------------------------  

        Nagios executable:  nagios  

        Nagios user/group:  nagios,nagios  

       Command user/group:  nagios,nagcmd  

            Embedded Perl:  no  

             Event Broker:  yes  

        Install ${prefix}:  /usr/local/nagios  

                Lock file:  ${prefix}/var/nagios.lock  

           Init directory:  /etc/init.d  

  Apache conf.d directory:  /etc/apache2/conf.d  

                  Host OS:  linux-gnu</pre>
<pre> Web Interface Options:  

 ------------------------  

                 HTML URL:  <a href="http://localhost/nagios/">http://localhost/nagios/</a>  

                  CGI URL:  <a href="http://localhost/nagios/cgi-bin/">http://localhost/nagios/cgi-bin/</a>  

 Traceroute (used by WAP):  /usr/sbin/traceroute</pre>
<pre>
Review the options above for accuracy.  If they look okay,  

type 'make all' to compile the main program and CGIs.</pre>
</blockquote>
<p>Now,</p>
<p><strong><u>Compile Nagios and the CGIs</u></strong></p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# make all</strong></p></blockquote>
<p><strong><u>Install the Nagios Binaries and HTML Files</u></strong></p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# make install</strong></p></blockquote>
<p><strong><u>Install the init-script to start Nagios at System startup</u></strong></p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# make install-init</strong></p></blockquote>
<p><strong><u>Install and configure permissions for the Commands directory for External Commands</u></strong></p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# make install-commandmode</strong></p></blockquote>
<p>If you want the <strong>sample configs</strong> installed then run</p>
<blockquote><p><strong>debian4r2:/software/nagios-2.10# make install-config</strong></p></blockquote>
<p>Now that the binaries are installed. The next step would be to install the Nagios default plugins. This will get you started with a set of common checks that can be used to check hosts. Follow the rest of the steps to complete the nagios installation.</p>
<blockquote><p><a target="_blank" href="http://www.netmonitoring.org/nagios/10/" title="Install Nagios Plugin 1.4.11 in Debian"><strong>Step3. Install Nagios Plugins</strong></a></p></blockquote>
<blockquote><p><a target="_blank" href="http://www.netmonitoring.org/nagios/configure-nagios-web-interface-cgi-and-user-authentication/" title="Configure Webintereface authentication and CGI for Nagios"><strong>Step4. Setup web interface and CGI Authentication</strong></a></p></blockquote>
<h3>Related Post</h3><ul class="related_post"><li><a href="http://www.netmonitoring.org/nagios/two-cool-nagios-applications-on-apple-iphone/" title="Two cool Nagios applications on Apple iPhone">Two cool Nagios applications on Apple iPhone</a></li><li><a href="http://www.netmonitoring.org/nagios/nagios-checker-nagios-alarms-on-your-firefox-status-bar/" title="Nagios Checker &#8211; Nagios Alarms on your Firefox Status bar">Nagios Checker &#8211; Nagios Alarms on your Firefox Status bar</a></li><li><a href="http://www.netmonitoring.org/centreon/install-configure-centreon-network-monitoring-in-debian/" title="Install &#038; Configure Centreon Network Monitoring in Debian">Install &#038; Configure Centreon Network Monitoring in Debian</a></li><li><a href="http://www.netmonitoring.org/centreon/configure-centreon-setup-and-database/" title="Configure Centreon setup and database">Configure Centreon setup and database</a></li><li><a href="http://www.netmonitoring.org/centreon/install-centreon-network-monitoring-binaries-in-debian/" title="Install Centreon Network Monitoring binaries in Debian">Install Centreon Network Monitoring binaries in Debian</a></li><li><a href="http://www.netmonitoring.org/centreon/install-pre-requisites-for-centreon-network-monitoring-in-debian/" title="Install pre-requisites for Centreon Network Monitoring in Debian">Install pre-requisites for Centreon Network Monitoring in Debian</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.netmonitoring.org/nagios/install-nagios-210-in-debian40-r2-with-apache2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

