package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Packages

Package mntr fetches metrics from ZooKeeper by using the mntr command which was added to ZooKeeper in version 3.4.0.
Package server fetches metrics from ZooKeeper by using the srvr command See the srvr command documentation at https://zookeeper.apache.org/doc/current/zookeeperAdmin.html ZooKeeper srvr Command Output $ echo srvr | nc localhost 2181 Zookeeper version: 3.4.13-2d71af4dbe22557fda74f9a9b4309b15a7487f03, built on 06/29/2018 04:05 GMT Latency min/avg/max: 1/2/3 Received: 46 Sent: 45 Connections: 1 Outstanding: 0 Zxid: 0x700601132 Mode: standalone Node count: 4 Proposal sizes last/min/max: -3/-999/-1 */.

# Functions

AssetZookeeper returns asset data.
RunCommand establishes a TCP connection the ZooKeeper command port that accepts the four-letter ZooKeeper commands and sends the given command.
ServerID requests the server id to the Zookeper server.