<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=Nagios_installation</id>
	<title>Nagios installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=Nagios_installation"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=Nagios_installation&amp;action=history"/>
	<updated>2026-04-20T11:13:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=Nagios_installation&amp;diff=185&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; == Nagios Installation ==  === Installation by hand of Nagios server ===  *When adding the rpms for nagios by hand (eg. on nagios.iihe.ac.be) following commands need to b...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=Nagios_installation&amp;diff=185&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Nagios Installation ==  === Installation by hand of Nagios server ===  *When adding the rpms for nagios by hand (eg. on nagios.iihe.ac.be) following commands need to b...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Nagios Installation ==&lt;br /&gt;
&lt;br /&gt;
=== Installation by hand of Nagios server ===&lt;br /&gt;
&lt;br /&gt;
*When adding the rpms for nagios by hand (eg. on nagios.iihe.ac.be) following commands need to be run.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm #for 32bit machine&lt;br /&gt;
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm #for 64bit machine&lt;br /&gt;
yum install httpd php gcc glibc glibc-common gd gd-devel #install apache&lt;br /&gt;
yum install nagios nagios-plugins nagios-plugins-setuid #install nagios&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Create the default Nagios web access user and set a password. The password is **** (just kidding:p)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
htpasswd -c /etc/nagios/htpasswd.users nagiosadmin &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Verify default config files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nagios -v /etc/nagios/nagios.cfg &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Start Nagios&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/nagios start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Start Apache&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/httpd start &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nagios installation on a desktop ===&lt;br /&gt;
&lt;br /&gt;
*On the [http://nagios.sourceforge.net/docs/3_0/quickstart.html Nagios Quickstart Installation Guide] a section is dedicated to installation on a Fedora, OpenSuse and Ubuntu machine.&lt;br /&gt;
&lt;br /&gt;
*The ubuntu procedure was tested and is found to work rather well. &lt;br /&gt;
&lt;br /&gt;
*To check/start/stop/restart (after configuration changes) the nagios deamon:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nagios -v /etc/nagios/nagios.cfg &lt;br /&gt;
/etc/init.d/nagios start&lt;br /&gt;
/etc/init.d/nagios reload&lt;br /&gt;
/etc/init.d/nagios stop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The webinterface can be accessed by going surfing to http://localhost/nagios/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>