We have some juniper switches (ex2200, ex4200, ex4550, etc.) and we can’t see tagged vlans (on page /device/device=#/tab=vlans/) on this devices (untagged vlan working). For Cisco this feature working fine. I think, that it’s issue in poller script.
Juniper:
./validate.php
Component | Version |
---|---|
LibreNMS | 1.39-37-g5fd81db |
DB Schema | 249 |
PHP | 7.2.4-1+0~20180405085552.20+jessie~1.gbpbff9f0 |
MySQL | 5.5.59-0+deb8u1-log |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2.1 |
==================================== |
UPD:
Some problems with writing junos vlans to DB, because:
mysql> select vlan, port_id from ports_vlans left join devices on ports_vlans.device_id = devices.device_id where devices.os = “junos”;
Empty set (0.00 sec)
mysql> select device_id from devices where os = “junos”;
±----------+
| device_id |
±----------+
| 2 |
| 3 |
.
.
.
| 69 |
±----------+
44 rows in set (0.00 sec)
And for ios all ok:
mysql> select vlan, port_id from ports_vlans left join devices on ports_vlans.device_id = devices.device_id where devices.os = “ios”;
±-----±--------+
11559 rows in set (0.01 sec)
UPD2:
mysql> select vlan_name from vlans left join devices on vlans.device_id = devices.device_id where devices.os = “junos”;
.
.
.
| vlan160 |
| vlan985 |
±-------------------------------------+
2913 rows in set (0.01 sec)
So problem in association port - vlan on Junos