parent
f754531e4d
commit
7d25efb93c
|
@ -740,18 +740,6 @@ file { '/etc/icingaweb/modules/monitoring/instances.ini':
|
||||||
group => 'apache',
|
group => 'apache',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/icingaweb/dashboard':
|
|
||||||
ensure => 'directory',
|
|
||||||
owner => 'apache',
|
|
||||||
group => 'apache',
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/etc/icingaweb/dashboard/dashboard.ini':
|
|
||||||
source => 'puppet:////vagrant/config/dashboard/dashboard.ini',
|
|
||||||
owner => 'apache',
|
|
||||||
group => 'apache',
|
|
||||||
}
|
|
||||||
|
|
||||||
# pear::package { 'deepend/Mockery':
|
# pear::package { 'deepend/Mockery':
|
||||||
# channel => 'pear.survivethedeepend.com'
|
# channel => 'pear.survivethedeepend.com'
|
||||||
# }
|
# }
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
[Incidents]
|
|
||||||
title = "Current incidents"
|
|
||||||
|
|
||||||
[Incidents.Service Problems]
|
|
||||||
url = "monitoring/list/services"
|
|
||||||
service_problem = 1
|
|
||||||
limit = 10
|
|
||||||
sort = service_severity
|
|
||||||
|
|
||||||
[Incidents.Recently Recovered Services]
|
|
||||||
url = "monitoring/list/services"
|
|
||||||
sort = "service_last_state_change"
|
|
||||||
service_state = 0
|
|
||||||
limit = 10
|
|
||||||
dir = "desc"
|
|
||||||
|
|
||||||
[Incidents.Host Problems]
|
|
||||||
url = "monitoring/list/hosts"
|
|
||||||
host_problem = 1
|
|
||||||
sort = host_severity
|
|
||||||
|
|
||||||
[Landing]
|
|
||||||
title = "Landing page"
|
|
||||||
|
|
||||||
[Landing.Hostgroups]
|
|
||||||
url = "monitoring/chart/hostgroup"
|
|
||||||
|
|
||||||
[Landing.Servicegroups]
|
|
||||||
url = "monitoring/chart/servicegroup"
|
|
||||||
|
|
||||||
[Landing.Unhandled Problem Services]
|
|
||||||
url = "monitoring/list/services"
|
|
||||||
service_handled = 0
|
|
||||||
service_problem = 1
|
|
||||||
|
|
||||||
[Landing.Unhandled Problem Hosts]
|
|
||||||
url = "monitoring/list/hosts"
|
|
||||||
host_handled = 0
|
|
||||||
host_problem = 1
|
|
|
@ -14,30 +14,4 @@ the objects you're interested in and can add and remove elements.
|
||||||
* The dashboard itself is just the view containing the panes
|
* The dashboard itself is just the view containing the panes
|
||||||
|
|
||||||
|
|
||||||
## Configuration files
|
|
||||||
|
|
||||||
By default, the config/dashboard/dashboard.ini is used for storing dashboards in the following format:
|
|
||||||
|
|
||||||
[PaneName] ; Define a new Pane
|
|
||||||
title = "PaneTitle" ; The title of the pane as displayed in the tabls
|
|
||||||
|
|
||||||
[PaneName.Component1] ; Define a new component 'Component 1' underneat the pane
|
|
||||||
url = "/url/for/component1" ; the url that will be displayed, with view=compact as URL parameter appended
|
|
||||||
height = "500px" ; optional height setting
|
|
||||||
width = "400px" ; optional width setting
|
|
||||||
|
|
||||||
[test.My hosts] ; Another component, here with host
|
|
||||||
url = "monitoring/list/hosts" ; the url of the component
|
|
||||||
; Notice the missing height/width definition
|
|
||||||
|
|
||||||
[test.My services] ; And another pane
|
|
||||||
url = "monitoring/list/services" ; With service url
|
|
||||||
|
|
||||||
[test2] ; Define a second pane
|
|
||||||
title = "test2" ; with the title
|
|
||||||
|
|
||||||
[test2.test] ; Add a component to the second pane
|
|
||||||
url = "/monitoring/show/host/host1" ; ...and define it's url
|
|
||||||
|
|
||||||
|
|
||||||
[dashboards1]: res/Dashboard.png
|
[dashboards1]: res/Dashboard.png
|
||||||
|
|
|
@ -185,8 +185,6 @@ install -D -m0644 packages/rpm/etc/httpd/conf.d/icingaweb.conf %{buildroot}/%{ap
|
||||||
install -D -m0644 packages/rpm/etc/icingaweb/authentication.ini %{buildroot}/%{_sysconfdir}/icingaweb/authentication.ini
|
install -D -m0644 packages/rpm/etc/icingaweb/authentication.ini %{buildroot}/%{_sysconfdir}/icingaweb/authentication.ini
|
||||||
# custom resource paths
|
# custom resource paths
|
||||||
install -D -m0644 packages/rpm/etc/icingaweb/resources.ini %{buildroot}/%{_sysconfdir}/icingaweb/resources.ini
|
install -D -m0644 packages/rpm/etc/icingaweb/resources.ini %{buildroot}/%{_sysconfdir}/icingaweb/resources.ini
|
||||||
# dashboard
|
|
||||||
install -D -m0644 config/dashboard/dashboard.ini %{buildroot}/%{_sysconfdir}/icingaweb/dashboard/dashboard.ini
|
|
||||||
# monitoring module (icinga2)
|
# monitoring module (icinga2)
|
||||||
install -D -m0644 packages/rpm/etc/icingaweb/modules/monitoring/backends.ini %{buildroot}/%{_sysconfdir}/icingaweb/modules/monitoring/backends.ini
|
install -D -m0644 packages/rpm/etc/icingaweb/modules/monitoring/backends.ini %{buildroot}/%{_sysconfdir}/icingaweb/modules/monitoring/backends.ini
|
||||||
install -D -m0644 packages/rpm/etc/icingaweb/modules/monitoring/instances.ini %{buildroot}/%{_sysconfdir}/icingaweb/modules/monitoring/instances.ini
|
install -D -m0644 packages/rpm/etc/icingaweb/modules/monitoring/instances.ini %{buildroot}/%{_sysconfdir}/icingaweb/modules/monitoring/instances.ini
|
||||||
|
|
Loading…
Reference in New Issue