mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add procedure doc
This commit is contained in:
@@ -4,6 +4,7 @@ Table of Content:
|
||||
- [Rules](#rules)
|
||||
- [Syntax](#rules-syntax)
|
||||
- [Examples](#rules-examples)
|
||||
- [Procedure](#rules-procedure)
|
||||
- [Templates](#templates)
|
||||
- [Syntax](#templates-syntax)
|
||||
- [Examples](#templates-examples)
|
||||
@@ -89,6 +90,9 @@ Alert when:
|
||||
- High CPU usage(per core usage, not overall): `%macros.device_up = "1" && %processors.processor_usage >= "90"`
|
||||
- High port usage, where description is not client & ifType is not softwareLoopback: `%macros.port_usage_perc >= "80" && %port.port_descr_type != "client" && %ports.ifType != "softwareLoopback"`
|
||||
|
||||
## <a name="rules-procedure">Procedure</a>
|
||||
You can associate a rule to a procedure by giving the URL of the procedure when creating the rule. Only links like "http://" are supported, otherwise an error will be returned. Once configured, procedure can be opened from the Alert widget through the "Open" button, which can be shown/hidden from the widget configuration box.
|
||||
|
||||
# <a name="templates">Templates</a>
|
||||
|
||||
Templates can be assigned to a single or a group of rules.
|
||||
|
Reference in New Issue
Block a user