]> granicus.if.org Git - icinga2/commitdiff
Add missing validator for Host -> Service -> notifications.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 22 Mar 2013 13:41:11 +0000 (14:41 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 22 Mar 2013 13:42:20 +0000 (14:42 +0100)
lib/icinga/icinga-type.conf

index 72937e2e9aab833185e0afa2ffee111884545ef7..7a534cf8e5257e84a67a6f497db9158649ce4e97 100644 (file)
@@ -77,6 +77,27 @@ type Host {
                                        %attribute string "service"
                                }
                        },
+
+                       %attribute dictionary "notifications" {
+                               %attribute dictionary "*" {
+                                       %attribute array "templates" {
+                                               %attribute string "*"
+                                       },
+
+                                       %attribute dictionary "macros" {
+                                               %attribute string "*"
+                                       },
+
+                                       %attribute array "export_macros",
+
+                                       %attribute array "users" {
+                                               %attribute string "*"
+                                       },
+                                       %attribute array "groups" {
+                                               %attribute string "*"
+                                       }
+                               }
+                       },
                }
        },