]> granicus.if.org Git - icinga2/commitdiff
config: Add missing attributes removing warnings.
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 8 Aug 2013 15:52:30 +0000 (17:52 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 8 Aug 2013 15:52:30 +0000 (17:52 +0200)
lib/icinga/icinga-type.conf

index 1ce16bec1ece7c4df3a09ceea09edd01a8eed91e..584ac28bbea9941712ab7e2d4e5548ddd0441629 100644 (file)
@@ -64,6 +64,7 @@ type Host {
                        %attribute number "notification_interval",
                        %attribute name(TimePeriod) "notification_period",
 
+                       %attribute number "enable_flapping",
                        %attribute number "flapping_threshold",
 
                        %attribute array "servicegroups" {
@@ -108,7 +109,8 @@ type Host {
                                        },
 
                                        %attribute number "notification_type_filter",
-                                       %attribute number "notification_state_filter"
+                                       %attribute number "notification_state_filter",
+                                       %attribute name(TimePeriod) "notification_period"
                                }
                        },
                }
@@ -137,7 +139,8 @@ type Host {
                        },
 
                        %attribute number "notification_type_filter",
-                       %attribute number "notification_state_filter"
+                       %attribute number "notification_state_filter",
+                       %attribute name(TimePeriod) "notification_period"
                }
        },
 
@@ -151,6 +154,7 @@ type Host {
        %attribute number "notification_interval",
        %attribute name(TimePeriod) "notification_period",
 
+       %attribute number "enable_flapping",
        %attribute number "flapping_threshold",
 
        %attribute number "notification_type_filter",
@@ -217,6 +221,7 @@ type Service {
        %attribute number "notification_interval",
        %attribute name(TimePeriod) "notification_period",
 
+       %attribute number "enable_flapping",
        %attribute number "flapping_threshold",
 
        %attribute array "hostdependencies" {
@@ -261,7 +266,8 @@ type Service {
                        },
 
                        %attribute number "notification_type_filter",
-                       %attribute number "notification_state_filter"
+                       %attribute number "notification_state_filter",
+                       %attribute name(TimePeriod) "notification_period"
                }
        }
 }
@@ -317,7 +323,8 @@ type User {
 
        %attribute number "enable_notifications",
        %attribute number "notification_type_filter",
-       %attribute number "notification_state_filter"
+       %attribute number "notification_state_filter",
+       %attribute name(TimePeriod) "notification_period"
 
 }