Tagged vlans on juniper switches

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

Hiya,

Are you doing any bad interface filtering in the config.php file to remove the unit x (propVirtual) interface from monitoring? For example -

$config[‘bad_if_regexp’][] = ‘//[0-9]{1,}.[0]/’;

We found that removing the propVirtual interface (wrongly assuming it’s just doubling graphing for no benefit) would reduce load/disk use/complexity, but actually, the propVirtual interface is required for a lot of dependencies like LLDP, mapping, and VLANS, etc.

We have a lot of EX’s, and all display VLAN/port assignment just fine.

Andy

Thanks for you answer!
We don’t configure any interface filtering. Interfaces like ‘ge-0/0/0.0’ polling normal, and i see it in interface table. On your screen, there are only Untagged ports (for example Vlan103 have no ports), do you see any Tagged (trunk) ports in association with vlans? may be on another device same vendor.
Can you share config.php file (excluding private information)?

Hiya,

OK, worth asking. I’ve checked on a couple of other EX/SRX devices and see the same as your output. I’ll try to take another look.

Andy