You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi All,
I was able to send ganglia metrics to logstash when I configure and start both gmond.conf and gmetad.conf daemons. Now what I want is to configure the gmond.conf daemon ONLY to send metrics to logstash. That is I'm looking for a mean to send ganglia metrics to logstash when gmetad.conf is not started.
In the first, I had configured gmetad.conf and gmond.conf as follows:
In gmetad.conf
case_sensitive_hostnames 0
data_source "my cluster" 60 localhost
In gmond.conf
cluster {
name = "my cluster"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = address_of_logstash_server
port = 8649
ttl = 1
}
tcp_accept_channel {
port = 8649
}
I then restart all the daemons and configured logstash appropriately. By so doing, ganglia metrics where been collected by logstash.
Next I wanted to send my ganglia metrics without starting gmetad.conf. That is directly sending metrics to logstash without passing through gmetad.conf. I have given a try as in the configuration below.
In gmond.conf
cluster {
name = "unspecified"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = address_of_logstash_server
port = 8649
ttl = 1
}
tcp_accept_channel {
host = address_of_logstash_server
port = 8649
}
After stopping the gmetad.conf daemons I had nothing been displayed by logstash. Where am I going wrong.
Any helps will be welcoming.
Thanks.
The text was updated successfully, but these errors were encountered:
berrytchaks
changed the title
Sendin
Sending system metrics to logstash without starting gmetad.conf daemons
Feb 1, 2016
Thanks anyway. But nevertheless I manage to get it work.
The trick was to remove the host attribute in the tag tcp_accept_channel and change the cluster name to "unspecified".
ie
tcp_accept_channel {
port = 8649
}
and
cluster {
name = "unspecified"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
Hope this helps somebody in the future!!!
Hi All,
I was able to send ganglia metrics to logstash when I configure and start both gmond.conf and gmetad.conf daemons. Now what I want is to configure the gmond.conf daemon ONLY to send metrics to logstash. That is I'm looking for a mean to send ganglia metrics to logstash when gmetad.conf is not started.
In the first, I had configured gmetad.conf and gmond.conf as follows:
In gmetad.conf
case_sensitive_hostnames 0
data_source "my cluster" 60 localhost
In gmond.conf
cluster {
name = "my cluster"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = address_of_logstash_server
port = 8649
ttl = 1
}
tcp_accept_channel {
port = 8649
}
I then restart all the daemons and configured logstash appropriately. By so doing, ganglia metrics where been collected by logstash.
Next I wanted to send my ganglia metrics without starting gmetad.conf. That is directly sending metrics to logstash without passing through gmetad.conf. I have given a try as in the configuration below.
In gmond.conf
cluster {
name = "unspecified"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = address_of_logstash_server
port = 8649
ttl = 1
}
tcp_accept_channel {
host = address_of_logstash_server
port = 8649
}
After stopping the gmetad.conf daemons I had nothing been displayed by logstash. Where am I going wrong.
Any helps will be welcoming.
Thanks.
The text was updated successfully, but these errors were encountered: