Alert Rule Edit
alert_rule_editEdit an existing LibreNMS alert rule by rule ID, updating conditions, severity, thresholds, delays, mute, or notes through librenms-mcp.
Instructions
Edit an existing alert rule in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Alert rule edit payload (must include rule_id field): - rule_id (required): Integer rule ID to edit. Without it LibreNMS would create a new rule, so the tool refuses the call. - name: Rule name - builder: Rule builder JSON with conditions - devices: Array of device IDs or [-1] for all devices - severity: ok, warning, critical - count: Trigger threshold count - delay: Delay before alerting in seconds - interval: Re-alert interval in seconds - mute: Mute alerts (true/false) - invert: Invert rule logic (true/false) - notes: Rule notes - disabled: Disable rule (0/1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||