Host/Service: provide process_perfdata attribute
This commit is contained in:
parent
4a89c2e163
commit
6095e44064
|
@ -69,7 +69,8 @@ class Host extends MonitoredObject
|
|||
'host_action_url',
|
||||
'host_notes_url',
|
||||
'host_modified_host_attributes',
|
||||
'host_problem'
|
||||
'host_problem',
|
||||
'process_perfdata' => 'host_process_performance_data',
|
||||
))->where('host_name', $this->params->get('host'));
|
||||
return $this->view->getQuery()->fetchRow();
|
||||
}
|
||||
|
|
|
@ -114,6 +114,7 @@ class Service extends MonitoredObject
|
|||
'service_flap_detection_enabled',
|
||||
'service_flap_detection_enabled_changed',
|
||||
'service_modified_service_attributes',
|
||||
'process_perfdata' => 'service_process_performance_data',
|
||||
))->where('host_name', $this->params->get('host'))
|
||||
->where('service_description', $this->params->get('service'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue