Documentation: Fix StateFilterOK for recovery notifications.

Refs #5762
This commit is contained in:
Michael Friedrich 2014-03-17 18:08:05 +01:00
parent cf3f0eaee7
commit 67782607eb
2 changed files with 8 additions and 4 deletions

View File

@ -25,7 +25,8 @@ The user `icingaadmin` in the example below will get notified only on `WARNING`
object User "icingaadmin" {
display_name = "Icinga 2 Admin",
enable_notifications = 1,
notification_state_filter = (StateFilterWarning |
notification_state_filter = (StateFilterOK |
StateFilterWarning |
StateFilterCritical),
notification_type_filter = (NotificationFilterProblem |
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`
> configuration attributes for the `User` object, all states and types will be
> notified.
> Recovery notifications require the state filter `StateFilterOK`.
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

View File

@ -252,7 +252,8 @@ Example:
enable_notifications = 1,
notification_period = "24x7",
notification_state_filter = (StateFilterWarning |
notification_state_filter = (StateFilterOK |
StateFilterWarning |
StateFilterCritical |
StateFilterUnknown),
notification_type_filter = (NotificationFilterProblem |
@ -288,6 +289,7 @@ Available notification type and state filters:
> **Note**
>
> In order to notify on problem states, you will need the type filter `NotificationFilterProblem`.
> Recovery notifications require the state filter `StateFilterOK`.
Attributes: