alert_template_edit
Edit an existing LibreNMS alert template by providing its template ID and resending all fields to update name, body, titles, and associated alert rules.
Instructions
Edit an existing alert template in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Alert template edit payload (must include template_id): - template_id (required): Template ID to edit. Without it LibreNMS creates a new template instead of editing the existing one. - name (required): Template name - template (required): Template body (Laravel Blade syntax) - title (required): Alert title template - title_rec (required): Recovery title template - alert_rules (required): Array of alert rule IDs to associate with this template (use [] for none) LibreNMS replaces the whole template on edit, so resend every field, not just the ones being changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||