Steps, and command, to create a notification using the Smarts command line.
All Supported Smarts releases
Run the following command from <Basedir>/smarts/bin file:
sm_ems -b <Broker name>:<Port for broker> -s <SAM Server name> notify <Class Name> <Instance name> <Event> <Source> <Event Type> <Clear Mode> <Severity> [<attr>=<val> ...] <User defined field> <User defined field>
Example Command:
./sm_ems --server=TEST-OI notify Host DummyRouter Down CLI DURABLE 3600 Severity=1 UserDefined1=TEST1 UserDefined2=TEST1 EventText="Test"