Influx configuration
Required privileges
-
The non-admin user, that is configured for Condition Monitoring ("cm.influxcm.userName" in cm helmchart), needs the following privilege per database: ALL (READ + WRITE)
-
For external InfluxDB you either need to create retention policies yourself or if possible give non-admin user additional CREATE RETENTION POLICY right.
Retention policies
Because of a bug in previous versions (before 4.0.0), the automatic configuration of retention policy durations for the Influx DB, which is created by non-admin user, was not correct. All configured retentions use the same from duration from rp_msm_raw.
With the update to version 4.0.0 the automatic configuration has been fixed, but this does not affect already existing Influx DBs. In order to change the retention policy durations some manual effort is necessary.
Recommended retention policy durations
| Retention Name | Retention Duration | Helm Configuration |
|---|---|---|
rp_event |
180d |
|
rp_msm_raw |
7d |
|
rp_msm_level1 |
45d |
cm_local_influx_msmlevel1retentionpolicyduration |
rp_msm_level2 |
90d |
cm_local_influx_msmlevel2retentionpolicyduration |
rp_msm_level3 |
180d |
cm_local_influx_msmlevel3retentionpolicyduration |
rp_msm_deferred |
1d |
cm_local_influx_msmdeferredretentionpolicyduration |
rp_ppmp_meta_data |
30d |
In order to update the retention policy duration for the given retention use the following query with the Influx DB
ALTER RETENTION POLICY {RetentionName} ON {DatabaseName} DURATION {RetentionDuration}
For more information check out the Influx Documentation at https://archive.docs.influxdata.com/influxdb/v0.9/query_language/database_management/#modify-retention-policies-with-alter-retention-policy