DMCTL commands to extract Smarts SAM Notifications from a Notification List
search cancel

DMCTL commands to extract Smarts SAM Notifications from a Notification List

book

Article ID: 327753

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

SYMPTOMS:

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

Environment

SMARTS - 10.1.x, 24.X

Resolution

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