mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
Merge pull request #1715 from laf/rrdoptions
Updated rrdtool_update() to use new array format
This commit is contained in:
@@ -105,7 +105,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