Manual notification creation using sm_ems command line utility.
search cancel

Manual notification creation using sm_ems command line utility.

book

Article ID: 327653

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

How to create a notification using the Smarts command line.

Environment

Smarts - 10.1.x

Resolution

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=TEST-OI notify Host DummyRouter Down CLI DURABLE 3600 Severity=1 UserDefined1=TEST1 UserDefined2=TEST1