mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
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…
x
Reference in New Issue
Block a user