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