Alertsummary: Do not fetch more columns than necessary..
This commit is contained in:
parent
2c38ccda5c
commit
044a15d113
|
@ -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'
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue