trying to puppetise bro -- status

The bald question is "Does broctl status return information via exit code?" I had a quick look at the code and could not figure it out.


I use puppet to maintain the configurations of my sensors, puppet will update config changes and restart jobs as appropriate. It also expects to check the status of services and will start them if they are not running. It expect a "status command" to return code ah la


If you're using the Bro 2.1 release, then the answer is "no".

This feature was added very recently (it's now in git master).
The "broctl status" command will return 0 if all bro nodes
are running, and non-zero otherwise.