如何在CentOS 8/RHEL 8上配置新的Relic Server监视

时间:2020-03-21 11:43:00  来源:igfitidea点击:

新的Relic Server监视软件具有Web托管中最流行的监视软件。
托管将其用于资源监视,网络监视,最重要的是,它通过使用其丰富的图形界面提供光盘监视,从而提供实时系统监视服务。
它的功能使该软件在托管行业中很受欢迎。
本教程显示了如何在各自的企业Linux版本上设置新的Relic服务器监控。

第1步(注册新的Relic Free帐户)

首先,我们可以注册新的Relic Free帐户
注册后登录后登录到根帐户

$su 
 Password:
步骤2(启用新的文物存储库)
# rpm -ivh https://download.newrelic.com/pub/newrelic/el7/x86_64/newrelic-netcore20-agent-8.9.130.0-1.x86_64.rpm

其次安装新的Relic软件包

# yum install newrelic-sysmond
步骤3(如何获取和找到免费的许可证密钥)

然后打开Internet浏览器并转到

之后,点击头像并转到“帐户设置”,我们将找到许可证密钥,最后注意进行进一步的操作。

最后设置新文物许可证密钥

# nrsysmond-config --set license_key=<YOUR-UNIQUE-LICENSE-KEY>
步骤4(检查许可证密钥以进行验证)
# cat /etc/newrelic/nrsysmond.cfg

输出示例

## New Relic Server Monitor configuration file.
## Lines that begin with a # are comment lines and are ignored by the server
# monitor. For those options that have command line equivalents, if the
# option is specified on the command line it will over-ride any value set
# in this file.# Option : license_key
# Value  : 40-character hexadecimal string provided by New Relic. This is
#          required in order for the server monitor to start.
# Default: none
#license_key=<YOUR-UNIQUE-LICENSE-KEY>

启动新的Relic守护程序

[root@theitroad ~]# systemctl start newrelic-sysmond

输出示例

Starting newrelic-sysmond (via systemctl):                 [  OK  ]
步骤5(检查新的Relic Server监视软件是否正在运行)

打开Internet浏览器,我们将在Internet浏览器上看到“ Web”面板
资源监控面板

过程监控面板

网络监控面板

磁盘监控面板

现在我们已在CentOS和RHEL上配置了新的文物服务器监视。