Github user alexbb commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/425#discussion_r155040923 --- Diff: src/contrib/monitoring/check_zookeeper.py --- @@ -251,6 +256,13 @@ def _parse_stat(self, data): result['zk_znode_count'] = int(m.group(1)) continue + m = re.match('Zxid: (0x[0-9a-fA-F]+)', line) + if m is not None: + result['zk_zxid'] = int(m.group(1), 16) # convert from hex --- End diff -- Sounds good, update coming up.
---