Skip to content

Commit 79d994c

Browse files
authored
M #-: Add known issue about forecast configuration (#234)
1 parent a9b1f19 commit 79d994c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

content/software/release_information/release_notes_70/known_issues.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,29 @@ Environment="no_proxy=domain1,domain2"
6060
```
6161

6262
Where `proxy_server` is the proxy server to be used and `no_proxy` is a list of the domains or IP ranges that must not be accessed via proxy by opennebula. After that, reload systemd service configuration with `systemctl daemon-reload` and restart opennebula with a `systemctl restart opennebula`
63+
64+
## Monitoring
65+
66+
When configuring resource usage forecasts, it is important to ensure that the `forecast period` is **not shorter** than the `probe period` defined for `MONITOR_HOST`and `MONITOR_VM`in the `/etc/one/monitord.conf`. If the forecast period is set to a value smaller than the monitoring interval, the prediction probe will raise an error and may disable monitoring for the affected Host and VMs.
67+
68+
By default, the monitoring interval for a Host is two minutes. In the following example, the forecast period is set to one minute, which is shorter than the host's monitoring interval (two minutes). This **misconfiguration** will result in an error and place the host in an error state:
69+
70+
```yaml
71+
host:
72+
db_retention: 4 # Number of weeks
73+
forecast:
74+
enabled: true
75+
period: 1 # Number of minutes
76+
lookback: 60 # The look-back windows in minutes to use for the predictions
77+
```
78+
79+
To avoid this error, always set the forecast period a value **equal to or greater** than the monitoring interval. For example, if the Host monitoring interval is two minutes, the forecast period should be set to at least two minutes:
80+
81+
```yaml
82+
host:
83+
db_retention: 4 # Number of weeks
84+
forecast:
85+
enabled: true
86+
period: 2 # Number of minutes
87+
lookback: 60 # Look-back window in minutes for predictions
88+
```

0 commit comments

Comments
 (0)