Hi! Im having issues to view multiple links by xDP (port-channel, LAG,etc) i only see one link between devices. I have disable de ARP discovery.
Also can´t see on network map LLDP neigbhobrs links if only one device is on the databese(need to discovery both) . I tried to use the old map and it works correctly “$config[‘gui’][‘network-map’][‘style’] = ‘old’;”
Could be something wrong with this lines at /opt/librenms/html/includes/print-map.inc.php? I tried to play with "$config[‘network_map_vis_options’] = " but nothing happens.
" // Ensure only one link exists between any two ports, or any two devices. it prints only one link
if (!array_key_exists($link_id1, $link_assoc_seen) &&
!array_key_exists($link_id2, $link_assoc_seen) &&
!array_key_exists($device_id1, $device_assoc_seen) &&
!array_key_exists($device_id2, $device_assoc_seen)) {
$local_port = cleanPort($local_port);
$remote_port = cleanPort($remote_port);
// $local_port = cleanPort($items[‘local_port_id’]);
//$remote_port = cleanPort($items[‘remote_port_id’]);
$links[] = array_merge(
array(
‘from’=>$items[‘local_device_id’],
"
the LLDP neighbors from co008-pe-07
what the map shows
This is my validate:
root@XXXX:/opt/librenms# ./validate.php
Component | Version |
---|---|
LibreNMS | 1.55-52-g91ac7aff7 |
DB Schema | 2019_09_05_153524_create_notifications_attribs_index (141) |
PHP | 7.2.22-1+0~20190902.26+debian9~1.gbpd64eb7 |
MySQL | 10.1.41-MariaDB-0+deb9u1 |
RRDTool | 1.6.0 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.9.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Please let me know if you need other test or logs. And sorry for my english!
Regards!