Centreon RPM 安装

发布时间:2020-06-04 11:43:27 作者:zhlccna
来源:网络 阅读:842

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

Centreon RPM 安装

点击 next

 

Centreon RPM 安装

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

 

Centreon RPM 安装

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

 

Centreon RPM 安装

Nagios 如下图

 

Centreon RPM 安装

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

 

Centreon RPM 安装

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

选择centreon broker

 

Centreon RPM 安装

选择NDOUtils

 

Centreon RPM 安装

当所有选择匹配点击 Next

 

Centreon RPM 安装

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

 

Centreon RPM 安装

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

 

Centreon RPM 安装

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

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

 

点击Next

 

Centreon RPM 安装

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

 

Centreon RPM 安装

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

 

 

推荐阅读:
  1. 如何安装rpm命令
  2. mysql rpm 安装

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

安装 centreon rpm rp

上一篇:golang初始化数据库和redis的方法

下一篇:在Linux搭建一个DHCP+DNS服务器,并模拟访问web服务器

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》