xuke123 发表于 2019-1-26 10:16:20

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,         看到的页面如下

http://blog.运维网.com/attachment/201304/004420996.png
点击 next

http://blog.运维网.com/attachment/201304/004504752.png
如果这一步缺少软件包,安装相关软件包之后点击refresh


http://blog.运维网.com/attachment/201304/004825324.png
选择监控引擎根据选择的引擎,下一步会要求输入相关的配置路径,如果选择Centren engine 如下图

http://blog.运维网.com/attachment/201304/004838761.png
Nagios 如下图

http://blog.运维网.com/attachment/201304/004852113.png
当所有的参数填好之后点击next

http://blog.运维网.com/attachment/201304/004909865.png
根据不同的选择会需要填写相关参数
选择centreon broker

http://blog.运维网.com/attachment/201304/004929266.png
选择NDOUtils

http://blog.运维网.com/attachment/201304/004943133.png
当所有选择匹配点击 Next

http://blog.运维网.com/attachment/201304/005002211.png
填写用户名称和密码这一步确保记住密码

http://blog.运维网.com/attachment/201304/005016852.png
填写数据库信息,确保可以进行数据库的安装和连接,点击Next

http://blog.运维网.com/attachment/201304/005031305.png
数据结构将在这一步进行安装,所有通过之后显示 ok
Note: 在mysql配置文件中添加一行 innodb_file_per_table=1

点击Next

http://blog.运维网.com/attachment/201304/005045989.png
安装完成显示Finish,点击Finish按钮跳转到登陆界面

http://blog.运维网.com/attachment/201304/005058233.png
输入用户名密码,可以进入管理界面。



页: [1]
查看完整版本: Centreon RPM 安装