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:
- 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