Smarts SAM: Notifications for the device name or internalElementClassName do not have any value or post <unknown> values
search cancel

Smarts SAM: Notifications for the device name or internalElementClassName do not have any value or post <unknown> values

book

Article ID: 303998

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Smarts Service Assurance Manager (Smarts SAM) 8.1.2 notifications for the device name or internalElementClassName do not have any value or post <unknown> values
IP device class names are not posted in Smarts SAM 8.1.2 notifications or have <unknown> values in the internalElementClassName

Environment

VMware Smart Assurance - SMARTS

Cause

Conflicting device names exist that do not resolve to default DNS or seed name. In this condition, Smarts SAM 8.1.2 will use <unknown> as the device name value.

Resolution

To prevent a conflicting value that creates an <unknown> value in the instance name, you need to add or edit the SM_KEEP_LOCAL_OBJECTS parameter and set its value to TRUE in the runcmd_env.sh file on the server where Smarts SAM resides. This can be done as follows:
  1. Open the runcmd_env.sh file from the command line using sm_edit:

    <Basedir>/smarts/bin/sudo ./sm_edit <Basedir>/local/conf/runcmd_env.sh


     
  2. Add or edit the following line in the runcmd_env.sh file:

    SM_KEEP_LOCAL_OBJECTS=TRUE

     
  3. Save and close the runcmd_env.sh file.
  4. Restart the Smarts SAM domain.


Additional Information

Example of ICS-NOTIFICATION data that you will see in the containment from a SAM notification with <unknown> for internalElementClassName:                            

                               Owner =
                         ServiceName =
                            Severity = 2
               ShouldAutoAcknowledge = FALSE
             ShouldAutoAcknowledgeAt = 300
                   ShouldAutoArchive = FALSE
                     ShouldAutoClear = FALSE
                   ShouldAutoClearAt = 0
           ShouldInactiveAutoArchive = FALSE
         ShouldInactiveAutoArchiveAt = 3600
       ShouldScheduleAutoAcknowledge = FALSE
           ShouldScheduleAutoArchive = FALSE
             ShouldScheduleAutoClear = FALSE
   ShouldScheduleInactiveAutoArchive = FALSE
                    SourceDomainName = INCHARGE-AM-PM
                     SourceEventType = PROBLEM
                            ToolInfo =
                     TroubleTicketID =
                        UserDefined1 =
                       UserDefined10 =
                        UserDefined2 =
                        UserDefined3 =
                        UserDefined4 =
                        UserDefined5 =
                        UserDefined6 =
                        UserDefined7 =
                        UserDefined8 =
                        UserDefined9 =
           
internalElementClassName = <unknown>
                 internalElementName = <unknown>

                  scheduledForNotify = FALSE