Centreon RPM 安装

Centreon 安装步骤

 

参考文档连接:

http://documentation.centreon.com/docs/centreon/en/latest/installation/index.html

 

安装模式

一般来说,有三种安装方法

>二进制rpm

>源码包

>git 仓库

RPM包安装是最好的,因为不用担心 编译和安装的问题

如果你的平台不支持RPM包,可以考虑源码包,它支持稳定的版本。但是手动编译是效率很低的。

最后一种方法是提供给开发人员的测试,没有官方的支持但是他一直在发张

Centreon Web

Tarballs: http://www.centreon.com/Content-Download/donwload-centreon

git: http://git.centreon.com/centreon.git

Centreon Engine

Tarballs: http://www.centreon.com/Content-Download/download-centreon-engine-centreon

git: http://git.centreon.com/centreon-engine

 

 

Centreon Broker

Tarballs: http://www.centreon.com/Content-Download/download-centreon-broker-centreon

git: http://git.centreon.com/centreon-broker.git

Centreon Connector Perl

git: http://git.centreon.com/centreon-connector

Centreon Connector SSH

git : http://git.centreon.com/centreon-connector

 

 

 

RPM安装

RPM是为CES 制作,但是通过了 RedHat 5 Centos 5的测试

 

步骤

安装yum

$ wget http://yum.centreon.com/standard/2.2/ces-standard.repo -O /etc/yum.repos.d/ces-standard.repo

 

有两个基本的配置

Configuration package name

Monitoring Engine

Broker module

centreon-base-config-centreon-engine

Centreon Engine

Centreon Broker

centreon-base-config-nagios

Nagios

Ndoutils

 

 

从两个中选择一个

 

首先安装个 Central Server,我这里选择使用centos 6.2

 

安装 使用Centreon Engine

$ yum install centreon-base-config-centreon-engine centreon

安装出现错误

Running Transaction Test
Transaction Check Error:
  file /etc/snmp/snmptrapd.conf conflicts between attempted installs of net-snmp-1:5.5-41.el6_3.1.x86_64 and centreon-trap-2.4.0stable-13.noarch

解决办法

yum install net-snmp centreon-snmptt perl-DBD-MySQL
wget http://yum.centreon.com/standard/2.2/noarch/RPMS/centreon-trap-2.4.1-4.noarch.rpm
rpm -ivh --force centreon-trap-2.4.1-4.noarch.rpm
yum install centreon-base-config-centreon-engine centreon

安装 使用 Nagios

$ yum install centreon-base-config-nagios centreon

安装完成之后就可以进入web页面进行安装

 

web页面地址为

http://SERVER_ADDRESS/centreon

 

 

安装步骤如下

1,         看到的页面如下

点击 next

 

如果这一步缺少软件包,安装相关软件包之后点击refresh

 

选择监控引擎根据选择的引擎,下一步会要求输入相关的配置路径,如果选择Centren engine 如下图

 

Nagios 如下图

 

当所有的参数填好之后点击next

 

根据不同的选择会需要填写相关参数

选择centreon broker

 

选择NDOUtils

 

当所有选择匹配点击 Next

 

填写用户名称和密码这一步确保记住密码

 

填写数据库信息,确保可以进行数据库的安装和连接,点击Next

 

数据结构将在这一步进行安装,所有通过之后显示 ok

Note: mysql配置文件中添加一行  innodb_file_per_table=1

 

点击Next

 

安装完成显示Finish,点击Finish按钮跳转到登陆界面

 

输入用户名密码,可以进入管理界面。

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章