我刚刚安装了 Ganglia,但它只显示本地主机。似乎无论我怎么更改都不起作用。我肯定我漏掉了一些愚蠢的东西,谁能帮我一下。
/* This configuration is as close to 2.5.x default behavior as possible
The values closely match ./gmond/metric.h definitions in 2.5.x */
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 = 15
}
/* If a cluster attribute is specified, then all gmond hosts are wrapped
inside
* of a <CLUSTER> tag. If you do not specify a cluster tag, then all
<HOSTS> will
* NOT be wrapped inside of a <CLUSTER> tag. */
cluster {
name = "Production"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
/* The host section describes attributes of the host, like the location */
host {
location = "unspecified"
}
/* Feel free to specify as many udp_send_channels as you like. Gmond
used to only support having a single channel */
udp_send_channel {
# mcast_join = 239.2.11.71
Host = 10.9.23.251
# Host = 10.6.18.55
port = 8649
ttl = 1
}
udp_send_channel {
# mcast_join = 239.2.11.71
# Host = 10.9.23.251
Host = 10.9.23.14
port = 8649
# ttl = 1
}
/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel { # mcast_join = 239.2.11.71
port = 8649
#bind = 239.2.11.71
}