Profundizando nagios.pdf


Vista previa del archivo PDF profundizando-nagios.pdf


Página 1...4 5 678111

Vista previa de texto


Descarga y compilación
En este apartado nos concentraremos en la descarga y compilación de los
diferentes paquetes bajados en formato de codigo fuente.
Nagios
Para empezar deberemos descargar el código fuente del software Nagios
desde su sitio web, en formato tar.gz, a la fecha la última versión es la 3.0.
Para ello descomprimiremos el paquete descargado y luego procederemos a
compilarlo.
root@localhost # tar xvfzp nagios-3.0.6.tar.gz
root@localhost nagios-3.0.6 # ./configure
*** Configuration summary for nagios 3.0.6 12-01-2008 ***:
General Options:
------------------------Nagios executable:
Nagios user/group:
Command user/group:
Embedded Perl:
Event Broker:
Install ${prefix}:
Lock file:
Check result directory:
Init directory:
Apache conf.d directory:
Mail program:
Host OS:

nagios
nagios,nagios
nagios,nagios
no
yes
/usr/local/nagios
${prefix}/var/nagios.lock
${prefix}/var/spool/checkresults
/etc/rc.d/init.d
/etc/httpd/conf.d
/bin/mail
linux-gnu

Web Interface Options:
-----------------------HTML URL:
CGI URL:
Traceroute (used by WAP):

http://localhost/nagios/
http://localhost/nagios/cgi-bin/
/bin/traceroute

Review the options above for accuracy. If they look okay,
type 'make all' to compile the main program and CGIs.
root@localhost nagios-3.0.6 # make all
*** Compile finished ***
If the main program and CGIs compiled without any errors, you
can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):
make install
- This installs the main program, CGIs, and HTML files
make install-init
- This installs the init script in /etc/rc.d/init.d
make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file
make install-config

adplus-dvertising