Smarts SAM: Missing notifications from underlying Smarts OI domain after recent upgrade from Smarts SAM 7.1 to 7.2
search cancel

Smarts SAM: Missing notifications from underlying Smarts OI domain after recent upgrade from Smarts SAM 7.1 to 7.2

book

Article ID: 303979

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Smarts SAM is missing notifications from underlying Smarts OI domain after recent upgrade from Smarts SAM 7.1 to 7.2
Smarts SAM reports SNMP Traps event with Last Notify and First Notify set to "never"

Environment

VMware Smart Assurance - SMARTS

Cause

The above symptoms have been seen when there is an uninitialized variable error in the ics-nl-processing.asl script.

Resolution

Initializing the variable gets around the problems with the SNMP trap. To edit the ics-nl-processing.asl script and initialize the variable, do the following:

  1. Open the ics-nl-processing.asl script for editing using Smarts sm_edit as follows:

    <BASEDIR>/smarts/bin/sm_edit ../rules/ics/ics-nl-processing.asl

     
  2. Initialize the inName variable around Line 727 as in the following example:

       UPDATE_EVENT_OBJECT {
        local elementName;
        local displayName;
        local additionalAttributesChanged = FALSE;
        local isChanged = FALSE;
        local shouldNotify = FALSE;
        local isActive = FALSE;
        local remoteEventObj = object();
        local eventClass;
        local impact;
        local field;
        local value;
        local delta_count = 0;
        local i = 1;
        local inName = "";
      //<- add this line

  3. Restart the Smarts SAM domain to apply the changes.