How can I update the Owner of a notification in Smarts SAM using the sm_ems utility?
Execute the command below from <BASEDIR>/SAM/smarts/bin:
- dmctl -s <DOMAIN> getI ICS_Notification
This will return all notifications in SAM. Chose the notification you want to update, for example: NOTIFICATION-DuplicateIP_IP-172.16.1.19_Duplicate. - dmctl -s <DOAMIN> get ICS_Notification::NOTIFICATION-DuplicateIP_IP-172.16.1.19_Duplicate::Owner --> Output: admin
Use this command to get the value of Owner; in this case it is admin. - dmctl -s <DOMAIN> put ICS_Notification::NOTIFICATION-DuplicateIP_IP-172.16.1.19_Duplicate::Owner beatles
This changes the Owner to beatles. - To verify results, use command:
dmctl -s <DOMAIN> get ICS_Notification::NOTIFICATION-DuplicateIP_IP-172.16.1.19_Duplicate::Owner --> Output: beatles