前言

Centreon是一款功能强大的分布式IT监控系统,它通过第三方组件可以实现对网络、操作系统和应用程序的监控:首先,它是开源的,我们可以免费使用它;其次,它的底层采用nagios作为监控软件,同时nagios通过ndoutil模块将监控到的数据定时写入数据库中,而Centreon实时从数据库读取该数据并通过Web界面展现监控数据;,最后,我们可以通过Centreon管理和配置nagios,或者说Centreon就是nagios的一个管理配置工具,通过Centreon提供的Web配置界面,可以轻松完成nagios的各种繁琐配置。

此外,Centreon还支持NRPE、SNMP、NSClient等插件,可以通过这些插件构建分布式的监控报警系统。

jnotify 监控_jnotify 监控

 

Centreon 下载

Release

         Date

     Platform

       Doc

  download 迅雷bittorrent

20.04

   2020年4月23日

ISO Installation (CD/DVD)

   参考文档

           download

20.04

   2020年4月23日

VMWare Virtual Machine (OVA)

   参考文档

           download

 

启动服务器安装

要安装Centreon,请从版本7的Centreon ISO映像启动服务器。使用Install CentOS 7启动

jnotify 监控_ios_02

选择语言

jnotify 监控_ios_03

选择类型

jnotify 监控_ios_04

  • Central with database: Install Centreon (web interface and database), monitoring engine and Broker.
  • Central without database: Install Centreon (web interface only), monitoring engine and Broker.
  • Poller: Install poller (monitoring engine and Broker only).
  • Database: Install database server (if you have already installed a Central server without a database option).

jnotify 监控_数据库_05

设置时区

磁盘分区

jnotify 监控_数据_06

选择硬盘驱动器,然后选择“ 我将配置分区”选项。然后点击完成

jnotify 监控_ios_07

 系统分区设置

文件系统

尺寸

swap

至少2 GB

/

至少20 GB

/ boot

至少1 GB

/ var / log

至少10 GB

/ var / lib / mysql

至少5 GB

/ var / lib / centreon

至少20 GB

/ var / lib / centreon-broker

至少5 GB

/ var / cache / centreon / backup

至少10 GB(每天导出备份并删除导出的数据)

 

 

jnotify 监控_ios_08

单击接受更改以验证分区

jnotify 监控_jnotify 监控_09

网络设置

 

jnotify 监控_数据库_10

jnotify 监控_ios_11

配置完成,开始安装

jnotify 监控_jnotify 监控_12

配置root密码

jnotify 监控_jnotify 监控_13

jnotify 监控_数据_14

等待安装完成

jnotify 监控_jnotify 监控_15

安装完成后,点击Reboot

jnotify 监控_ios_16

要使服务在系统启动期间自动启动

systemctl enable rh-php72-php-fpm httpd24-httpd mariadb centreon cbd centengine gorgoned snmptrapd centreontrapd snmpd

网页安装

通过URL http:// <IP> / centreon登录到Centreon Web界面。

显示Centreon设置向导。点击下一步

jnotify 监控_数据库_17

检查所需的模块和先决条件。

他们必须都感到满意。完成必要的纠正措施后,单击“ 刷新”

然后点击下一步

jnotify 监控_ios_18

定义监视引擎使用的路径。我们建议使用默认值。

然后点击下一步

jnotify 监控_ios_19

定义代理模块使用的路径。我们建议使用默认值。

然后点击下一步

jnotify 监控_jnotify 监控_20

定义用于创建管理员帐户的信息。

然后点击下一步

jnotify 监控_数据_21

提供信息以连接到数据库实例。

默认情况下,实例地址设置为localhost,实例根用户设置为root,且根密码为空。

如果您使用远程数据库服务器或特定的root用户,请更改这些条目

然后定义将要创建的数据库名称和凭据。我们建议使用默认值。

Centreon数据库的用户密码应该是此处自定义的唯一参数。

然后点击下一步

jnotify 监控_jnotify 监控_22

Centreon安装向导将创建配置文件和数据库结构。

完成后,单击“ 下一步”

jnotify 监控_数据_23

选择可用的模块和要安装的小部件。

然后点击安装

jnotify 监控_数据库_24

完成安装

jnotify 监控_ios_25

此时,广告将通知您有关Centreon的最新新闻和产品。

如果您的平台已连接到Internet,则您收到的信息将是最新的。

如果您不在线,则仅显示有关当前版本的信息。

jnotify 监控_数据库_26

安装完成。点击完成

您现在可以登录。

用户 admin 密码配置的

jnotify 监控_ios_27

监控初始化

To start the monitoring processes:

  • From your web interface, go to Configuration > Pollers,
  • Select Central poller from the listing and click on Export configuration,
  • Check Move Export Files in addition to default selection and click on Export,
  • Log on to the Central server,

启动/重新启动收集过程 重新启动任务管理器

systemctl restart cbd centengine && systemctl restart gorgoned

启动监视服务

systemctl start snmptrapd centreontrapd && systemctl start snmpd

安装可用的扩展

转到Administration > Extensions > Manager菜单,然后单击 全部安装

jnotify 监控_数据_28