alexus
February 9, 2018, 10:41pm
1
I'm using latest Metricbeat and trying to collect data from rabbitmq, yet see nothing via Kibana...
# cat /etc/metricbeat/modules.d/rabbitmq.yml
- module: rabbitmq
metricsets: ["node", "queue"]
period: 10s
hosts: ["0.0.0.0:15672"]
username: guest
password: guest
# netstat -nat | grep 15672
tcp6 0 0 :::15672 :::* LISTEN
#
tudor
(Tudor Golubenco)
February 12, 2018, 10:36am
2
The hosts line looks wrong, it should be a non-zero IP address, probably 127.0.0.1:15672.
alexus
February 13, 2018, 3:58am
3
@tudor sorry, 0.0.0.0 - Wikipedia IS valid address, rabbitmq is not listening on 127.0.0.1, yet per netstat, it listens on 0.0.0.0.
to prove my point, my redis is configured similar to rabbitmq and metricbeat IS able to collect data without any issues:
# ls r*.yml
rabbitmq.yml redis.yml
# grep hosts: r*
rabbitmq.yml: hosts: ["0.0.0.0:15672"]
redis.yml: hosts: ["0.0.0.0:6379"]
#
system
(system)
Closed
March 13, 2018, 3:58am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.