Mikesch-mp / icingaweb2-module-grafana

Grafana module for Icinga Web 2 (supports InfluxDB & Graphite)
https://icinga.com/community/
GNU General Public License v2.0
241 stars 95 forks source link

Data removed after few hours #148

Closed jorfermo closed 6 years ago

jorfermo commented 6 years ago

I managed to get the module running. It's displaying the charts but it only retains a few hours of data.

This is the content of /etc/carbon/storage-schemas.conf:

# Schema definitions for Whisper files. Entries are scanned in order,
# and first match wins. This file is scanned for changes every 60 seconds.
#
#  [name]
#  pattern = regex
#  retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, ...

# Carbon's internal metrics. This entry should match what is specified in
# CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings
[carbon]
pattern = ^carbon\.
retentions = 60s:90d

[default_1min_for_1day]
pattern = .*
retentions = 60s:90d

Shouldn't it retain the data for 90 days? Is there any other file where the retention time is set?

Environment

Mikesch-mp commented 6 years ago

Hello @jorfermo ,

iam not a graphite specialist :) But i knew that this questions come up often. Maybe one of this topcis will help you Graphite not showing older data or Graphite not showing Data older than a week.

if this doesnt help, create an account @monitoring-portal.org and ask the community :)

Best regards, Carsten

jorfermo commented 6 years ago

Thanks a lot Carsten.

That info solved my problem :) 👍