Smarts dmctl commands to extract Smarts SAM Notifications from a Notification List?
book
Article ID: 327753
calendar_today
Updated On:
Products
VMware Smart AssuranceVMware Telco Cloud Service Assurance
Issue/Introduction
SYMPTOMS:
How can I use Smarts dmctl commands to extract Smarts SAM Notifications from a Notification List?
Environment
SMARTS - 10.1.x
SMARTS - 2.x
TCSA - 2.x
Resolution
To extract Smarts SAM Notifications from a Notification List using Smarts dmctl commands, do the following:
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
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