Skip to content

Instantly share code, notes, and snippets.

@jkrell
jkrell / check_solr_cloud.py
Created September 12, 2013 13:02
A simple python script for checking status of a SolrCloud instance using Nagios
#!/usr/bin/python2.7
"""
check_solr_cloud.py
Nagios plugin for checking the status of a SolrCloud instance by
examining the clusterstate.json file on zookeeper.
Usage:
check_solr_cloud.py --zkhosts=<zookeeper hosts> --collection=<collection>