Graphite not showing Data older than a week



this could help me too, in which file is this information to be added?


(Thomas Widhalm) #22


(Christian Moritz) #23

ive got a mad problem…

one some of my hosts i can see the graphs from graphite/carbon only for the badly 1 day…
and on other hosts i can see all like 1 week, 1 month.
and more stupid…
somethimes i got the issue with the “1 day graph” on all hosts ??? some minutes later it is working again fine with the scaling from the graph.

this is my carbon-storrage config:

pattern = ^carbon\.
retentions = 60:90d

pattern = ^icinga2\.
retentions = 1m:2y,5m:3y,30m:4y,360m:5y

pattern = ^icinga2\..*\.(max_check_attempts|reachable|current_attempt|execution_time|latency|state|state_type)
retentions = 5m:7d

pattern = .*
retentions = 60s:1d

my icinga versions…
Icinga2: 2.9.1
Icingaweb2: v2.6.1
director: 1.5.1
graphite: 1.1.0
vsphere: 1.1.0

BTW: my manager wants these carbon storrage settings to get his SLA quota properly monitored and reported…


No you don’t have do delete them
There are whisper scripts that you can use to change the aggregation of the whisper files

You can change your whisper files with something like this:

sudo -u _graphite find /var/lib/graphite/whisper/icinga2/$YOURHOSTNAMEHERE/services/ -type f -name '*.wsp' -exec python /etc/graphite/ {} --nobackup 60s:14d 120s:90d 15360s:360d \;

If the command is not clear to you just come back on me


I am not entirely sure if this is the root of you problems but I would change

pattern = ^icinga2\.
retentions = 1m:2y,5m:3y,30m:4y,360m:5y


pattern = ^icinga2\..*  <--
retentions = 1m:2y,5m:3y,30m:4y,360m:5y

And then of coures move your rule for internals above the icinga2_default scheme

(Christian Moritz) #26

my problem is, sometimes it works fine… and somethimes ive got the graph issue.
so it cant be somethin insight the carbon cashe storrage shema config.


Well that depends what storage schema was applicable at the time the whisper files were created.

But maybe it makes sense to start a new topic about your issue