首页 > 其他 > 详细

ganglia监控安装部署

时间:2018-02-23 14:30:37      阅读:171      评论:0      收藏:0      [点我收藏+]

安装ganglia监控

yum install epel-release

主节点:

yum -y install ganglia-gmetad

yum -y install ganglia-web

所有节点:

yum -y install ganglia-gmond

 

主节点上配置:

vi /etc/ganglia/gmetad.conf

data_source "my cluster" FlinkMaster FlinkNode1 FlinkNode2

vi /etc/httpd/conf.d/ganglia.conf

<Location /ganglia>

  Order deny,allow

  Allow from all

  # Require local

  # Require ip 10.1.2.3

  # Require host example.org

</Location>

vi /etc/httpd/conf/httpd.conf

<Directory />

    #AllowOverride none

    #Require all denied

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    allow from all

</Directory>

所有节点配置:

vi /etc/ganglia/gmond.conf

cluster {

  name = " my cluster "

  owner = "unspecified"

  latlong = "unspecified"

  url = "unspecified"

}

启动服务:

主节点:

service gmetad restart

service gmond  start

service httpd  restart

chkconfig gmetad on

chkconfig gmond on

其他节点:

service gmond  restart

chkconfig gmond on

最后通过网址访问:http://service_ip/ganglia

ganglia监控安装部署

原文:https://www.cnblogs.com/weidafei/p/8461764.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!