You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Poll the CRS326's VLAN table: dot1qPvid now exists, and the drift check lost its port-map read with the MokerLink #1387
Lemmiwinks' daily drift check compared the switch's per-port VLAN (PVID) table against the port map written on its switching page. It read the table by fetching the MokerLink's vlan.cgi?page=port_vid page over HTTP, by way of morpheus. That page went with the MokerLink when the CRS326 replaced it (#444). The row has read nothing since the morning of 2026-11-07, so Lemmiwinks is retiring it (Lemmiwinks#316).
#482 asked for exactly this through SNMP and was closed because the MokerLink's agent had no Q-BRIDGE-MIB. That reason no longer holds: a v3 walk of dot1qTpFdbPort on the CRS326 returns 121 rows (PR #1303), so the switch serves Q-BRIDGE.
Ask: add these columns to the crs326 module in stacks/observability/snmp-exporter/generator.yaml:
dot1qPvid (1.3.6.1.2.1.17.7.1.4.5.1.1), and if useful, dot1qVlanStaticName (1.3.6.1.2.1.17.7.1.4.3.1.1);
dot1dBasePortIfIndex (1.3.6.1.2.1.17.1.4.1.2), so a bridge port maps onto the ifDescr names the module already stamps.
Before relying on the PVID column, confirm what RouterOS 7 reports for it under bridge VLAN filtering: whether it is the bridge port's pvid, and whether ifIndex = port + 1 carries over to bridge ports.
With that series in Prometheus, the port-map claim can return to the drift check as an ordinary query, needing no login to the switch and no credential on oracle. It would also catch, as an alert, the kind of unrecorded port move behind #481.
Deployed from main at 9754ba3 (#1396) on prometheus with make up STACK=observability on 2026-11-11. The mount check passed, and snmp-exporter and Prometheus were reloaded.
Inside the container, the exporter's crs326 module returns 24 dot1qPvid rows for 10.7.7.2, ether1–ether24, each with dot1dBasePort, dot1dBasePortIfIndex (port + 1) and ifDescr. The values match the port map: ether1 is 7, ether2–5 are 99, ether6–12 are 50, ether13–17 are 40, ether18–20 are 30, ether21–22 are 20 and ether23–24 are 10.
In Prometheus, count(dot1qPvid{instance="10.7.7.2"}) is 24 and up{instance="10.7.7.2"} is 1.
SwitchPortVlanChanged is loaded, with health ok and state inactive.
Lemmiwinks#316 can now read the port-map claim from dot1qPvid instead of retiring the row. Closing.
Activity
feat(switch): poll each CRS326 port's PVID and alert on a change (#1387…
Gerrrt commentedon Nov 11, 2026
Deployed from
mainat 9754ba3 (#1396) onprometheuswithmake up STACK=observabilityon 2026-11-11. The mount check passed, and snmp-exporter and Prometheus were reloaded.dot1qPvidrows for10.7.7.2,ether1–ether24, each withdot1dBasePort,dot1dBasePortIfIndex(port + 1) andifDescr. The values match the port map: ether1 is 7, ether2–5 are 99, ether6–12 are 50, ether13–17 are 40, ether18–20 are 30, ether21–22 are 20 and ether23–24 are 10.count(dot1qPvid{instance="10.7.7.2"})is 24 andup{instance="10.7.7.2"}is 1.SwitchPortVlanChangedis loaded, with health ok and state inactive.Lemmiwinks#316 can now read the port-map claim from
dot1qPvidinstead of retiring the row. Closing.