Steps to get the list of Smarts SAM notifications and their properties using the Smarts DMCTL utility.
book
Article ID: 304339
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
- Get a list of Smarts SAM notifications and their properties using the Smarts DMCTL utility.
- Get properties of Smarts SAM notifications be extracted through the command line or the DMCTL utility.
- Retrieve all Smarts SAM SM_OBJ properties using the Smarts DMCTL utility.
Resolution
- Get list of current notifications present in the Smarts SAM environment, run
./dmctl -s <SAM_SERVER> getI ICS_Notification
Sample Output:
NOTIFICATION-Card_CARD-<DEVICE>/1.1.1_Down
- Get the properties of the notification from Step 1:
./dmctl -s <SAM_SERVER> get ICS_Notification::<Notification>
Example:
./dmctl -s <SAM_SERVER> get ICS_Notification::NOTIFICATION-Card_CARD-<DEVICE>/1.1.1_Down
- The following command will output all the SM_OBJ objects for the notification. If user would like just particular objects, run
./dmctl -s <SAM_SERVER> get ICS_Notification::<Notification>::<Object>
Example:
./dmctl -s <SAM_SERVER> get ICS_Notification::NOTIFICATION-Card_CARD-<DEVICE>/1.1.1_Down::ElementClassName
NOTE: The ElementClassName in the Step 3 command is the same as SM_OBJ_Name.
Feedback
thumb_up
Yes
thumb_down
No