]> granicus.if.org Git - icinga2/commitdiff
Documentation: Fix StateFilterOK for recovery notifications.
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 17 Mar 2014 17:08:05 +0000 (18:08 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 17 Mar 2014 17:08:05 +0000 (18:08 +0100)
Refs #5762

doc/3.04-notifications.md
doc/4.3-object-types.md

index 01f81d730042d2d681328b22850df28bdebf5057..6f1b09a1db9b535fda6f95f52d110f0531b3c74f 100644 (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
index 281a31949ce0b2d008c5bf63096b478dcb4ec252..68847254e98fe4cb1711ec031c98a539e80eb8b8 100644 (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 |
@@ -274,7 +275,7 @@ Available notification type and state filters:
     StateFilterWarning
     StateFilterCritical
     StateFilterUnknown
-    
+
     NotificationFilterDowntimeStart
     NotificationFilterDowntimeEnd
     NotificationFilterDowntimeRemoved
@@ -284,10 +285,11 @@ Available notification type and state filters:
     NotificationFilterRecovery
     NotificationFilterFlappingStart
     NotificationFilterFlappingEnd
-    
+
 > **Note**
 >
 > In order to notify on problem states, you will need the type filter `NotificationFilterProblem`.
+> Recovery notifications require the state filter `StateFilterOK`.
 
 Attributes: