Grafana – data points missing

No data points in grafana:

grafana-no-data-points

I found out that my grafana had no data points in the 7 days view. My new icinga2 check worked correctly and produced the right data.

The problem:

nano /etc/icinga2/zones.d/master/services/disks.conf

import "10minute-service"

In my apply service declaration i defined the check as a 10 minute service.

In my carbon config i have defined the retentions:

nano /etc/carbon/storage-schemas.conf

[default_1min_for_1day]
pattern = .*
#retentions = 60s:1d
retentions = 1m:2d,5m:10d,30m:90d,360m:4y

As you can see i don’t have a setting for 10 minutes. If you add this timespan your graphs should work again.

[default_1min_for_1day]
pattern = .*
#retentions = 60s:1d
retentions = 1m:2d,5m:10d,10m:20d,30m:90d,360m:4y

You need to delete the whisper file and restart the services/reboot to get it working.

rm /var/lib/graphite/whisper/icinga2/homeserver_mattionline_lan/services/shm/disk/perfdata/_dev_shm/value.wsp
reboot

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.