How to determine Smarts SAM attach logic for clearing stale notifications.
search cancel

How to determine Smarts SAM attach logic for clearing stale notifications.

book

Article ID: 322970

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How to determine Smarts SAM attach logic for clearing stale notifications.



AM_Uptime:  <BASEDIR>/smarts/bin/dmctl -s <IP Server> get SM_System::SM-System::uptimeSAM updates the notifications in the "database" after a specified amount of time after an underlying domain reconnects. This reconnect can be due to either underlying server restarted, SAM restarted or connectivity is lost between SAM and underlying server due to network issue.

This time is calculated based on the following information:

({Smoothing for domain} + 1200) + ({Domain attach time} - {AM_Uptime} if > 0)

Example: 

65 + 1200 + (6000 - 100) = 1265 + 5900 = 7165 seconds = 119.41 mins 

  • Smoothing for domain is located in the ics.conf file <BASEDIR>/SAM/smarts/local/conf/ics/ and is specific to the underlying domain
  • Domain attach time:  <BASEDIR>/smarts/bin/dmctl -s <IP Server> get ICS_Domain::<domain name>::attachTime
  • AM_Uptime:  <BASEDIR>/smarts/bin/dmctl -s <IP Server> get SM_System::SM-System::uptime


Additional Information

The calculation only adds the {domain attach time} - {AM_Uptime} if it is a positive number. If the result of the subtraction is negative (meaning the AM was already up, not restarted), only the smoothing + 1200 is used.