The Integration builder allows you to send HW events and alerts from Xormon to any other tool that supports REST API or Webhooks.
With Integration builder you can compose the request:
- endpoint URL
- method (GET, POST, PUT, PATCH, DELETE)
- request headers
- request body in JSON format
Request body can contain several predefined variables with information from the alert.
For example
- {DEVICE} - device name
- {STATUS} - reported status
- {METRIC} - name of the metric being alerted
- {VALUES} - values that triggered the alert
- {ITEMS} - list of items crossing the threshold valaue
- And more
Configuration
Xormon UI → Settings → Alerting → tab: Integrations
Performance alert request body examples:
{
"name": "Custom Alert",
"data": {
"items": "{ITEMS}",
"level": "{LEVEL}",
"limit": "{LIMIT}",
"metric": "{METRIC}",
"values": "{VALUES}"
}
}
Add newly created integration to Alert or HW event configuration