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 VMware Telco Cloud Service Assurance

Issue/Introduction

SYMPTOMS:


  1. Steps to get a list of Smarts SAM notifications and their properties using the Smarts DMCTL utility.
  2. Steps to the properties of Smarts SAM notifications be extracted through the command line or the DMCTL utility.
  3. Steps to  get the properties of Smarts SAM notifications using the command line.
  4. Steps toretrieve all Smarts SAM SM_OBJ properties using the Smarts DMCTL utility.

Environment

  • SMARTS - 10.1.x
  • SMARTS DM- 2.x
  • TCSA - 2.x

Resolution

  • To retrieve a list of current notifications present in the Smarts SAM environment, Please use the following DMCTL commands:
./dmctl -s <SAM_SERVER> getI ICS_Notification
  1. An example of a notification would be:
NOTIFICATION-Card_CARD-fusion/1.1.1_Down
  • To retrieve the properties of the above notification, can use the following DMCTL command syntax:
./dmctl -s <SAM_SERVER> get ICS_Notification::<Notification>
  • Using the preceding notification example, the DMCTL command would be as follows:
./dmctl -s <SAM_SERVER> get ICS_Notification::NOTIFICATION-Card_CARD-fusion/1.1.1_Down
  • This command will output all the SM_OBJ objects for the notification. If you would like just particular objects, use the following DMCTL command syntax:
./dmctl -s <SAM_SERVER> get ICS_Notification::<Notification>::<Object>
  • Using the preceding notification example, the DMCTL command would be as follows:
./dmctl -s <SAM_SERVER> get ICS_Notification::NOTIFICATION-Card_CARD-fusion/1.1.1_Down::ElementClassName

Note: The ElementClassName in the above command is the same as SM_OBJ_Name.