Alertsummary: Do not fetch more columns than necessary..

This commit is contained in:
Johannes Meyer 2015-04-09 14:29:26 +02:00
parent 2c38ccda5c
commit 044a15d113
1 changed files with 2 additions and 17 deletions

View File

@ -210,12 +210,7 @@ class Monitoring_AlertsummaryController extends Controller
$query = $this->backend->select()->from( $query = $this->backend->select()->from(
'notification', 'notification',
array( array(
'host', 'notification_start_time'
'service',
'notification_output',
'notification_contact',
'notification_start_time',
'notification_state'
) )
); );
@ -265,17 +260,7 @@ class Monitoring_AlertsummaryController extends Controller
$query = $this->backend->select()->from( $query = $this->backend->select()->from(
'eventHistory', 'eventHistory',
array( array(
'host_name', 'timestamp'
'service_description',
'object_type',
'timestamp',
'state',
'attempt',
'max_attempts',
'output',
'type',
'host',
'service'
) )
); );