Add uptime, workload and hardware-specs to the XML-RPC API
This commit is contained in:
@@ -108,7 +108,9 @@ class Xmlrpc extends CI_Controller {
|
|||||||
|
|
||||||
$update = array(
|
$update = array(
|
||||||
'os' => $parameters[0],
|
'os' => $parameters[0],
|
||||||
'workload' => $parameters[1],
|
'uptime' => $parameters[1],
|
||||||
|
'workload' => $parameters[3],
|
||||||
|
'hardware' => $parameters[2],
|
||||||
'last_update' => mysql_now()
|
'last_update' => mysql_now()
|
||||||
);
|
);
|
||||||
$this->server->update($server->id, $update);
|
$this->server->update($server->id, $update);
|
||||||
|
|||||||
Reference in New Issue
Block a user