addEvent
Add an alarm or event to OpManager with specified severity, source, message, and alarm code to trigger network monitoring alerts.
Instructions
addEvent
Key parameters:
source*: Source device of of the alarm.
severity*: Severity of the alarm. The severity could range anywhere fro
message*: Message of the alarm.
alarmCode*: Alarm code of the alarm.
entity*: Unique Value for the generating Alarm
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | OpManager host address (e.g., 'opmanager.example.com' or 'opmanager.example.com:8061'). Default port is 8061 (HTTPS). | |
| apiKey | Yes | OpManager API key for authentication | |
| entity | Yes | Unique Value for the generating Alarm | |
| source | Yes | Source device of of the alarm. | |
| message | Yes | Message of the alarm. | |
| severity | Yes | Severity of the alarm. The severity could range anywhere from 1 to 5. 1 = Critical, 2 = Trouble, 3 = Attention, 4 = Service Down, 5 = Clear . | |
| alarmCode | Yes | Alarm code of the alarm. | |
| eventType | Yes | EventType of the Alarm. It will be used to identify the group of alerts. |