mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Bug - rrd_def and rrd file definition issue (#14597)
rrd_dev striked again :)
This commit is contained in:
@@ -270,10 +270,10 @@ class Xdsl implements Module
|
||||
]);
|
||||
|
||||
// actual data rates
|
||||
data_update($os->getDeviceArray(), 'xdsl2LineStatusActRate', [
|
||||
data_update($os->getDeviceArray(), 'xdsl2ChStatusActDataRate', [
|
||||
'ifName' => $os->ifIndexToName($ifIndex),
|
||||
'rrd_name' => Rrd::portName($port->port_id, 'xdsl2ChStatusActDataRate'),
|
||||
'rrd_dev' => RrdDefinition::make()
|
||||
'rrd_def' => RrdDefinition::make()
|
||||
->addDataset('xtuc', 'GAUGE', 0)
|
||||
->addDataset('xtur', 'GAUGE', 0),
|
||||
], [
|
||||
|
||||
Reference in New Issue
Block a user