[
https://issues.apache.org/jira/browse/ZOOKEEPER-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456995#comment-13456995
]
elasticdarwin commented on ZOOKEEPER-799:
-----------------------------------------
There is a bug in nagios module when using 'stat' keyword
in _send_cmd method (check_zookeeper.py line 169)
< data = s.recv(2048)
---
> data = ''
> while True:
> pack = s.recv(2048)
> if len(pack) is 0:
> break
> data += pack
I'm not very familiar with python, you may rewrite this for better reading /
performance.
Thank you for your plugin~
> Add tools and recipes for monitoring as a contrib
> -------------------------------------------------
>
> Key: ZOOKEEPER-799
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-799
> Project: ZooKeeper
> Issue Type: New Feature
> Components: contrib
> Reporter: Andrei Savu
> Assignee: Andrei Savu
> Fix For: 3.4.0
>
> Attachments: monitoring.tar.gz, ZOOKEEPER-799.patch
>
>
> Tools and Recipes for Monitoring ZooKeeper using Cacti, Nagios or Ganglia.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira