Smarts SAM/Smarts IP: Notifications exist in SAM that are not in IP
search cancel

Smarts SAM/Smarts IP: Notifications exist in SAM that are not in IP

book

Article ID: 303703

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:


How do I clear Smarts Service Assurance Manager (Smarts SAM) notifications that show as active from Smarts IP events that are no longer present?

Notifications exist in Smarts SAM that are not in Smarts IP
There are notifications in the Smarts SAM log console that are not presently active in the respective Smarts IP sources

Environment

VMware Smart Assurance - SMARTS

Cause

This can happen when there is a disconnect between SAM and IP and SAM does not get the clear event from IP for the notification.

Resolution

ICS_Notification::NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification>

The events can be cleared by using the following steps:

  1. Acknowledge the notification
  2. Right click the notification and select "Add to Audit Log..."
  3. Enter a note in that this notification is being forcefully archived due to it being stale and not correct
  4. Log into your SAM server and go to the directory <Base Dir>/SAM/smarts/bin
  5. Log into the dmctl for the SAM and find the notification that you need to remove
  6. Find the ICS_Notification::NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification> property of the notification you want to remove.
  7. Log into the dmctl for the SAM and enter the command: invoke ICS_NotificationFactory::ICS-NotificationFactory archiveNotification ICS_Notification::NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification> "<add log info for why you are clearing/archiving this notification>"

The notification in your SAM console should now be cleared.

How to locate the ICS_Notification::NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification> property in a Windows environment:

  1. Double click the notification you want to remove in the SAM console and bring up its properties.
  2. Log into the dmctl for your SAM using the power shell by navigating to <BASE DIR>\SAM\smarts\bin and enter the command dmctl.exe -s <SAM domain>
  3. Enter the command get ICS_Notification::Notification-<Class property of notification>_<Name property of notification>_<Event property of notification>
  4. Confirm this is the notification you want to remove by reviewing its properties and comparing them to the SAM console notifications properties.
  5. Use this ICS_Notification::Notification-<Class property of notification>_<Name property of notification>_<Event property of notification> in the command to clear the notification.

How to locate the  ICS_Notification::NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification> property in a Linux/Solaris environment:

  1. Log into the dmctl of your SAM by navigating to <BASE DIR>/SAM/smarts/bin and entering the command ./dmctl -s <SAM domain>.
  2. Run the command ./dmctl -s <SAM domain with notification on it> getI ICS_Notification "grep <Name of the notification listed in its properties>.
  3. Locate the notification that has a matching name property to the notification you want to remove (NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification>).
  4. Append the output result from step 3 to ICS_Notification::
  5. Use this ICS_Notification::NOTIFICATION-<Class property of the Notification>_<Name property of the notification>_<Event property of the notification> in the command to clear the notification.