Steps to get the list of Smarts SAM notifications and their properties using the Smarts DMCTL utility.
search cancel

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

  1. Get a list of Smarts SAM notifications and their properties using the Smarts DMCTL utility.
  2. Get properties of Smarts SAM notifications be extracted through the command line or the DMCTL utility.
  3. Retrieve all Smarts SAM SM_OBJ properties using the Smarts DMCTL utility.

Environment

Smarts - 10.1.x

Resolution

  1. 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
  2. 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
  3. 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.