Update type validators.

This commit is contained in:
Gunnar Beutner 2013-09-24 13:25:38 +02:00
parent a7e25beb06
commit 826a56ba20
1 changed files with 5 additions and 110 deletions

View File

@ -41,106 +41,19 @@ type Host {
%attribute name(Service) "*"
},
/* %attribute string "short_name",
%attribute string "display_name",
%attribute dictionary "macros" {
%attribute string "*"
},
%attribute dictionary "custom" {
%attribute string "*"
},
%attribute name(CheckCommand) "check_command",
%attribute name(TimePeriod) "check_period",
%attribute number "check_interval",
%attribute number "retry_interval",
%attribute number "enable_notifications",
%attribute number "notification_interval",
%attribute name(TimePeriod) "notification_period",
%attribute number "enable_flapping",
%attribute number "flapping_threshold",
%attribute array "servicegroups" {
%attribute name(ServiceGroup) "*"
},
%attribute array "checkers" {
%attribute string "*"
},
%attribute array "hostdependencies" {
%attribute name(Host) "*"
},
%attribute array "servicedependencies" {
%attribute dictionary "*" {
%require "host",
%attribute name(Host) "host",
%require "service",
%attribute string "service"
}
},
%attribute dictionary "notifications" {
%attribute dictionary "*" {
%attribute array "templates" {
%attribute name(Notification) "*"
},
%attribute dictionary "macros" {
%attribute string "*"
},
%attribute array "users" {
%attribute name(User) "*"
},
%attribute array "groups" {
%attribute name(UserGroup) "*"
},
%attribute dictionary "times" {
%attribute number "begin",
%attribute number "end",
},
%attribute number "notification_type_filter",
%attribute number "notification_state_filter",
%attribute name(TimePeriod) "notification_period"
}
},*/
%attribute any "*"
}
},
/* %attribute dictionary "notifications" {
%attribute dictionary "notifications" {
%attribute dictionary "*" {
%attribute array "templates" {
%attribute name(Notification) "*"
},
%attribute dictionary "macros" {
%attribute string "*"
},
%attribute array "users" {
%attribute name(User) "*"
},
%attribute array "groups" {
%attribute name(UserGroup) "*"
},
%attribute dictionary "times" {
%attribute number "begin",
%attribute number "end",
},
%attribute number "notification_type_filter",
%attribute number "notification_state_filter",
%attribute name(TimePeriod) "notification_period"
%attribute any "*"
}
},*/
},
/* service attributes */
%attribute number "max_check_attempts",
@ -242,25 +155,7 @@ type Service {
%attribute name(Notification) "*"
},
/* %attribute dictionary "macros" {
%attribute string "*"
},
%attribute array "users" {
%attribute name(User) "*"
},
%attribute array "groups" {
%attribute name(UserGroup) "*"
},
%attribute dictionary "times" {
%attribute number "begin",
%attribute number "end",
},
%attribute number "notification_type_filter",
%attribute number "notification_state_filter",
%attribute name(TimePeriod) "notification_period"*/
%attribute any "*"
}
}
}