Hello LibreNMS Community,
I’m having issues with VLAN discovery on some of my MikroTik RouterOS switches in LibreNMS. Specifically, VLANs are correctly detected and displayed for a CRS518-16XS-2XQ (RouterOS 7.16.1, License Level 6), but not for a CRS354-48P-4S+2Q+ (RouterOS 7.16.1, License Level 5) or a CRS328-24P-4S+ (RouterOS 7.19.4, License Level 5). I’ve followed the same configuration steps for all devices as per the official LibreNMS RouterOS documentation https://docs.librenms.org/Support/Device-Notes/Routeros/.
Problem Description:
-
On the CRS518, VLANs are correctly discovered and shown in the device’s VLANs tab and under port details.
-
On the CRS354 and CRS328, VLANs are not displayed in the VLANs tab, and port details either show no VLANs or incorrect assignments (e.g., all ports as “untagged” or empty VLAN lists).
-
Force rediscovery (-f) and polling (-p) via ./discovery.php and ./poller.php did not resolve the issue.
My Setup:
-
Devices and Firmware:
-
CRS518-16XS-2XQ: RouterOS 7.16.1 (Level 6) – VLAN discovery works
-
CRS354-48P-4S+2Q+: RouterOS 7.16.1 (Level 5) – VLAN discovery fails
-
CRS328-24P-4S+: RouterOS 7.19.4 (Level 5) – VLAN discovery fails
-
/opt/librenms $ ./validate.php
| Component | Version |
|---|---|
| LibreNMS | 25.8.0 (2025-08-20T19:11:01+02:00) |
| DB Schema | 2025_07_29_025425_hr_device_table_add_type_default (353) |
| PHP | 8.3.24 |
| Python | 3.12.11 |
| Database | MariaDB 10.11.13-MariaDB-ubu2204 |
| RRDTool | 1.9.0 |
| SNMP | 5.9.4 |
| =========================================== |
[OK] Installed from the official Docker image; no Composer required
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] No python wrapper pollers found
[OK] Redis is functional
[OK] rrd_dir is writable
[OK] rrdtool version ok
[WARN] Updates are managed through the official Docker image