Hello,
PR #9546 has resulted in Platform being detected as Juniper Virtual Chassis Switch
when a set of devices is stacked. Hence, no more possibility to see whether it is for example an EX2300 or EX3400 virtual-chassis.
What do we think about modifying if (!empty($boxDescr))
to become if (!empty($boxDescr) && ($boxDescr != "Juniper Virtual Chassis Switch"))
in includes/polling/os/junos.inc.php
so that we restore the previous functionality? It’s possible to build a virtual-chassis of multiple switch models, but only for higher end hardware:
Example:
mschmidt@nlrtm1-librenms1:~$ snmpwalk -v2c -cremoved -m JUNIPER-MIB -M /opt/librenms/mibs hostname jnxBoxDescr
JUNIPER-MIB::jnxBoxDescr.0 = STRING: Juniper Virtual Chassis Switch