mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated rrdtool_update() to use new array format
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user