Monitoring/Object: re-add process_perfdata

We would live better with unique column names on hosts and services

* Got introduced in 6095e440 and removed in c0e34473
* This might be a canditate for a regression test, as only graphers (PNP) are using this columns right now
* It makes IMO absolutely no sense to keep all those long column names in that object classes
This commit is contained in:
Thomas Gelf 2014-11-01 01:47:55 +01:00
parent 95f9bebdc5
commit 18bd49e636
2 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,8 @@ class Host extends MonitoredObject
'host_notes_url', 'host_notes_url',
'host_modified_host_attributes', 'host_modified_host_attributes',
'host_problem', 'host_problem',
'host_process_performance_data' 'host_process_performance_data',
'process_perfdata' => 'host_process_performance_data'
)) ))
->where('host_name', $this->host); ->where('host_name', $this->host);
} }

View File

@ -191,6 +191,7 @@ class Service extends MonitoredObject
'service_flap_detection_enabled_changed', 'service_flap_detection_enabled_changed',
'service_modified_service_attributes', 'service_modified_service_attributes',
'service_process_performance_data', 'service_process_performance_data',
'process_perfdata' => 'service_process_performance_data',
'service_percent_state_change', 'service_percent_state_change',
'service_host_name' 'service_host_name'
)) ))