carbon-aggregator.py not aggregating.
I have written an aggregation rule to do sum on the incoming metrics from different hosts. Somehow this is not working. I am quite a newbie and please forgive my question if this is quite stupid :-) Any help would be really great.
Do i need to have carbon-relay running to do aggregation? Who forwards the metric from carbon-cache to carbon-aggregator? Who should be connecting to the port 2023/2024?
[vimau conf]$ cat aggregation-
stats.gauges.
[vimau conf]$
My metric name is correct because i am able to see the whisper file properly (when i formulate the path by replacing '.'s with '/')
../storage/
../storage/
[vimau conf]$ grep -v ^# carbon.conf | grep -v '^$'
[cache]
GRAPHITE_ROOT = /opt/graphite
STORAGE_DIR = /opt/graphite/
LOCAL_DATA_DIR = /opt/graphite/
WHITELISTS_DIR = /opt/graphite/
CONF_DIR = /opt/graphite/
LOG_DIR = /opt/graphite/
PID_DIR = /opt/graphite/
LOCAL_DATA_DIR = /opt/graphite/
USER =
MAX_CACHE_SIZE = inf
MAX_UPDATES_
MAX_CREATES_
LINE_RECEIVER_
LINE_RECEIVER_PORT = 2003
ENABLE_UDP_LISTENER = False
UDP_RECEIVER_
UDP_RECEIVER_PORT = 2003
PICKLE_
PICKLE_
USE_INSECURE_
CACHE_QUERY_
CACHE_QUERY_PORT = 7002
USE_FLOW_CONTROL = True
LOG_UPDATES = False
WHISPER_AUTOFLUSH = False
[relay]
LINE_RECEIVER_
LINE_RECEIVER_PORT = 2013
PICKLE_
PICKLE_
RELAY_METHOD = rules
REPLICATION_FACTOR = 1
DESTINATIONS = 127.0.0.1:2004
MAX_DATAPOINTS_
MAX_QUEUE_SIZE = 10000
USE_FLOW_CONTROL = True
[aggregator]
LINE_RECEIVER_
LINE_RECEIVER_PORT = 2023
PICKLE_
PICKLE_
DESTINATIONS = 127.0.0.1:2004
REPLICATION_FACTOR = 1
MAX_QUEUE_SIZE = 10000
USE_FLOW_CONTROL = True
MAX_DATAPOINTS_
MAX_AGGREGATION
[vimau conf]$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Michael Leinartas
- Solved:
- Last query:
- Last reply: