Hello community,
I’m currently stumbling upon issues with visualizing performance data from Icinga2 with Graphite + Grafana.
Problem:
Performance data older than 6 hours are deleted from Graphite. Leveraging performance data up to 6 hours of age works perfectly.
I’m using thes storage-schemas.conf
from the official Icinga2 vagrant boxes.
Setup / Envrionment:
Icinga2 is running on a virtualized Debian Jessie machine.
Beside Icinga2, also Docker CE is installed. Graphite and Grafana are running in containers.
storage-schemas.conf
:
[carbon]
pattern = ^carbon\.
retentions = 10s:6h,1m:90d
[default_1min_for_1day]
pattern = .*
retentions = 10s:6h,1m:6d,10m:1800d
[icinga2_internals]
pattern = ^icinga2\..*\.(max_check_attempts|reachable|current_attempt|execution_time|latency|state|state_type)
retentions = 5m:7d
[icinga2_default]
pattern = ^icinga2\.
retentions = 5m:10d,30m:90d,360m:4y
docker-compose.yml
for Graphite / Grafana:
version: '2'
services:
graphite:
image: graphiteapp/graphite-statsd
restart: always
ports:
- "80:80"
- "2003:2003"
- "2004:2004"
- "8125:8125/udp"
- "8126:8126"
volumes:
- storage:/opt/graphite/storage
- ./storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf:ro
grafana:
image: grafana/grafana
restart: always
ports:
- "3000:3000"
volumes:
storage:
Versions:
Icinga 2 - 2.10.4-1.jessie
Docker Community Edition - 18.06.3~ce~3-0~debian
Graphite container image - 1d7b81067e37 (March 2019)
Grafana container image - d9bdb6044027 (April 2019)
Do you have any hints how to process performance data that is older than 6 hours?
Thanks a lot in advance!
Best wishes,
Christian.