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