mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
Dependency: Don't allow to update {period,states,ignore_soft_states}
at runtime
This commit is contained in:
parent
a9bb11b16d
commit
21cd5e00fa
@ -81,16 +81,16 @@ class Dependency : CustomVarObject < DependencyNameComposer
|
|||||||
|
|
||||||
[config, no_user_modify] String redundancy_group;
|
[config, no_user_modify] String redundancy_group;
|
||||||
|
|
||||||
[config, navigation] name(TimePeriod) period (PeriodRaw) {
|
[config, no_user_modify, navigation] name(TimePeriod) period (PeriodRaw) {
|
||||||
navigate {{{
|
navigate {{{
|
||||||
return TimePeriod::GetByName(GetPeriodRaw());
|
return TimePeriod::GetByName(GetPeriodRaw());
|
||||||
}}}
|
}}}
|
||||||
};
|
};
|
||||||
|
|
||||||
[config] array(Value) states;
|
[config, no_user_modify] array(Value) states;
|
||||||
[no_user_view, no_user_modify] int state_filter_real (StateFilter);
|
[no_user_view, no_user_modify] int state_filter_real (StateFilter);
|
||||||
|
|
||||||
[config] bool ignore_soft_states {
|
[config, no_user_modify] bool ignore_soft_states {
|
||||||
default {{{ return true; }}}
|
default {{{ return true; }}}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user