parent
84a2727523
commit
2c38ccda5c
|
@ -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'
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -30,8 +30,7 @@ class EventHistory extends DataView
|
|||
'output',
|
||||
'type',
|
||||
'host',
|
||||
'service',
|
||||
'service_host_name'
|
||||
'service'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue