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