EventHistoryQuery: Drop column `service_host_name'

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-09 14:19:31 +02:00
parent 84a2727523
commit 2c38ccda5c
3 changed files with 4 additions and 7 deletions

View File

@ -263,7 +263,7 @@ class Monitoring_AlertsummaryController extends Controller
$interval = $this->getInterval();
$query = $this->backend->select()->from(
'EventHistory',
'eventHistory',
array(
'host_name',
'service_description',
@ -275,8 +275,7 @@ class Monitoring_AlertsummaryController extends Controller
'output',
'type',
'host',
'service',
'service_host_name'
'service'
)
);

View File

@ -40,8 +40,7 @@ class EventHistoryQuery extends IdoQuery
'attempt' => 'eh.attempt',
'max_attempts' => 'eh.max_attempts',
'output' => 'eh.output', // we do not want long_output
'type' => 'eh.type',
'service_host_name' => 'eho.name1 COLLATE latin1_general_ci'
'type' => 'eh.type'
),
'hostgroups' => array(
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',

View File

@ -30,8 +30,7 @@ class EventHistory extends DataView
'output',
'type',
'host',
'service',
'service_host_name'
'service'
);
}