有人建议我们尝试使用Ganglia作为集群的监控工具。
安装相当顺利,但我在gmond和gmetad之间的连接有问题。元节点只能看到(在web上)本地gmond主机(自身)。
gmetad的配置(10.45.11.26是gmetad localhost):
data_source "hbase" 10.45.11.26gmond的配置(10.45.11.27是gmond localhost):
cluster {
name = "hbase"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
host=10.45.11.26
port = 8649
ttl = 1
}
udp_recv_channel {
port = 8649
bind = 10.45.11.27
}
tcp_accept_channel {
port = 8649
}从端口8649上的gmetad到gmond的Telnet返回xml。我可以看到来自gmetad节点上的gmond的udp流量(tcpdump)
我错过了什么?
发布于 2012-08-23 17:44:06
我不知道你是否还需要帮助,但它可以帮助你添加
globals {
(......)
send_metadata_interval = 60 /*gmond heartbeats in secs */
}在gmond.conf中
在这种情况下,您可能需要在节点启动后等待60秒才能看到它。
https://stackoverflow.com/questions/9902964
复制相似问题