Open rfc1036 opened 1 month ago
This is actually a major issue for us, because the manually added ports are not working in IXP Manager.
e.g. I see the correct port name in /interfaces/physical/view/233
, but no port (only the switch name) in the "Peering Port" column of /interfaces/virtual/edit/67
.
Probably for the same reason the port SNMP target string output by ./artisan grapher:generate-configuration -B mrtg
lacks the port name.
I worked around this issue by adding this to line 385 of /srv/ixpmanager/app/Models/Switcher.php
:
if ($index == 2) continue;
I have no idea of what I am doing, but at least now SNMP works for all switches.
(Then I had to delete the manually-created interfaces, because they were duplicates of the ones found with SNMP.)
ISSUE TYPE
Bug Report
OS
Ubuntu 24.04 LTS
VERSION
ENVIRONMENT
CONFIGURATION
SUMMARY
Accessing the SNMP-related actions of some switches crashes IXP Manager.
STEPS TO REPRODUCE
Access the "View / Edit Ports" or "Live Ports State" menus or add a new switch with SNMP polling.
EXPECTED RESULTS
These actions should work as they do for other switches. They used to work in the past.
ACTUAL RESULTS
I get a 500 error for "Undefined array key 2".
After adding the new switch only the management port was detected with SNMP.
"Switches / View Switch" is reporting the current time for "Last Polled" and generally looks correct.
IMPORTANCE
Unsure: I had to manually configure the peering ports.
RELEVANT LOGS