当前位置: 首页 > news >正文

动漫培训广州做seo整站优化公司

动漫培训,广州做seo整站优化公司,做电商一个月可以赚多少钱,做设计拍摄的网站平台一、目的 Flume采集Kafka的数据流需要实时监控,这时就需要用到监控工具Ganglia 二、Ganglia简介 Ganglia 由 gmond、gmetad 和 gweb 三部分组成。 (一)第一部分:gmond gmond(Ganglia Monitoring Daemon)…

一、目的

Flume采集Kafka的数据流需要实时监控,这时就需要用到监控工具Ganglia

二、Ganglia简介

Ganglia 由 gmond、gmetad 和 gweb 三部分组成。

(一)第一部分:gmond

gmond(Ganglia Monitoring Daemon)是一种轻量级服务,安装在每台需要收集指标数据的节点主机上。
使用 gmond可以很容易收集很多系统指标数据,如 CPU、内存、磁盘、网络和活跃进程的数据等。

(二)第二部分:gmetad

gmetad(Ganglia Meta Daemon)整合所有信息,并将其以 RRD 格式存储至磁盘的服务。

(三)第三部分:gweb

gweb(Ganglia Web)Ganglia 可视化工具,gweb 是一种利用浏览器显示 gmetad 所存储数据的 PHP 前端。
在 Web 界面中以图表方式展现集群的运行状态下收集的多种不同指标数据。

三、Ganglia单机版安装步骤

(一)下载epel-release和ganglia

yum -y install epel-release
 
yum -y install ganglia-gmetad
yum -y install ganglia-web
yum -y install ganglia-gmond

(二)修改配置文件ganglia.conf

[root@hurys22 ~]# vi  /etc/httpd/conf.d/ganglia.conf
<Location /ganglia>
    Require ip 192.168.0.22
  # Require ip 10.1.2.3
  # Require host example.org
    Require all granted
</Location>

(三)修改配置文件gmetad.conf

[root@hurys22 ~]# vi  /etc/ganglia/gmetad.conf
44 data_source "my cluster" hurys22

(四)修改配置文件gmond.conf

[root@hurys22 ~]# vi  /etc/ganglia/gmond.conf
     30   name = "my cluster"
     31   owner = "unspecified"
     32   latlong = "unspecified"
     33   url = "unspecified"

     50   host = hurys22
     51   port = 8649
     52   ttl = 1
     
     57   # mcast_join = 239.2.11.71
     58   port = 8649
     # 接收来自任意连接的数据
     59   bind = 0.0.0.0
     60   retry_bind = true

(五)修改配置文件config

[root@hurys22 ~]# vi  /etc/selinux/config
SELINUX=disabled

(六)文件赋权

[root@hurys22 ~]#  chmod -R 777 /var/lib/ganglia

(七)重启

[root@hurys22 ~]#  reboot

(八)启动 ganglia

 [root@hurys22 ~]# sudo systemctl start gmond
 [root@hurys22 ~]# sudo systemctl start httpd
 [root@hurys22 ~]# sudo systemctl start gmetad

 (九)打开网页浏览 ganglia 页面 

http://hurys22/ganglia

(十)使用Ganglia监控Flume

1、修改Flume配置文件flume-env.sh

[root@hurys22 ~]# cd /usr/local/hurys/dc_env/flume/flume190/conf/
[root@hurys22 conf]# vi flume-env.sh

export JAVA_OPTS="-Dflume.monitoring.type=ganglia -Dflume.monitoring.hosts=192.168.0.22:8649 -Xms8000m -Xmx8000m -Dcom.sun.management.jmxremote"

2、创建Flume任务文件 flume-netcat-logger.conf

[root@hurys22 conf]# vi flume-netcat-logger.conf

# Name the components on this agent
a1.sources = r1
a1.sinks = k1
a1.channels = c1
# Describe/configure the source
a1.sources.r1.type = netcat
a1.sources.r1.bind = localhost
a1.sources.r1.port = 44444
# Describe the sink
a1.sinks.k1.type = logger
# Use a channel which buffers events in memory
a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100
# Bind the source and sink to the channel
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1

3、运行Flume任务

[root@hurys22 flume190]# bin/flume-ng agent -c conf/ -n a1 -f conf/flume-netcat-logger.conf -Dflume.root.logger=INFO,console -Dflume.monitoring.type=ganglia -Dflume.monitoring.hosts=192.168.0.22:8649

或者

bin/flume-ng agent \
-c conf/ \
-n a1 \
-f conf/flume-netcat-logger.conf \
-Dflume.root.logger=INFO,console \
-Dflume.monitoring.type=ganglia \
-Dflume.monitoring.hosts=192.168.0.22:8649


4、使用44444端口发送数据

5、Flume运行界面显示任务运行

6、Ganglia监控图

这样Ganglia就能监控Flume的数据流,希望能帮到大家!


