BrightcoveOS/Diamond — pull request #606 by mbainter (2014-05-09 07:07:59+00:00)
Title: Fixup UnboundCollector's use of sudo and the ExampleCollector docs

The UnboundCollector appends the argument to the command, which then throws an error when using sudo because it's called as a single argument. This fixes that, as well as leveraging the find_binary helper for the relevant tools. This works for me both with sudo enabled and with it disabled, running as root or an unprivilged (other than sudo) user.

The ExampleCollector fixup is just to update the docs to give a proper minimal config for testing.