"Stacked Switches" library does not properly parse Chassis SN causing Discovery to fail Primary/Secondary relationships and leave empty "Stack" and "Primary/Secondary" fields


Description

When running Discovery on Stacked Switches, these are not properly updating their "Stack" field or "Primary/Secondary" status in the form record, and relationships are not properly created between Primary and Secondaries.

Steps to Reproduce

Run Discovery on Cisco switches in Primary/Secondary stack configuration.

Workaround

This issue has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

If you are unable to upgrade to a fixed release, perhaps the following workaround may provide temporary relief.

Change the following condition in Step 3 of Stacked Switches (37.3 in the "Network Switch" pattern on London) from:

$entPhysicalTable1[].entPhysicalSerialNum EQUALS $cmdb_serial_number[1].serial_number

to:

$entPhysicalTable1[].entPhysicalSerialNum EQUALS $cmdb_serial_number_temp[1].serial_number

Related Problem: PRB1331554