mirror of https://github.com/Icinga/icinga2.git
Documentation: Fix StateFilterOK for recovery notifications.
Refs #5762
This commit is contained in:
parent
cf3f0eaee7
commit
67782607eb
|
@ -25,7 +25,8 @@ The user `icingaadmin` in the example below will get notified only on `WARNING`
|
||||||
object User "icingaadmin" {
|
object User "icingaadmin" {
|
||||||
display_name = "Icinga 2 Admin",
|
display_name = "Icinga 2 Admin",
|
||||||
enable_notifications = 1,
|
enable_notifications = 1,
|
||||||
notification_state_filter = (StateFilterWarning |
|
notification_state_filter = (StateFilterOK |
|
||||||
|
StateFilterWarning |
|
||||||
StateFilterCritical),
|
StateFilterCritical),
|
||||||
notification_type_filter = (NotificationFilterProblem |
|
notification_type_filter = (NotificationFilterProblem |
|
||||||
NotificationFilterRecovery),
|
NotificationFilterRecovery),
|
||||||
|
@ -40,6 +41,7 @@ The user `icingaadmin` in the example below will get notified only on `WARNING`
|
||||||
> If you don't set the `notification_state_filter` and `notification_type_filter`
|
> If you don't set the `notification_state_filter` and `notification_type_filter`
|
||||||
> configuration attributes for the `User` object, all states and types will be
|
> configuration attributes for the `User` object, all states and types will be
|
||||||
> notified.
|
> notified.
|
||||||
|
> Recovery notifications require the state filter `StateFilterOK`.
|
||||||
|
|
||||||
You should choose which information you (and your notified users) are interested in
|
You should choose which information you (and your notified users) are interested in
|
||||||
case of emergency, and also which information does not provide any value to you and
|
case of emergency, and also which information does not provide any value to you and
|
||||||
|
|
|
@ -252,7 +252,8 @@ Example:
|
||||||
enable_notifications = 1,
|
enable_notifications = 1,
|
||||||
notification_period = "24x7",
|
notification_period = "24x7",
|
||||||
|
|
||||||
notification_state_filter = (StateFilterWarning |
|
notification_state_filter = (StateFilterOK |
|
||||||
|
StateFilterWarning |
|
||||||
StateFilterCritical |
|
StateFilterCritical |
|
||||||
StateFilterUnknown),
|
StateFilterUnknown),
|
||||||
notification_type_filter = (NotificationFilterProblem |
|
notification_type_filter = (NotificationFilterProblem |
|
||||||
|
@ -288,6 +289,7 @@ Available notification type and state filters:
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
> In order to notify on problem states, you will need the type filter `NotificationFilterProblem`.
|
> In order to notify on problem states, you will need the type filter `NotificationFilterProblem`.
|
||||||
|
> Recovery notifications require the state filter `StateFilterOK`.
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue