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

Problem with Kafka version 0.8.1 or higher #7

Open jjmleiro opened 9 years ago

jjmleiro commented 9 years ago

When Apache Kafka version is 0.8.1 or higher, replace in line 33:

parser.add_argument('-K','--kafka_list_bin',action='store',default='/usr/lib/kafka/bin/kafka-list-topic.sh')

for

parser.add_argument('-K','--kafka_list_bin',action='store',default='/usr/lib/kafka/bin/kafka-topics.sh')