...
Code Block |
---|
opeventsd.pl act=create-event event=testevent node="somenode" details="this is just a test event" action_required=01 action_checked=0 priority=4 |
Your event is expected to contain all required event properties and no further normalisation is performed. The option action_required should be set to 1 so that opEvents will process the event with Action Policies, or 0 to have opEvents not process with action policies.
Alternatively you can save your desired event's properties in a file in JSON format, and use act=create-json
to instruct opeventsd to create an event from it:
...