mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
Merge branch 'feature/provide-additional-dashboard-panes-6144'
resolves #6144
This commit is contained in:
commit
fcd9315263
@ -227,7 +227,7 @@ $section->add($this->translate('Monitoring Health'), array(
|
|||||||
));
|
));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Dashboard
|
* Current Incidents
|
||||||
*/
|
*/
|
||||||
$dashboard = $this->dashboard($this->translate('Current Incidents'));
|
$dashboard = $this->dashboard($this->translate('Current Incidents'));
|
||||||
$dashboard->add(
|
$dashboard->add(
|
||||||
@ -243,6 +243,103 @@ $dashboard->add(
|
|||||||
'monitoring/list/hosts?host_problem=1&sort=host_severity'
|
'monitoring/list/hosts?host_problem=1&sort=host_severity'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Overview
|
||||||
|
*/
|
||||||
|
$dashboard = $this->dashboard($this->translate('Overview'));
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Service Grid'),
|
||||||
|
'monitoring/list/servicegrid?limit=15,18'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Service Groups'),
|
||||||
|
'/monitoring/list/servicegroups'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Host Groups'),
|
||||||
|
'/monitoring/list/hostgroups'
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Most Overdue
|
||||||
|
*/
|
||||||
|
$dashboard = $this->dashboard($this->translate('Overdue'));
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Acknowledgements Active For At Least Three Days'),
|
||||||
|
'monitoring/list/comments?comment_type=Ack&comment_timestamp<-3 days&sort=comment_timestamp&dir=asc'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Downtimes Active For More Than Three Days'),
|
||||||
|
'monitoring/list/downtimes?downtime_is_in_effect=1&downtime_scheduled_start<-3%20days&sort=downtime_start&dir=asc'
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Muted Objects
|
||||||
|
*/
|
||||||
|
$dashboard = $this->dashboard($this->translate('Muted'));
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Disabled Service Notifications'),
|
||||||
|
'monitoring/list/services?service_notifications_enabled=0&limit=10'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Disabled Host Notifications'),
|
||||||
|
'monitoring/list/hosts?host_notifications_enabled=0&limit=10'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Disabled Service Checks'),
|
||||||
|
'monitoring/list/services?service_active_checks_enabled=0&limit=10'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Disabled Host Checks'),
|
||||||
|
'monitoring/list/hosts?host_active_checks_enabled=0&limit=10'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Acknowledged Problem Services'),
|
||||||
|
'monitoring/list/services?service_acknowledgement_type=2&service_problem=1&sort=service_state&limit=10'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Acknowledged Problem Hosts'),
|
||||||
|
'monitoring/list/hosts?host_acknowledgement_type=2&host_problem=1&sort=host_severity&limit=10'
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Activity Stream
|
||||||
|
*/
|
||||||
|
$dashboard = $this->dashboard($this->translate('Activity Stream'));
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Recent Events'),
|
||||||
|
'monitoring/list/eventhistory?timestamp>=-3%20days&sort=timestamp&dir=desc&limit=8'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Recent Hard State Changes'),
|
||||||
|
'monitoring/list/eventhistory?timestamp>=-3%20days&type=hard_state&sort=timestamp&dir=desc&limit=8'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Recent Notifications'),
|
||||||
|
'monitoring/list/eventhistory?timestamp>=-3%20days&type=notify&sort=timestamp&dir=desc&limit=8'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Recent Downtimes Started'),
|
||||||
|
'monitoring/list/eventhistory?timestamp>=-3%20days&type=dt_start&sort=timestamp&dir=desc&limit=8'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Recent Downtimes Ended'),
|
||||||
|
'monitoring/list/eventhistory?timestamp>=-3%20days&type=dt_end&sort=timestamp&dir=desc&limit=8'
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Stats
|
||||||
|
*/
|
||||||
|
$dashboard = $this->dashboard($this->translate('Stats'));
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Check Stats'),
|
||||||
|
'monitoring/health/stats'
|
||||||
|
);
|
||||||
|
$dashboard->add(
|
||||||
|
$this->translate('Process Information'),
|
||||||
|
'monitoring/health/info'
|
||||||
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CSS
|
* CSS
|
||||||
*/
|
*/
|
||||||
|
@ -58,7 +58,8 @@ class HostStatus extends DataView
|
|||||||
'host_modified_host_attributes',
|
'host_modified_host_attributes',
|
||||||
'host_severity',
|
'host_severity',
|
||||||
'host_problem',
|
'host_problem',
|
||||||
'host_ipv4'
|
'host_ipv4',
|
||||||
|
'host_acknowledgement_type'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,8 @@ class ServiceStatus extends DataView
|
|||||||
'service_flap_detection_enabled',
|
'service_flap_detection_enabled',
|
||||||
'service_flap_detection_enabled_changed',
|
'service_flap_detection_enabled_changed',
|
||||||
'service_modified_service_attributes',
|
'service_modified_service_attributes',
|
||||||
'service_host_name'
|
'service_host_name',
|
||||||
|
'service_acknowledgement_type'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user