在 Ganglia 中,我配置了 2 个集群。集群 A 有 2 个节点,集群 B 分别有 13 个节点。集群 B 运行良好,而集群 A 仅显示 1 个节点。另一个节点具有完全相同的 gmond.conf 文件,如下所示:
globals {
daemonize = yes
setuid = yes
user = ganglia
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
host_dmax = 0 /*secs */
cleanup_threshold = 300 /*secs */
gexec = no
send_metadata_interval = 0
}
cluster {
#name = "unspecified"
name = "rpt"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
host {
location = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = qt-dw-master
port = 8557
ttl = 1
}
/*
udp_recv_channel {
#mcast_join = 239.2.11.71
port = 8557
#bind = 239.2.11.71
#bind = qt-dw-master
}
*/
tcp_accept_channel {
port = 8557
}
qt-dw-master 上的 gmetad.conf 如下所示:
data_source "rpt" 60 rpt0:8557 rpt1-db:8557
我尝试过使用多播,但不起作用。我也想找gmond的日志文件,但是失败了。任何人都可以帮助解决这个问题吗?