racker/virgo — pull request #206 by Kami (2012-09-26 22:57:55+00:00)
Title: Add a ZooKeeper check and tests.

This branch adds support for a native ZooKeeper check.

I wasn't exactly sure what to do if a number of returned metrics is 0 / response is empty. This condition could mean one of the following:

* User is running ZooKeeper < 3.4.0 which doesn't support `mntr` command
* Check is hitting some other TCP server which simply closes the connection

We should probably set state to `unavailable ` and set the error message, but I'm not sure what exactly the error message should say.