Installing nagios core

Disponível somente no TrabalhosFeitos
  • Páginas : 3 (664 palavras )
  • Download(s) : 0
  • Publicado : 16 de novembro de 2012
Ler documento completo
Amostra do texto
Nagios – Installing Nagios Core From Source
The Industry Standard in IT Infrastructure Monitoring
Purpose
This document describes how install Nagios Core and Nagios Plugins from source on CentOSand Ubuntu servers.

Target Audience
This document is intended for use by anyone wishing to install Nagios Core from source.

Prerequisites
For Ubuntu users, run all steps from this documentwith root permissions. The following command can be run to switch to a root shell.
sudo -i
Package requirements may vary depending on what type of installation platform Nagios is being installed on.For RHEL/CentOS users:
yum install -y wget httpd php gcc glibc glibc-common gd gd-devel make net-snmp
For Ubuntu users:
sudo apt-get install wget install build-essential apache2 php5-gd wgetlibgd2-xpm libgd2-xpm-dev
libapache2-mod-php5

Download Nagios Core and Nagios Plugins Tarballs
For all systems, run the following commands in your terminal:
cd /tmp
wgethttp://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.4.1.tar.gz
wget http://sourceforge.net/projects/nagiosplug/files/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gz
This will download Nagios Core, and it'srequired plugins.

Adding the Nagios User and Group
Next add the appropriate user and group for the Nagios process to run:
useradd nagios
groupadd nagcmd
usermod -a -G nagcmd nagios

NagiosEnterprises, LLC US: 1-888-NAGIOS-1
P.O. Box 8154
Int'l: +1 651-204-9102
Saint Paul, MN 55108
Fax: +1 651-204-9103
USA

Web: www.nagios.com
Email: sales@nagios.com

Page 1
Copyright © 2010-2011Nagios Enterprises, LLC
Revision 1.0 – October, 2012

Nagios – Installing Nagios Core From Source
Nagios Core Installation
tar zxvf nagios-3.4.1.tar.gz
tar zxvf nagios-plugins-1.4.15.tar.gzChange to the new Nagios directory and install the packages:
cd nagios
For RHEL/CentOS users:
./configure --with-command-group=nagcmd
For Ubuntu users:
./configure --with-nagios-group=nagios...
tracking img