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