Configure the NodeSync refresh data interval
Tune the configuration option if necessary to adjust the frequency of refreshing NodeSync status data in OpsCenter Monitoring:
-
To edit all clusters at once, edit
opscenterd.conf, which is located at/etc/opscenter/opscenterd.conffor package installations, or atINSTALL_DIRECTORY/conf/opscenterd.conffor tarball installations.To edit a specific cluster, edit the
CLUSTER_NAME.conffile located at/etc/opscenter/clusters/for package installations, or atINSTALL_DIRECTORY/conf/clusters/for tarball installations.To edit the configuration at the node level, edit
address.yamlfor each applicable node. This file is located at/var/lib/datastax-agent/conf/address.yamlfor package installations, or atINSTALL_DIRECTORY/conf/address.yamlfor tarball installations. -
Set the following option for your environment requirements in the
[nodesync]section:The following configuration example triples the refresh interval from 5 minutes (300 seconds) to 15 minutes (900 seconds):
[nodesync] refresh_period=900The
refresh_periodconfiguration option represents the period of time (in seconds) between each NodeSync service refresh of status data from the NodeSync metrics table. The default is 300 seconds (5 minutes). If a status refresh takes 2 minutes to complete, the refresh period timer starts again and refreshes the NodeSync Status view after another 5 minutes. -
If you made changes to
address.yaml, restart the DataStax agents.