Fix incorrect value for the process_performance_data column in the icinga_hosts table

fixes #8544
This commit is contained in:
Gunnar Beutner 2015-03-09 08:12:05 +01:00
parent e50d3e6e5a
commit 3046ad5d5e
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ Dictionary::Ptr HostDbObject::GetConfigFields(void) const
fields->Set("low_flap_threshold", CompatUtility::GetCheckableLowFlapThreshold(host));
fields->Set("high_flap_threshold", CompatUtility::GetCheckableHighFlapThreshold(host));
fields->Set("process_performance_data", 0);
fields->Set("process_performance_data", CompatUtility::GetCheckableProcessPerformanceData(host));
fields->Set("freshness_checks_enabled", CompatUtility::GetCheckableFreshnessChecksEnabled(host));
fields->Set("freshness_threshold", CompatUtility::GetCheckableFreshnessThreshold(host));
@ -164,7 +164,7 @@ Dictionary::Ptr HostDbObject::GetStatusFields(void) const
fields->Set("scheduled_downtime_depth", host->GetDowntimeDepth());
fields->Set("failure_prediction_enabled", Empty);
fields->Set("process_performance_data", 0); /* this is a host which does not process any perf data */
fields->Set("process_performance_data", CompatUtility::GetCheckableProcessPerformanceData(host));
fields->Set("obsess_over_host", Empty);
fields->Set("modified_host_attributes", host->GetModifiedAttributes());
fields->Set("event_handler", CompatUtility::GetCheckableEventHandler(host));