#Polling interval

1 messages · Page 1 of 1 (latest)

minor kernel
#

Hi All ,

I Am looking for all polling intervals as I’m running now NAbox4, is it possible to decrease the polling interval for grafana dashboard

I tried to poke around in the harvest documents but could not find anything , also looked in NAbox documents but no luck

Thank you

steel jewel
#

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?

minor kernel
steel jewel
#

if an object template does not override the default.yaml's schedule, the object template will use the schedule defined in the default.yaml

minor kernel
#

I’m using rest

minor kernel
steel jewel
#

I believe nabox4 installs harvest here, so your default.yaml would be /data/packages/harvest/conf/rest/default.yaml

minor kernel
steel jewel
minor kernel
# steel jewel that's close. I would say `data: 3m` means how often each object collector shoul...

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

steel jewel
#

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

minor kernel