Advanced forecast configuration
The default forecasting options are configurable by adding a [forecasting] section to the opscenterd.conf file or the cluster_name.conf files.
-
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. -
Add a
[forecasting]section with the following available configuration options:-
[forecasting] range_multiplier: The multiplier for the query range needed to produce forecasts. The default multiplier is 3.
-
[forecasting] required_data_percentage: Minimum percent of past data required to forecast. The default value is 0.5.
To generate a meaningful prediction, historical data is analyzed for a longer period than the range being forecasted. The default range multiplier is three times larger than the range being forecasted. For example, to forecast one month into the future, three months of data is analyzed.
The following example decreases the default range multiplier for the forecast timeframe, and decreases the required percentage amount of historical data, which might be necessary for a newer cluster to forecast a trend. If there is not enough data when forecasting, an error indicates less than 50 percent of the required past data was available. After a cluster has more historical data to work with, increasing the forecasting configuration values can increase the accuracy of forecasted trends.
[forecasting] range_multiplier = 3 required_data_percentage = 0.25
-
-
Save the configuration file or files.
-
Restart the OpsCenter daemon.