From b807fd526bbda1fc90dcd3603eb50eddb982e019 Mon Sep 17 00:00:00 2001 From: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com> Date: Mon, 7 Nov 2022 21:28:16 +0100 Subject: [PATCH] Bug - rrd_def and rrd file definition issue (#14597) rrd_dev striked again :) --- LibreNMS/Modules/Xdsl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibreNMS/Modules/Xdsl.php b/LibreNMS/Modules/Xdsl.php index cdf1e7ab14..692b4026af 100644 --- a/LibreNMS/Modules/Xdsl.php +++ b/LibreNMS/Modules/Xdsl.php @@ -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), ], [