prometheus 监控 zookeeper

prometeheus监控zookeeper
https://github.com/carlpett/zookeeper_exporter

install zookeeper_exporter

wget  https://github.com/carlpett/zookeeper_exporter/releases/download/v1.0.2/zookeeper_exporter && chmod +x zookeeper_exporter
mv zookeeper_exporter /usr/local/bin/
cat > /etc/systemd/system/zook_exporter.service << EOF
[Unit]
Description=zook_exporter
Documentation=https://github.com/carlpett/zookeeper_exporter
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/zookeeper_exporter
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF

默认监听localhost:2181

zookeeper_status.png

告警指标参考:
https://www.infoq.cn/article/7yGNFUU*au8AhrzFkX3z

参考:
https://blog.csdn.net/qq_25934401/article/details/84345905

你可能感兴趣的:(prometheus 监控 zookeeper)