Smarts SAM: How to create notifications using the Perl API
search cancel

Smarts SAM: How to create notifications using the Perl API

book

Article ID: 332244

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

To create notifications in Smarts SAM using the Perl API 



The notifications viewed in the Smarts SAM Global Console are instances of the "ICS_Notification" class. To create a Smarts SAM notification, the perl-Api InCharge::session module must be used to create an instance of a model class, set attributes, and invoke model operations/functions.
 
In Smarts SAM, the model factory class called "ICS_NotificationFactory" is used to create notifications. This model class has operations called findNotification, makeNotification, and so on.