parent
84a2727523
commit
2c38ccda5c
|
@ -263,7 +263,7 @@ class Monitoring_AlertsummaryController extends Controller
|
||||||
$interval = $this->getInterval();
|
$interval = $this->getInterval();
|
||||||
|
|
||||||
$query = $this->backend->select()->from(
|
$query = $this->backend->select()->from(
|
||||||
'EventHistory',
|
'eventHistory',
|
||||||
array(
|
array(
|
||||||
'host_name',
|
'host_name',
|
||||||
'service_description',
|
'service_description',
|
||||||
|
@ -275,8 +275,7 @@ class Monitoring_AlertsummaryController extends Controller
|
||||||
'output',
|
'output',
|
||||||
'type',
|
'type',
|
||||||
'host',
|
'host',
|
||||||
'service',
|
'service'
|
||||||
'service_host_name'
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,7 @@ class EventHistoryQuery extends IdoQuery
|
||||||
'attempt' => 'eh.attempt',
|
'attempt' => 'eh.attempt',
|
||||||
'max_attempts' => 'eh.max_attempts',
|
'max_attempts' => 'eh.max_attempts',
|
||||||
'output' => 'eh.output', // we do not want long_output
|
'output' => 'eh.output', // we do not want long_output
|
||||||
'type' => 'eh.type',
|
'type' => 'eh.type'
|
||||||
'service_host_name' => 'eho.name1 COLLATE latin1_general_ci'
|
|
||||||
),
|
),
|
||||||
'hostgroups' => array(
|
'hostgroups' => array(
|
||||||
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',
|
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',
|
||||||
|
|
|
@ -30,8 +30,7 @@ class EventHistory extends DataView
|
||||||
'output',
|
'output',
|
||||||
'type',
|
'type',
|
||||||
'host',
|
'host',
|
||||||
'service',
|
'service'
|
||||||
'service_host_name'
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue