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