keedio / nagios-hadoop

This repository contains a collection of nagios plugins to monitor Hadoop ecosystem.
Apache License 2.0
6 stars 3 forks source link

Error when znode path to kafka brokers doesn't exists #5

Open jucaf opened 10 years ago

jucaf commented 10 years ago

In check_zookeeper_znode.py, whehn checking kafka, if znode doesn't exists it raises an exception. Should control error output and in case of doesn't exists raise apropiate alert

jucaf commented 10 years ago

The patch makes it usable, but should raise some error. This patch only stop parsing znode and returns empty structures, so in top level it raises an error because no brokers neither topics were found, and by default at least 1 of each are requires