Closed
Description
Directions
Bug report
Enable the input only with [[inputs.zookeeper]]
doesn't collect any statistics
Relevant telegraf.conf:
[[inputs.zookeeper]]
System info:
Centos 7.3, telegraf 1.2.1
Steps to reproduce:
telegraf --test --config /etc/telegraf/telegraf.conf --config-directory /etc/telegraf/telegraf.d --input-filter zookeeper
Expected behavior:
Input to provide collection for zookeeper on localhost when there is no servers
specified.
Actual behavior:
[root@zookeeper01~]# telegraf --test --config /etc/telegraf/telegraf.conf --config-directory /etc/telegraf/telegraf.d --input-filter zookeeper
* Plugin: inputs.zookeeper, Collection 1
Additional info:
Proposal:
Current behavior:
According to documentation (at least the way I read it), servers
parameter seems optional and would use localhost:2181.
Desired behavior:
With simple input configured, zookeeper collection would start on localhost. This is what most input plugins works.
Use case: [Why is this important (helps with prioritizing requests)]
Workaround is fairly easy, specify servers = [":2181"]
Activity