On the machine running gmetad are there
any iptables rules that may be blocking inbound UDP traffic on
port 8649.
Vladimir
On 03/17/2015 01:06 AM, Ashish Kumar9 wrote:
I would request some
inputs on below issue
.
Thanks and Regards,
Ashish Kumar
From:
Ashish Kumar9/India/IBM
To:
ganglia-general@lists.sourceforge.net
Date:
03/10/2015 01:59 PM
Subject:
Ganglia unable
to report remote client
My ganglia setup is able to
report only
one guest which is local server on which gmond and gmetad both
are installed
. It does not show up other clients inspite of proper
configurations with
gmond .
Remote gmond process is running
absolutely
fine .
Debugging done so far
1) I also verified that port 8649
are
free and not used using lsof -i tcp:8649
2) /var/log/messages do not show
any
error
3) all the processes - gmetad ,
gmond
are running fine
Please suggest steps/tips to
debug the
issue further .
Server config
gmetad.conf :
data_source "hadoopgpfs"
bigdatagpfs01
gridname "MyHadoopGPFSGrid"
setuid_username "root"
case_sensitive_hostnames 0
gmond.conf :
/* 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 = no
user = root
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
allow_extra_data = yes
host_dmax = 86400 /*secs.
Expires (removes from web interface) hosts in 1 day */
host_tmax = 20 /*secs */
cleanup_threshold = 300
/*secs
*/
gexec = no
# By default gmond will use
reverse DNS resolution when displaying your hostname
# Uncommeting following
value
will override that value.
# override_hostname =
"mywebserver.domain.com"
# If you are not using
multicast
this value should be set to something other than 0.
# Otherwise if you restart
aggregator gmond you will get empty graphs. 60 seconds is
reasonable
send_metadata_interval =
30 /*secs */
}
/*
* The cluster attributes
specified
will be used as part of the <CLUSTER>
* tag that will wrap all
hosts
collected by this instance.
*/
cluster {
name = "hadoopgpfs"
owner = "unspecified"
latlong = "unspecified"
url = ""
}
/* 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 {
#bind_hostname = yes #
Highly
recommended, soon to be default.
# This option tells gmond
to use a source address
# that resolves to the
machine's hostname. Without
# this, the metrics may
appear to come from any
# interface and the DNS
names associated with
# those IPs will be used
to create the RRDs.
#mcast_join = 10.241.0.21
host = 10.241.0.21
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
#retry_bind = true
# Size of the UDP buffer.
If you are handling lots of metrics you really
# should bump it up to e.g.
10MB or even higher.
# buffer = 10485760
}
/* 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
# If you want to gzip XML
output
# gzip_output = no
}
Client config
gmond.conf
/* 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 = root
debug_level = 0
max_udp_msg_len = 1472
mute = no
deaf = no
allow_extra_data = yes
host_dmax = 86400 /*secs.
Expires
(removes from web interface) hosts in 1 day */
host_tmax = 20 /*secs */
cleanup_threshold = 300 /*secs
*/
gexec = no
# By default gmond will use
reverse
DNS resolution when displaying your hostname
# Uncommeting following value
will override that value.
# override_hostname =
"mywebserver.domain.com"
# If you are not using
multicast
this value should be set to something other than 0.
# Otherwise if you restart
aggregator
gmond you will get empty graphs. 60 seconds is reasonable
send_metadata_interval = 30
/*secs
*/
}
/*
* The cluster attributes
specified
will be used as part of the <CLUSTER>
* tag that will wrap all hosts
collected by this instance.
*/
cluster {
name = "hadoopgpfs"
owner = "unspecified"
latlong = "unspecified"
url = ""
}
/* 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 {
#bind_hostname = yes # Highly
recommended, soon to be default.
# This option tells gmond to use
a source address
# that resolves to the machine's
hostname. Without
# this, the metrics may appear
to come from any
# interface and the DNS names
associated with
# those IPs will be used to create
the RRDs.
#mcast_join = 10.241.0.21
host = 10.241.0.21
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
#retry_bind = true
#Size of the UDP buffer. If you
are handling lots of metrics you really
#should bump it up to e.g. 10MB
or even higher.
#buffer = 10485760
}
/* 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
#If you want to gzip XML output
#gzip_output = no
}
/* Channel to receive sFlow
datagrams
*/
#udp_recv_channel {
# port = 6343
#}
\
|
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general