alerts_get
Retrieve LibreNMS alerts with optional filters for state, severity, rule, and pagination.
Instructions
Get alerts from LibreNMS with optional filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| order | No | How to order the output, default is by timestamp (descending). Can be appended by DESC or ASC to change the order. Optional. | |
| state | No | Filter the alerts by state: 0 = ok, 1 = alert, 2 = ack. Optional. | |
| offset | No | Number of results to skip (offset) for pagination | |
| severity | No | Filter the alerts by severity. Valid values: ok, warning, critical. Optional. | |
| alert_rule | No | Filter alerts by alert rule ID. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||