mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-30 07:22:20 +00:00
notification: add anchors for target types/matchers
This enables us to directly link to the appropriate section from the UI. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
7823f52eaf
commit
f5f316bddb
@ -39,6 +39,7 @@ passwords or authentication tokens for notification targets.
|
|||||||
Notification Targets
|
Notification Targets
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
[[notification_targets_sendmail]]
|
||||||
Sendmail
|
Sendmail
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
The sendmail binary is a program commonly found on Unix-like operating systems
|
The sendmail binary is a program commonly found on Unix-like operating systems
|
||||||
@ -80,6 +81,7 @@ sendmail: example
|
|||||||
comment Send to multiple users/addresses
|
comment Send to multiple users/addresses
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[[notification_targets_smtp]]
|
||||||
SMTP
|
SMTP
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
@ -126,6 +128,7 @@ smtp: example
|
|||||||
password somepassword
|
password somepassword
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[[notification_targets_gotify]]
|
||||||
Gotify
|
Gotify
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
@ -196,6 +199,7 @@ a matcher must be true. Defaults to `all`.
|
|||||||
* `match-severity`: Match the notification's severity
|
* `match-severity`: Match the notification's severity
|
||||||
* `comment`: Comment for this matcher
|
* `comment`: Comment for this matcher
|
||||||
|
|
||||||
|
[[notification_matchers_calendar]]
|
||||||
Calendar Matching Rules
|
Calendar Matching Rules
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
A calendar matcher matches the time when a notification is sent agaist a
|
A calendar matcher matches the time when a notification is sent agaist a
|
||||||
@ -206,6 +210,7 @@ configurable schedule.
|
|||||||
* `match-calendar mon-fri 9:00-17:00`
|
* `match-calendar mon-fri 9:00-17:00`
|
||||||
* `match-calendar sun,tue-wed,fri 9-17`
|
* `match-calendar sun,tue-wed,fri 9-17`
|
||||||
|
|
||||||
|
[[notification_matchers_field]]
|
||||||
Field Matching Rules
|
Field Matching Rules
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
Notifications have a selection of metadata fields that can be matched.
|
Notifications have a selection of metadata fields that can be matched.
|
||||||
@ -220,6 +225,7 @@ For instance, a `match-field regex:hostname=.*` directive will only match
|
|||||||
notifications that have an arbitraty `hostname` metadata field, but will
|
notifications that have an arbitraty `hostname` metadata field, but will
|
||||||
not match if the field does not exist.
|
not match if the field does not exist.
|
||||||
|
|
||||||
|
[[notification_matchers_severity]]
|
||||||
Severity Matching Rules
|
Severity Matching Rules
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
A notification has a associated severity that can be matched.
|
A notification has a associated severity that can be matched.
|
||||||
|
Loading…
Reference in New Issue
Block a user