mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 21:34:28 +02:00
Add self provided configuration for dashlets in monitoring module
refs #6639
This commit is contained in:
parent
af0cf48197
commit
bae5ba2352
@ -125,10 +125,18 @@ $section->add($this->translate('Performance Info'), array(
|
|||||||
));
|
));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* Dashboard
|
||||||
$dashboard = $this->dashboard('Current Incidents'); // Web\Widget\Dashboard\Pane
|
*/
|
||||||
$dashboard->add('Service Problems', array(
|
$dashboard = $this->dashboard($this->translate('Current Incidents'));
|
||||||
|
$dashboard->add(
|
||||||
));
|
$this->translate('Service Problems'),
|
||||||
|
'monitoring/list/services?service_problem=1&limit=10&sort=service_severity'
|
||||||
*/
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Recently Recovered Services'),
|
||||||
|
'monitoring/list/services?service_state=0&limit=10&sort=service_last_state_change&dir=desc'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Host Problems'),
|
||||||
|
'monitoring/list/hosts?host_problem=1&sort=host_severity'
|
||||||
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user