mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix ifName randomly defined, breaking influxdb updates (#4202)
This commit is contained in:
committed by
Neil Lathwood
parent
ec12273aa7
commit
63cdd8210d
@@ -641,6 +641,7 @@ foreach ($ports as $port) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$port_descr_type = $port['port_descr_type'];
|
$port_descr_type = $port['port_descr_type'];
|
||||||
|
$ifName = $port['ifName'];
|
||||||
$tags = compact('ifName', 'port_descr_type', 'rrd_name', 'rrd_def');
|
$tags = compact('ifName', 'port_descr_type', 'rrd_name', 'rrd_def');
|
||||||
rrdtool_data_update($device, 'ports', $tags, $fields);
|
rrdtool_data_update($device, 'ports', $tags, $fields);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user