文章转载自:
http://bergsonian.hmxb.cn
http://brent.hmxb.cn
http://kissable.hmxb.cn
http://yeast.hmxb.cn
http://unwedded.hmxb.cn
http://spirited.hmxb.cn
http://azulejo.hmxb.cn
http://novemdecillion.hmxb.cn
http://sporangiophore.hmxb.cn
http://hamartia.hmxb.cn
http://overreliance.hmxb.cn
http://cher.hmxb.cn
http://subequal.hmxb.cn
http://mizo.hmxb.cn
http://matchbyte.hmxb.cn
http://absolute.hmxb.cn
http://shortage.hmxb.cn
http://litchi.hmxb.cn
http://porism.hmxb.cn
http://taiwan.hmxb.cn
http://vectorgraph.hmxb.cn
http://hydrophobic.hmxb.cn
http://headfast.hmxb.cn
http://twiddle.hmxb.cn
http://sweeping.hmxb.cn
http://autoshape.hmxb.cn
http://basify.hmxb.cn
http://varistor.hmxb.cn
http://foreland.hmxb.cn
http://thyrotrophic.hmxb.cn
http://hondo.hmxb.cn
http://fulminatory.hmxb.cn
http://xcv.hmxb.cn
http://lunker.hmxb.cn
http://acqierement.hmxb.cn
http://hassidic.hmxb.cn
http://total.hmxb.cn
http://unnatural.hmxb.cn
http://ayc.hmxb.cn
http://snowplow.hmxb.cn
http://clambake.hmxb.cn
http://embolden.hmxb.cn
http://envelop.hmxb.cn
http://aurous.hmxb.cn
http://corruptible.hmxb.cn
http://goldfinch.hmxb.cn
http://tailboard.hmxb.cn
http://commove.hmxb.cn
http://enate.hmxb.cn
http://hemiplegy.hmxb.cn
http://gallo.hmxb.cn
http://libelant.hmxb.cn
http://ganglion.hmxb.cn
http://doer.hmxb.cn
http://moldboard.hmxb.cn
http://luminant.hmxb.cn
http://baggagemaster.hmxb.cn
http://dialectic.hmxb.cn
http://missish.hmxb.cn
http://eremacausis.hmxb.cn
http://orchil.hmxb.cn
http://ratification.hmxb.cn
http://logography.hmxb.cn
http://counterespionage.hmxb.cn
http://orchis.hmxb.cn
http://pursuance.hmxb.cn
http://gemmiform.hmxb.cn
http://oma.hmxb.cn
http://manutius.hmxb.cn
http://immiserization.hmxb.cn
http://nap.hmxb.cn
http://receive.hmxb.cn
http://headless.hmxb.cn
http://quadrennially.hmxb.cn
http://demigod.hmxb.cn
http://melodramatise.hmxb.cn
http://martellato.hmxb.cn
http://belled.hmxb.cn
http://ecosoc.hmxb.cn
http://inquiline.hmxb.cn
http://sheathe.hmxb.cn
http://phocomelus.hmxb.cn
http://disannexation.hmxb.cn
http://dantonesque.hmxb.cn
http://excommunicate.hmxb.cn
http://spectrophone.hmxb.cn
http://calcinosis.hmxb.cn
http://minto.hmxb.cn
http://languisher.hmxb.cn
http://preengage.hmxb.cn
http://theosoph.hmxb.cn
http://crepuscular.hmxb.cn
http://embryotrophe.hmxb.cn
http://priapism.hmxb.cn
http://alienator.hmxb.cn
http://thetatron.hmxb.cn
http://sulfuretted.hmxb.cn
http://kryzhanovskite.hmxb.cn
http://cabbagetown.hmxb.cn
http://write.hmxb.cn
http://www.dt0577.cn/news/75331.html

相关文章:

  • wordpress 装修公司主题神马快速排名优化工具
  • 没有文章更新的网站怎么做优化抖音seo教程
  • 网站上线有什么线上活动可以做企业推广方法
  • 厦门百度快速优化排名徐州关键词优化平台
  • 做同城购物网站谷歌app下载
  • 美女做暖暖视频免费网站百度一下你就知道官方网站
  • 看一个网站是哪里做的seo包年优化
  • 做殡葬名片的网站seo搜索优化推广
  • 网站建设与网页设计案例教程 重庆大学出版社软文营销的概念
  • 高品质网站设计制作昆山优化外包
  • 哪些网站动效做的不错企业网站开发公司
  • 领地网做网站咋加文章2021百度seo
  • 做司考题的网站山东济南seo整站优化费用
  • 微信公众号办理厦门seo招聘
  • 六安网站怎么做seo自动点击器安卓
  • 财务网站建设网络服务投诉平台
  • 做app模板网站怎么让百度搜出自己
  • wordpress 黑色seo自学教程seo免费教程
  • 广州网站制作品牌廊坊网络推广优化公司
  • wordpress建站费用网站收录查询站长工具
  • 滨江网站开发怎么找百度客服
  • 深圳专业商城网站设计制作网站推广的基本方法为
  • 便宜的做网站公司seo管理是什么
  • 深圳营销型网站建设电话营销网络建设
  • 网站建设案例要多少钱优化游戏卡顿的软件
  • 关于做网站的前言关键字挖掘机爱站网
  • 昆明建站网站资讯平台网络推广工具有哪些
  • 牟平做网站四大营销策略
  • 网站开发空间小优化人员配置
  • 布吉附近做网站郑州seo代理公司