I’ve got a problem with Graphite. I am using Graphite on fist server, Ubuntu installation of Graphite, and Icinga2 with Icingaweb2 on the second separated server. My Graphite configuration allows me to check and display metrics and graphs only one day back. I need to increase history, to be able to check it about six months back. I have tried to set it up in /etc/carbon/storage-schemas.conf this way:
Graphites storage schema in combination with Icinga is tricky sometimes. Configuring a storage schema in graphite that does not match the check interval can lead to a state where Graphite can not properly aggregate the metrics. Hence, you will have (large) gaps in your graphs.
Thank you for your factual advices, I have changed my .wsp files according my storage-schemas.conf file(using command sequence find ./ -type f -name ‘*.wsp’ -exec /usr/bin/whisper-resize --nobackup {} 15m:186d ; ) and let you know how this will work. Than I will consider changing my storage-schemas.conf file according to the information published on Icinga docs.
I found out today that during updating .wsp files I mistakenly changed rights of them and all my graphs dissapeared, so I will let you know tomorow, how does it end. The message is “Be carefull with whisper-resize script. It is changing .wsp files owner when you execute it as root.”