%attribute %number "update_interval"
}
-%type Checkable {
+%type CustomVarObject {
+ %attribute %dictionary "vars",
+}
+
+%type Checkable %inherits CustomVarObject {
%validator "ValidateCheckableCheckInterval",
%attribute %string "display_name",
%attribute %string "address6",
}
-%type HostGroup {
+%type HostGroup %inherits CustomVarObject {
%attribute %string "display_name"
%attribute %array "groups" {
},
}
-%type ServiceGroup {
+%type ServiceGroup %inherits CustomVarObject {
%attribute %string "display_name"
%attribute %array "groups" {
%attribute %string "action_url",
}
-%type Notification {
+%type Notification %inherits CustomVarObject {
%validator "ValidateNotificationFilters"
%validator "ValidateNotificationUsers"
%attribute %name(Endpoint) "command_endpoint",
}
-%type User {
+%type User %inherits CustomVarObject {
%validator "ValidateUserFilters"
%attribute %string "display_name",
%attribute %string "pager",
}
-%type UserGroup {
+%type UserGroup %inherits CustomVarObject {
%attribute %string "display_name",
%attribute %array "groups" {
},
}
-%type TimePeriod {
+%type TimePeriod %inherits CustomVarObject {
%attribute %string "display_name",
%require "update",
/* } */
}
-%type Command {
+%type Command %inherits CustomVarObject {
%validator "ValidateCommandAttributes",
%require "execute",
}
-%type ScheduledDowntime {
+%type ScheduledDowntime %inherits CustomVarObject {
%require "host_name",
%attribute %name(Host) "host_name",
%attribute %string "service_name",
},
}
-%type Dependency {
+%type Dependency %inherits CustomVarObject {
%validator "ValidateDependencyFilters"
%require "parent_host_name",