Smarts SAM: How can I use Smarts dmctl commands to extract Smarts SAM Notifications from a Notification List?
search cancel

Smarts SAM: How can I use Smarts dmctl commands to extract Smarts SAM Notifications from a Notification List?

book

Article ID: 327753

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How can I use Smarts dmctl commands to extract Smarts SAM Notifications from a Notification List?



To extract Smarts SAM Notifications from a Notification List using Smarts dmctl commands, do the following:

  1. Run the following dmctl command to return the names of all the Notification Lists (instances of the class ICS_NotificationList):

    dmctl> getI ICS_NotificationList


    The following shows example output from this command: 

    ICS_NL-ALL_NOTIFICATIONS  ICS_NL-Default            ICS_NL-Maintenance  

     
  2. Run the following command on one of the Notification Lists returned in the output of the preceding dmctl command (such as ICS_NL-Default in the preceding example) to return all the Notifications (instances of ICS_Notifications class) in the Notification List:

dmctl> get ICS_NotificationList::ICS_NL-Default::AllNotifications