mirror of https://github.com/Icinga/icinga2.git
ido: Add modified_attributes.
This commit is contained in:
parent
177e1a9000
commit
53ca2d3916
|
@ -178,6 +178,7 @@ Dictionary::Ptr HostDbObject::GetStatusFields(void) const
|
||||||
fields->Set("normal_check_interval", attrs->Get("check_interval"));
|
fields->Set("normal_check_interval", attrs->Get("check_interval"));
|
||||||
fields->Set("retry_check_interval", attrs->Get("retry_interval"));
|
fields->Set("retry_check_interval", attrs->Get("retry_interval"));
|
||||||
fields->Set("check_timeperiod_object_id", service->GetCheckPeriod());
|
fields->Set("check_timeperiod_object_id", service->GetCheckPeriod());
|
||||||
|
fields->Set("modified_attributes", attrs->Get("modified_attributes"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fields->Set("has_been_checked", 0);
|
fields->Set("has_been_checked", 0);
|
||||||
|
|
|
@ -197,6 +197,7 @@ Dictionary::Ptr ServiceDbObject::GetStatusFields(void) const
|
||||||
fields->Set("normal_check_interval", attrs->Get("check_interval"));
|
fields->Set("normal_check_interval", attrs->Get("check_interval"));
|
||||||
fields->Set("retry_check_interval", attrs->Get("retry_interval"));
|
fields->Set("retry_check_interval", attrs->Get("retry_interval"));
|
||||||
fields->Set("check_timeperiod_object_id", service->GetCheckPeriod());
|
fields->Set("check_timeperiod_object_id", service->GetCheckPeriod());
|
||||||
|
fields->Set("modified_attributes", attrs->Get("modified_attributes"));
|
||||||
|
|
||||||
return fields;
|
return fields;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue