Active IQ Unified Manager Discussions

NetApp Harvest Grafana showing only 2 days of metrics




Grafana is showing only 2 days of metrics only, even after cofniguring the rention more than 2 days. Not sure what is the issue with the configuration.  The retention doesn't update and stay to 86400 (2 days) when runing command.


I followed instruction in different articles and doesn't help, can you pls help me?


[root@]# cat /opt/graphite/conf/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
pattern = ^carbon\.
retentions = 60:90d

pattern = ^netapp(\.poller?)?.perf7\.
retentions = 1m:35d,5m:100d,15m:395d,1h:5y

pattern = ^netapp(\.poller)?\.capacity\.
retentions = 15m:100d,1d:5y

pattern = .*
retentions = 60s:1d





[root@ carbon-cache-a]# /usr/bin/ /opt/graphite/storage/whisper/netapp/perf/SB/SBN/node/SBA1A/aggr/user_write_latency.wsp
maxRetention: 86400
xFilesFactor: 0.5
aggregationMethod: average
fileSize: 17308

Archive 0
retention: 86400
secondsPerPoint: 60
points: 1440
size: 17280
offset: 28




The regex that looks suspicous is


pattern = ^netapp(\.poller?)?.perf7\.

since this will only catch metrics collected from 7-Mode filers. I would expect it to be



pattern = ^netapp(\.poller)?\.perf7?\.

instead, since this will also catch metrics from a cDot system.


Hello Vachagan,


Thx for you reply. I modified regex as suggested but doesn't help.

It seems that it using default value (1min 1 day) and doesn't take into account the config file storage-schemas.conf.


cat /opt/graphite/storage/log/carbon-cache/carbon-cache-a/creates.log
21/08/2019 00:20:15 :: new metric matched schema default_1min_for_1day


Hi, not a Graphite expert, but I suspect that your regex patterns don't catch the counters emitted by Harvest, therefore your default retention schema is applied by Graphite (in your case the default schema is to keep counters 1 day, see the last line in your storage-schemas.conf).


So you can either change the default retention schema, or double-check the regular expressions.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner