Nagios3 Centreon2 Fedora prerequisites

From Wiki Centreon

Jump to: navigation, search

Contents

1. Installation of prerequisites

Warning: In CentOS, following packages are not included in standard repositories. To install pre-requisites, you need to add "RPM Forge" repository:

# wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Updates

# yum update
# yum upgrade

Installing Apache2

# yum install httpd

Installing GD modules

# yum install gd fontconfig-devel libjpeg-devel libpng-devel gd-devel perl-GD

Installing MySQL

# yum install openssl-devel perl-DBD-MySQL mysql-server mysql-devel

Installing PHP

# yum install php php-mysql php-gd

Installing DBI modules

# yum install perl-DBI perl-DBD-MySQL

Installing RRDTools

# yum install rrdtool perl-rrdtool

Installing SNMP

# yum install perl-Crypt-DES perl-Digest-SHA1 perl-Digest-HMAC net-snmp-utils
# yum install perl-Socket6 perl-IO-Socket-INET6 net-snmp net-snmp-libs php-snmp dmidecode lm_sensors perl-Net-SNMP net-snmp-perl
SNMP Configuration

To configure SNMPD, you muste create the snmpd configuration file "snmpd.conf" in the "/etc/snmp/" directory. The snmpd file configuration must contain the snmpd community (with "public" like snmp sommunity in our example):

rocommunity public 127.0.0.1/32

Others installation

# yum install fping perl-Config-IniFiles graphviz cpp gcc gcc-c++ libstdc++ glib2-devel

Installation and PEAR configuration

Installation
# yum install php-pear
Configuration
pear channel-update pear.php.net
Using a proxy with pear
pear config-set http_proxy http://my_proxy.com:port
Personal tools