<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
I finally got it all right... <br>
<br>
Here, in detail are the steps I followed to get nagios installed, with
all of the neat graphic cgi's, on Redhat 8.0. There are just a few subtle
details.<br>
<br>
<h3>Installation (on RedHat 8.0):</h3>
Nagios requires the following:<br>
gd from <a class="moz-txt-link-freetext"
href="http://www.boutell.com/gd">http://www.boutell.com/gd</a><br>
libjpeg (RH CD #1) and libjpeg-devel (RH CD #2)<br>
libpng (RH CD #1) and libpng-devel (RH CD #2)<br>
<br>
Unpack gd with the following command:<br>
<font face="Courier New, Courier, monospace">tar –xzvf gd.2.0.8.tar.gz</font><br>
<br>
Boutell’s version of gd will update the RedHat version by using the following
configure invocation from the directory in which gd was unpacked:<br>
<br>
<font face="Courier New, Courier, monospace"> ./configure -–prefix=/usr<br>
make<br>
make install</font><br>
<br>
Prior to attempting to build the nagios distribution, /etc/ld.so.conf needs
to be edited to include the path to gd (and libjpeg and libpng) by adding
the line:<br>
<br>
<font face="Courier New, Courier, monospace">/usr/lib</font><br>
<br>
then you must run the following command:<br>
<br>
<font face="Courier New, Courier, monospace">ldconfig</font><br>
<br>
Now you are ready to configure and make nagios. Nagios is expanded by
running the command:<br>
<br>
<font face="Courier New, Courier, monospace">tar –xzvf nagios-1.0.tar.gz</font><br>
<br>
The configure invocation must include options for the path to your gd lib
and gd includes. Running from the directory in which nagios was expanded:<br>
<br>
<font face="Courier New, Courier, monospace"> ./configure –-with-gd-lib=/usr/lib
\<br>
-–with-gd-inc=/usr/include</font><br>
<br>
Then execute the following commands in turn (note, you will see lots of
warning messages as a result of the specified paths in the configure command.
This is not a problem).: <br>
<br>
<font face="Courier New, Courier, monospace"> make all<br>
make install<br>
make install-init<br>
make install-commandmode<br>
make install-config</font><br>
<br>
Now you are ready to edit all of the necessary nagios config files
which are located in /usr/local/nagios/etc. Refer to the excellent documentation
that comes with nagios. (Sit and read the doc, especially the tips and
tricks, before editing any files and you will find it much easier…)<br>
<br>
THANKS FOR THE HELP FOLKS...
</body>
</html>