Notifications

417 views

Description

When Running discovery pattern "Network Switch" or "Network Router", the pattern fails at step:

"If vtpVlanTable not available, try vmMembershipSummaryTable"

 

with error below:

2018-09-10 23:26:45: JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-If vtpVlanTable not available, try vmMembershipSummaryTable' at line 2

1: var rtrn = '';
==> 2: rtrn = vtpVlanTable___instanceID.replace(/\./,'');
. JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-If vtpVlanTable not available, try vmMembershipSummaryTable' at line 2

1: var rtrn = '';
==> 2: rtrn = vtpVlanTable___instanceID.replace(/\./,'');

 

 

Steps to Reproduce

Run discovery to a switch / router that has VLAN information

Workaround

  1.  Open Network Switch pattern > Expand Step 33. SNMP - Switch - Vlan
  2. Open step 33.14. If vtpVlanTable not available, try vmMembershipSummaryTable
  3. Click on the Edit button next to the Value field
  4. Change vtpVlanTable to vmMembershipSummaryTable

Final content should be:

var rtrn = '';
rtrn = ${vmMembershipSummaryTable[].instanceID}.replace(/\./,'');
 
Click on the blue Save button at the top, select With libraries, so it will fix all patterns that calls this library, including Network Router pattern.

Related Problem: PRB1303015

Seen In

There is no data to report.

Fixed In

Kingston Patch 10
London Patch 2
Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:38:40
Published:2018-10-11