Skip to content

Instantly share code, notes, and snippets.

@stulevine
Created May 9, 2013 15:23
Show Gist options
  • Save stulevine/5548159 to your computer and use it in GitHub Desktop.
Save stulevine/5548159 to your computer and use it in GitHub Desktop.
// grab report from device(s) using dm_virtualip module
$req = array(
'device_module' => 'dm_virtualip',
'function' => 'report',
'type' => 'loadbalancer',
'device' => $device,
'loadbalancer' => 'stingray.dev.voxel.net',
'virtualip' => '7925-4119-vserver',
'start' => $request['start'],
'end' => $request['end'],
);
$report = device_module_call($req);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment