beardog 发表于 2016-3-28 16:26:30

zabbix监控zookeeper

大家好
    有Zabbix监控zookeeper的模板,脚本和agent端的配置文件吗?

cheng029 发表于 2016-3-28 17:49:51

拿走不谢。 https://github.com/zhujinhe/zookeeper-zabbix-template

cheng029 发表于 2016-3-28 17:51:47



Description:The ZooKeeper service can be monitored in one of two primary ways;1) the command port through the use of 4 letter words2) JMX. See the appropriate section for your environment/requirements.
[*]zookeeper命令行模式结合telnet或者nc:http://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html#sc_zkCommands
[*]通过JMX监控zookeeper:http://zookeeper.apache.org/doc/r3.4.6/zookeeperJMX.html
模板使用方法:Monitoring zookeeper remotely on zabbix server.1.upload getZookeeperInfo.py to externalscripts folder. A chmod/chown to get execution permission is necessary.2.import the template and linked to the host.MacrosYou don't need to modify the template if you are using the standard port to access to the zookeeper (port 2181). If you need a different zookeeper port for the monitor, you will need to modify the {$ZOOKEEPERPORT} macro.TriggersThere are 2 trigger to detect zookeeper port issues.GraphsThere is a graph of zookeeper received packets and sended packets.

cheng029 发表于 2016-3-28 17:52:38

还有这个,两个都可以。
https://github.com/flaviotorres/zabbix

beardog 发表于 2016-4-5 10:49:25

感谢,很好用
页: [1]
查看完整版本: zabbix监控zookeeper