Updated rrdtool_update() to use new array format

This commit is contained in:
laf
2015-08-18 16:26:55 +00:00
parent 84a0b8f676
commit 987634e463
65 changed files with 591 additions and 271 deletions

View File

@@ -109,7 +109,11 @@ if (!empty($agent_data['munin'])) {
rrdtool_create($filename, $cmd);
}
rrdtool_update($filename, 'N:'.$data['value']);
$fields = array(
'val' => $data['value'],
);
rrdtool_update($filename, $fields);
if (empty($ds_list[$ds_uniq])) {
$insert = array(