Actions83
- Bills Actions
- Alerts Actions
- Alert Rules Actions
- ARP Actions
- Devices Actions
- Device Groups Actions
- Inventory Actions
- Locations Actions
- Logs Actions
- Poller Groups Actions
- Ports Actions
- Port Groups Actions
- Routing Actions
- Services Actions
- Switching Actions
Overview
This node integrates with the LibreNMS network monitoring system, allowing users to manage various resources such as devices, alerts, alert rules, ports, and more. Specifically, the Delete Alert Rule operation enables users to remove an existing alert rule from their LibreNMS instance by specifying its unique identifier. This is useful for automating cleanup of obsolete or unwanted alert rules, maintaining an up-to-date monitoring configuration.
Practical examples include:
- Automatically deleting alert rules that are no longer relevant after a network reconfiguration.
- Cleaning up test alert rules created during development or troubleshooting.
- Managing alert rules programmatically as part of a larger network automation workflow.
Properties
| Name | Meaning |
|---|---|
| Rule ID | The unique identifier of the alert rule to delete |
Output
The node outputs JSON data representing the response from the LibreNMS API after attempting to delete the specified alert rule. Typically, this will include confirmation of deletion or an error message if the operation failed.
No binary data output is involved in this operation.
Dependencies
- Requires connection to a LibreNMS instance with API access enabled.
- Needs an API authentication token credential configured in n8n to authorize requests.
- The base URL of the LibreNMS API must be provided in the credentials.
- Optionally supports skipping SSL certificate validation based on credential settings.
Troubleshooting
Common issues:
- Invalid or missing Rule ID: Ensure the Rule ID provided exists and is correct.
- Authentication errors: Verify that the API token credential is valid and has sufficient permissions.
- Network connectivity problems: Confirm that the LibreNMS API endpoint is reachable from the n8n environment.
- SSL certificate errors: If using self-signed certificates, enable the option to skip SSL validation.
Error messages:
- "404 Not Found": The specified alert rule does not exist. Double-check the Rule ID.
- "401 Unauthorized" or "403 Forbidden": Authentication failed or insufficient permissions. Check API credentials.
- Timeout or connection refused: Network or firewall issues preventing access to LibreNMS API.