I have actually the Problem that my Grafana shows “No Data” or a straight line at 0 on other informations. Error.logs are saying nothing. Its running on a Debian 10 machine.
Here are my configs for carbon
carbon.conf:
[cache]
DATABASE = whisperENABLE_LOGROTATION = True
USER =
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = 500
MAX_CREATES_PER_MINUTE = 50
MIN_TIMESTAMP_RESOLUTION = 1
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003ENABLE_UDP_LISTENER = False
UDP_RECEIVER_INTERFACE = 0.0.0.0
UDP_RECEIVER_PORT = 2003PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004PICKLE_RECEIVER_MAX_LENGTH = 1048576
USE_INSECURE_UNPICKLER = False
CACHE_QUERY_INTERFACE = 0.0.0.0 CACHE_QUERY_PORT = 7002
USE_FLOW_CONTROL = True
LOG_UPDATES = False
LOG_CREATES = False
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = FalseCACHE_WRITE_STRATEGY = sorted
WHISPER_AUTOFLUSH = False
WHISPER_FALLOCATE_CREATE = True
ENABLE_TAGS = False
[relay]
LINE_RECEIVER_INTERFACE = 127.0.0.1
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 127.0.0.1
PICKLE_RECEIVER_PORT = 2014
PICKLE_RECEIVER_MAX_LENGTH = 1048576RELAY_METHOD = rules
REPLICATION_FACTOR = 1
DESTINATIONS = 127.0.0.1:2004
MAX_QUEUE_SIZE = 10000
MAX_DATAPOINTS_PER_MESSAGE = 500
QUEUE_LOW_WATERMARK_PCT = 0.8
TIME_TO_DEFER_SENDING = 0.0001
USE_FLOW_CONTROL = True
USE_RATIO_RESET=False
MIN_RESET_STAT_FLOW=1000
MIN_RESET_RATIO=0.9
MIN_RESET_INTERVAL=121
[aggregator]
LINE_RECEIVER_INTERFACE = 0.0.0.0 LINE_RECEIVER_PORT = 2023PICKLE_RECEIVER_INTERFACE = 0.0.0.0 PICKLE_RECEIVER_PORT = 2024
FORWARD_ALL = True
DESTINATIONS = 127.0.0.1:2004
REPLICATION_FACTOR = 1
MAX_QUEUE_SIZE = 10000
USE_FLOW_CONTROL = True
MAX_DATAPOINTS_PER_MESSAGE = 500
MAX_AGGREGATION_INTERVALS = 5
CARBON_CACHE_ENABLED = true
graphite.wsgi:
import sys
sys.path.append(‘/opt/graphite/webapp’)
from graphite.wsgi import application
storage-aggregation.conf:
[min]
pattern = .min$
xFilesFactor = 0.1
aggregationMethod = min[max]
pattern = .max$
xFilesFactor = 0.1
aggregationMethod = max[sum]
pattern = .count$
xFilesFactor = 0
aggregationMethod = max[default_average]
pattern = .*
xFilesFactor = 0.5
aggregationMethod = average
storage-schemas.conf
[carbon]
pattern = ^carbon.
retentions = 60s:90d[icinga2_internals]
pattern = ^icinga2..*.(max_check_attempts|reachable|current_attempt|execution_time|latency|state|state_type)
retentions = 60s:1d,1m:2d,5m:7d,5m:10d,5m:31d,5m:30d,30m:90d,360m:1y,360m:4y[icinga2_default]
pattern = ^icinga2.
retentions = 1m:1d,5m:7d,30m:30d,1h:1y,1d:4y[default_1min_for_1day]
pattern = .*
retentions = 1m:1d,5m:7d,30m:30d,1h:1y,1d:4y
Here is a picture of my Grafana Dashboard so you can see what i mean: