Zookeeper Metricbeat connection failure

Hello,

I have enabled zk module in metricbeat yml file. Both are on same host. yet I am getting connection failure between the 2 as shown in Kibana. Please help. I have other modules like docker working with metricbeat.

error:
metricset.module:zookeeper @timestamp:March 17th 2017, 10:49:34.637 beat.hostname: (name removed) beat.name: beat.version:5.2.1 error:mntr command failed: connection to host 'localhost:2181' failed: dial tcp [::1]:2181: getsockopt: connection refused metricset.host:localhost:2181 metricset.name:mntr metricset.rtt:1,371 type:metricsets _id:AVrc9bW37Qa7kc61oN44 _type:metricsets

------metric beat yml file:

  • module: zookeeper
    metricsets: ["mntr"]
    enabled: true
    period: 10s
    hosts: ["localhost:2181"]

What does netstat -anp | grep 2181 show on that machine?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.