mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-05-28 04:34:57 -04:00
sample-config: add Icinga2 templates
This commit is contained in:
parent
2b29640d5b
commit
877739c23e
27 changed files with 111 additions and 2 deletions
|
|
@ -1,3 +1,2 @@
|
|||
[global]
|
||||
[graphite]
|
||||
web_url = http://my.graphite.web
|
||||
host_pattern = base.$osfamily.$osversion.$customer_type.$customer.$hostgroup.$hostname
|
||||
|
|
|
|||
5
sample-config/templates/collectd/templateset.ini
Normal file
5
sample-config/templates/collectd/templateset.ini
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[templateset]
|
||||
name = "Collectd (Sample)"
|
||||
|
||||
[patterns]
|
||||
host = base.$osfamily.$osversion.$customer_type.$customer.$hostgroup.$hostname
|
||||
10
sample-config/templates/icinga2/disk.conf
Normal file
10
sample-config/templates/icinga2/disk.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
title = Disk $disk
|
||||
filter = $icingaService.disk.perfdata.$disk
|
||||
yUnitSystem = si
|
||||
min = 0
|
||||
areaMode = all
|
||||
|
||||
max : color=#44bb77, alias=Size
|
||||
value : color=#ffaa44, alias=Used
|
||||
|
||||
|
||||
11
sample-config/templates/icinga2/hostalive.conf
Normal file
11
sample-config/templates/icinga2/hostalive.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
title = Host alive
|
||||
filter = $icingaHost.hostalive.perfdata
|
||||
min = 0
|
||||
yUnitSystem = msec
|
||||
areaMode = all
|
||||
areaAlpha = 0.4
|
||||
|
||||
rta.value : color=#44bb77, alias=Round trip time
|
||||
pl.value : color=red, alias=Packet loss
|
||||
|
||||
|
||||
9
sample-config/templates/icinga2/http-size.conf
Normal file
9
sample-config/templates/icinga2/http-size.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
title = HTTP response size
|
||||
filter = $icingaService.http.perfdata.size
|
||||
areaMode = first
|
||||
areaAlpha = 0.3
|
||||
yUnitSystem = binary
|
||||
min = 0
|
||||
|
||||
value : color=darkgreen, alias=Response size
|
||||
|
||||
7
sample-config/templates/icinga2/http-time.conf
Normal file
7
sample-config/templates/icinga2/http-time.conf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
title = HTTP response time
|
||||
filter = $icingaService.http.perfdata.time
|
||||
areaMode = first
|
||||
areaAlpha = 0.3
|
||||
|
||||
value : color=orange, alias=Response time
|
||||
|
||||
10
sample-config/templates/icinga2/icinga.conf
Normal file
10
sample-config/templates/icinga2/icinga.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
title = Icinga services
|
||||
filter = $icingaService.icinga.perfdata
|
||||
areaMode = stacked
|
||||
areaAlpha = 0.6
|
||||
lineWidth = 0
|
||||
|
||||
num_services_ok.value : color=green, alias=Services OK
|
||||
num_services_warning.value : color=orange, alias=Services Warning
|
||||
num_services_critical.value : color=red, alias=Services Critical
|
||||
|
||||
10
sample-config/templates/icinga2/load.conf
Normal file
10
sample-config/templates/icinga2/load.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
title = Load
|
||||
filter = $icingaService.load.perfdata
|
||||
areaMode = first
|
||||
areaAlpha = 0.3
|
||||
|
||||
#max = 16
|
||||
load1.value : color=yellow, alias=Load 1
|
||||
load5.value : color=orange, alias=Load 5
|
||||
load15.value: color=red, alias=Load 15
|
||||
|
||||
10
sample-config/templates/icinga2/ping4.conf
Normal file
10
sample-config/templates/icinga2/ping4.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
title = Ping
|
||||
filter = $icingaService.ping4.perfdata
|
||||
min = 0
|
||||
areaMode = all
|
||||
areaAlpha = 0.4
|
||||
|
||||
rta.value : color=#44bb77, alias=Round trip time
|
||||
pl.value : color=red, alias=Packet loss
|
||||
|
||||
|
||||
8
sample-config/templates/icinga2/procs.conf
Normal file
8
sample-config/templates/icinga2/procs.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
title = Process count
|
||||
filter = $icingaService.procs.perfdata.procs
|
||||
areaMode = first
|
||||
areaAlpha = 0.3
|
||||
min = 0
|
||||
|
||||
value : color=blue, alias=Process count
|
||||
|
||||
8
sample-config/templates/icinga2/response-times.conf
Normal file
8
sample-config/templates/icinga2/response-times.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
title = Service response times
|
||||
filter = $icingaService
|
||||
min = 0
|
||||
|
||||
ssh.perfdata.time.value : color=red, alias=SSH
|
||||
http.perfdata.time.value : color=blue, alias=HTTP
|
||||
ping4.perfdata.rta.value : color=green, alias=Ping
|
||||
|
||||
8
sample-config/templates/icinga2/ssh.conf
Normal file
8
sample-config/templates/icinga2/ssh.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
title = SSH response time
|
||||
filter = $icingaService.ssh.perfdata.time
|
||||
areaMode = first
|
||||
areaAlpha = 0.3
|
||||
min = 0
|
||||
|
||||
value : color=red, alias=Response time
|
||||
|
||||
7
sample-config/templates/icinga2/swap.conf
Normal file
7
sample-config/templates/icinga2/swap.conf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
title = Swap
|
||||
filter = $icingaService.swap.perfdata.swap
|
||||
areaMode = stacked
|
||||
yUnitSystem = binary
|
||||
|
||||
value : color=red, alias=Used swap space
|
||||
|
||||
7
sample-config/templates/icinga2/templateset.ini
Normal file
7
sample-config/templates/icinga2/templateset.ini
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[templateset]
|
||||
name = "Icinga 2"
|
||||
|
||||
[patterns]
|
||||
icingaHost = icinga2.$hostname.host
|
||||
icingaService = icinga2.$hostname.services.$service
|
||||
|
||||
Loading…
Reference in a new issue