Hi everyone, I'm working with Ganglia, great tool by the way! I'm trying to make this topology<https://docs.google.com/drawings/d/1FGKIowyQdG9hBTTiBWpSqrVdswTPg0ZON-qLvCC056s/edit?usp=sharing>, with some nodes running *centOS 6.4, centOS 5.9. * So for this I'm trying this configuration for GMetad (the rest is default): ########################################################################## Head Monitor Cluster (GMetad + Gmond > mute no > deaf no + GWeb ) | centOS 6.4 (desktop) ########################################################################## data_source "head monitor clusters" 10 192.168.1.100 # 192.168.1.100 == localhost data_source "monitor cluster" 10 192.168.1.51:8649 gridname "Company" authority "http://192.168.1.100/ganglia/"
##########################################################################
Monitor Cluster (GMond > mute no > deaf no ) | centOS 6.4 (minimal)
##########################################################################
globals {
daemonize = yes
setuid = yes
user = ganglia
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
allow_extra_data = yes
host_dmax = 86400 /*secs */
cleanup_threshold = 300 /*secs */
gexec = no
send_metadata_interval = 5 /*secs */
}
cluster {
name = "Monitor"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
/* The host section describes attributes of the host, like the location */
host {
location = "unspecified"
}
udp_send_channel {
host = 192.168.1.51 # send the data collect to itself
port = 8649
ttl = 1
}
udp_send_channel {
host = 192.168.1.100 #send the data to
port = 8649
ttl = 1
}
/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
port = 8649
}
/* You can specify as many tcp_accept_channels as you like to share
an xml description of the state of the cluster */
tcp_accept_channel {
port = 8649
}
##########################################################################
Node (Gmond > mute no > deaf yes ) | centOS 5.9 (minimal)
##########################################################################
/* 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 = yes
host_dmax = 86400 /*secs */
cleanup_threshold = 300 /*secs */
gexec = no
}
cluster {
name = "Monitor"
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 {
host=192.168.1.51 #send to monitor cluster
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
}
/* You can specify as many tcp_accept_channels as you like to share
an xml description of the state of the cluster */
tcp_accept_channel {
port = 8649
}
And that's it.
But this configuration it's not working, I already setup 9 virtual machines
to make this work out, but nothing so far.
I disabled iptables, ip6tables and selinux. I'm working on this for 3 day
and night and nothing seems to work..
I would like some help in this, please, please, I beg for help. I really
don't understand why this configuration ain't working, after read so many
tutorials and O'Reilly book about Ganglia.
Any idea ? Or help ?
And yes, if I do :
from 192.168.1.100 8649
telnet 192.168.100 8649, the whole data collected is
displayed.<http://pastebin.com/NxrWPkEy>
The same thing to 192.168.1.51, from 192.168.1.100, but this one do not
display in the Ganglia Web.
The charts, of it, are always *-nan.
*
Any idea ? Thank you!
--
Atenciosamente,
[image: movile logo] <http://www.movile.com/>Valter Silva
Analista de Infraestrutura
Tel: +55 19. 9122-1822
Skype: valter.silva.movile
[email protected]
[image: Movile Facebook] <http://facebook.com/movile>[image: Movile
Twitter]<http://www.twitter.com/movile>[image:
Movile LinkedIn] <http://www.linkedin.com/company/movile>[image: Movile
Pinterest] <http://www.pinterest.com/movile>[image: Movile Great Place to
Work 2012]
[image: Enviroment responsibility]
<<linkedin.png>>
<<facebook.png>>
<<twitter.png>>
<<environment.gif>>
<<great-places-to-work.png>>
<<pinterest.png>>
<<logo.gif>>
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________ Ganglia-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-developers
