Monitoring/Object: re-add process_perfdata
We would live better with unique column names on hosts and services * Got introduced in6095e440
and removed inc0e34473
* 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:
parent
95f9bebdc5
commit
18bd49e636
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue