我在同一台机器上安装了ganglia服务器和客户端。但是,当它完成时,没有一个节点可以在web上查看。不管是谷歌还是百度,都没有解决这个问题的办法,我需要帮助。
这是我的gmetad.conf
root@tools etc# egrep -v "^#|^$“gmetad.conf
data_source "trainor" localhost 127.0.0.1
setuid_username "apache"
rrd_rootdir "/var/lib/ganglia/rrds"
case_sensitive_hostnames 0这是我的gmond.conf:
root@tools etc# egrep -v "^#|^$“gmond.conf
globals {
user = apache
}
cluster{
name = "trainor"
owner = "apache"
latlong = "unspecified"
url = "unspecified"
}
udp_recv_channel {
port = 8649
}
tcp_accept_channel {
port = 8649
}发布于 2015-08-28 13:44:15
你有udp_send_channel套装吗?根据我的经验(3.1.7),gmond不会在TCP通道(xml reporting)上报告节点自己的状态,除非它通过UDP (原始的stats集合)接收它们。
您可以使用"gstat“连接到gmond以查看其输出内容,也可以使用netcat连接到TCP端口:
nc node1.domain.com 8649我发现这些页面最有用:
https://stackoverflow.com/questions/28272046
复制相似问题