How to create a notification using the Smarts command line.
search cancel

How to create a notification using the Smarts command line.

book

Article ID: 327653

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How to create a notification using the Smarts command line.



Run the following command from <basedir>/smarts/bin file:
sm_ems b <Broker name>:<port for broker> s <Server name> notify <Name of the object> <instance name> <Character of the notification> CLI DURABLE 3600 Severity=1 <User defined field> <User defined field>

Example:  sm_ems --server=castnek-62-OI notify Host THRESHER Down CLI DURABLE 3600 Severity=1 UserDefined1=TEST1 UserDefined2=TEST1