Skip to content

Commit

Permalink
parent_affecting_logging: a group affects everything in it
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Aug 15, 2023
1 parent 89b3a0f commit f87b07d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/icinga/host.ti
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Host : Checkable
load_after Endpoint;
load_after Zone;

[config, no_user_modify, required, signal_with_old_value] array(name(HostGroup)) groups {
[config, no_user_modify, required, signal_with_old_value, parent_affecting_logging] array(name(HostGroup)) groups {
default {{{ return new Array(); }}}
};

Expand Down
2 changes: 1 addition & 1 deletion lib/icinga/hostgroup.ti
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class HostGroup : CustomVarObject
}}}
};

[config, no_user_modify] array(name(HostGroup)) groups;
[config, no_user_modify, parent_affecting_logging] array(name(HostGroup)) groups;
[config] String notes;
[config] String notes_url;
[config] String action_url;
Expand Down
2 changes: 1 addition & 1 deletion lib/icinga/service.ti
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Service : Checkable < ServiceNameComposer
load_after Host;
load_after Zone;

[config, no_user_modify, required, signal_with_old_value] array(name(ServiceGroup)) groups {
[config, no_user_modify, required, signal_with_old_value, parent_affecting_logging] array(name(ServiceGroup)) groups {
default {{{ return new Array(); }}}
};

Expand Down
2 changes: 1 addition & 1 deletion lib/icinga/servicegroup.ti
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ServiceGroup : CustomVarObject
}}}
};

[config, no_user_modify] array(name(ServiceGroup)) groups;
[config, no_user_modify, parent_affecting_logging] array(name(ServiceGroup)) groups;
[config] String notes;
[config] String notes_url;
[config] String action_url;
Expand Down
2 changes: 1 addition & 1 deletion lib/icinga/user.ti
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class User : CustomVarObject
return displayName;
}}}
};
[config, no_user_modify, required, signal_with_old_value] array(name(UserGroup)) groups {
[config, no_user_modify, required, signal_with_old_value, parent_affecting_logging] array(name(UserGroup)) groups {
default {{{ return new Array(); }}}
};
[config, navigation] name(TimePeriod) period (PeriodRaw) {
Expand Down
2 changes: 1 addition & 1 deletion lib/icinga/usergroup.ti
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UserGroup : CustomVarObject
}}}
};

[config, no_user_modify] array(name(UserGroup)) groups;
[config, no_user_modify, parent_affecting_logging] array(name(UserGroup)) groups;
};

}

0 comments on commit f87b07d

Please sign in to comment.