public function startMonitoring()
{
// what are we doing?
$log = usingLog()->startAction("tell SavageD on host '{$this->args[0]}' to start sending stats to statsd");
// where are we doing this?
$url = $this->getSavagedUrl() . "/stats/monitoring";
// make the request
usingHttp()->post($url, null, array("monitoring" => "true"));
// did it work?
$response = fromHttp()->get($url);
expectsHttpResponse($response)->hasStatusCode(200);
expectsHttpResponse($response)->hasBody('{"monitoring":true}');
// all done
$log->endAction();
}