I started to notice my web interface hasn't updated the graph in hours. Each time I restart the gmond
process on my clients, I see that the graphs does work. I come back an hour or so later and my graph is blank, just a white graph and nothing has been updated. if I started it again, it works just fine. I'm not sure what it is.
My setup is as follows.
Client -> gmond collector -> gmeta/web host
gmetad.conf
data_source "ENG1" 10.199.1.110
data_source "ENG2" 10.199.19.100
data_source "QA" 10.199.10.200
gmond.conf from 10.199.10.200
globals {
daemonize = yes
setuid = yes
user = nobody
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
allow_extra_data = yes
host_dmax = 0 /*secs */
cleanup_threshold = 300 /*secs */
gexec = no
send_metadata_interval = 0 /*secs */
}
cluster {
name = "QA"
}
udp_send_channel {
host = 10.199.10.200
port = 8649
ttl = 1
}
udp_recv_channel {
port = 8649
}
**gmond.conf no my client files are the same as above except it doesn't have the udp_recv_channel
block defined. I forwarded the states from my client to a collector (such as 10.199.10.200), which then gets pulled by the gmeta server (10.199.1.110). This server also collects data from a group of servers defined as "ENG1."
I've been facing with this problem when Ganglia is installed on Ubuntu. According to the document, it sounds like gmond lost metadata and doesn't know what to do with the metric data. Since you're setting up Ganglia in unicast mode, you need to instruct gmond to periodically send metadata by changing
send_metadata_interval
to a non-zero value:Give it a try!
Read more:
http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_release_notes
http://sourceforge.net/apps/trac/ganglia/wiki/FAQ
Try adding:
tcp_accept_channel { port = 8649 }
I modified by config to use multi cast and it's working now!