How can I update the Owner of a notification in Smarts SAM using the sm_ems utility?
search cancel

How can I update the Owner of a notification in Smarts SAM using the sm_ems utility?

book

Article ID: 322940

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

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:

  1. 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.
  2. 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.
  3. dmctl -s <DOMAIN> put ICS_Notification::NOTIFICATION-DuplicateIP_IP-172.16.1.19_Duplicate::Owner beatles
    This changes the Owner to beatles.
  4. To verify results, use command:
    dmctl -s <DOMAIN> get ICS_Notification::NOTIFICATION-DuplicateIP_IP-172.16.1.19_Duplicate::Owner --> Output: beatles