Installing nagios core

664 palavras 3 páginas
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 CentOS and 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 document with 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 wget libgd2-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 wget http://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's required 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

Nagios Enterprises, 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-2011 Nagios 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.gz
Change 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

Relacionados

  • Nagios - nrpe
    4328 palavras | 18 páginas
  • Munin
    1307 palavras | 6 páginas
  • Subnetting chart
    67808 palavras | 272 páginas
  • Zabbix
    62597 palavras | 251 páginas
  • Pedagogia
    139690 palavras | 559 páginas