#Polling interval
1 messages · Page 1 of 1 (latest)
hi @minor kernel by default, config objects are polled every 3m and performance objects are polled every 1m. Can you say more about what you're trying to achieve? What do you mean by Grafana's polling interval? Grafana has an auto-refesh option for dashboards, is that what you mean?
Chris thanks a lot for prompt reply , yes I’m talking about the polling intervals polled from Netapp , I’m trying to see where I can see these settings
It depends on which collector you are using. For example, here is where the interval is defined for all rest templates https://github.com/NetApp/harvest/blob/9b0be64ee6acd81593d5fffc65eb57d7e71ff723/conf/rest/default.yaml#L6 each individual object template can also override those values
if an object template does not override the default.yaml's schedule, the object template will use the schedule defined in the default.yaml
I’m using rest
I tried to find default.yml but I can not find it
I believe nabox4 installs harvest here, so your default.yaml would be /data/packages/harvest/conf/rest/default.yaml
Hi Chris thanks a lot
What I understand that
Counter is 24 - it means mainly hardware level configuration and cluster configuration
Data 3m - it means it collects performance and data metric every 3 minute
Please correct if I’m wrong
that's close. I would say data: 3m means how often each object collector should run to collect config metrics since we're talking about the rest template. Difference is, there are no performance metrics collected, but that nuisance may not be that important for what you're trying to do. These are documented here https://netapp.github.io/harvest/nightly/configure-rest/#collector-configuration-file
Hi Chris I got it as in my poller rest is on top and then restperf so these two are working
And in restperf default.yml I see workload : workload.yml and workloadVolume.yml
And in this resperf I see data as 1 minute but when i do cd to restperf/9.12.0 i see workload.yml and in this i see data as 3m
Then how does it works as in restperf I see data as 1 minute but in workload.yml data is 3m
Can you please explain me this
yes, https://netapp.github.io/harvest/nightly/configure-rest/#parameters The parameters of a collector are distributed across three files: harvest.yml, conf/restperf/default.yaml, and each object has its own configuration file (in your example, conf/restperf/9.12.0/workload.yaml). Except for addr and datacenter, all other parameters of the Rest collector can be defined in either of these three files. Parameters defined in the lower-level files, override parameters in the higher-level ones. This allows you to configure each object individually, or use the same parameters for all objects.
That means conf/restperf/9.12.0/workload.yaml overrides the schedule of conf/restperf/default.yaml and collects data every 3m instead of every 1m
Thanks Chris it’s really nice to know all these info and really thankful to reply so quickly have a great weekend 🙏