Starting with InfiniMetrics release 5.0, users can view and set the data retention time of monitored systems. The retention time is the length of time, in months, that InfiniMetrics stores the system data.
The default retention time is 12 months.
- If the size of your data increases very rapidly, consider shortening the retention time.
You can increase the data retention time to a maximum of 36 months.
Ensure that enough storage is allocated to InfiniMetrics for all the data that accumulates during the retention time. If needed, increase the storage capacity allocated to InfiniMetrics.
See: https://support.infinidat.com/hc/en-us/articles/360003083338
Viewing the list of retention times for each monitored system
SSH to the InfiniMetrics VM as root. If a different value has not been set for the password, the root password is nfinidat1
|
All the systems are listed. The information displayed includes the retention time and database size of each system.
Example
root@sales-infinimetrics:~# infinimetrics retention list SERIAL ENABLED VISIBLE DB Size RETENTION (months) -------- --------- --------- --------- -------------------- 1966 True True 0.00 12 2373 True True 2.60 12 2383 True True 1.72 12 2811 True True 4.07 12 3442 True True 1.11 12 3467 True True 1.08 12 3752 True True 0.05 12 30352 True True 0.04 12 30353 True True 0.05 12 root@sales-infinimetrics:~#
Changing the retention time
To set the retention time for all the given systems' serials, run:
|
serial - A list of one or more serials to update.
- If serials are not provided, the command updates ALL of the enabled systems with the new retention time value.
- If serials are included for systems that do not exist, the command skips those serials.
months -Any whole number between 1 and 36 (required).
Examples
To extend the retention time for system serial 30353 to 13 months, run:
root@sales-infinimetrics:~# infinimetrics retention set 30353 --months=13 2022-02-23 10:41:00,520 INFO root System 30353 retention was changed from 12 to 13 root@sales-infinimetrics:~# root@sales-infinimetrics:~# infinimetrics retention list SERIAL ENABLED VISIBLE DB Size RETENTION (months) -------- --------- --------- --------- -------------------- 1966 True True 0.00 12 2373 True True 2.60 12 2383 True True 1.72 12 2811 True True 4.07 12 3442 True True 1.11 12 3467 True True 1.08 12 3752 True True 0.05 12 30352 True True 0.04 12 30353 True True 0.05 13 root@sales-infinimetrics:~#
To change the retention time of all systems to 13 months, run:
root@sales-infinimetrics:~# infinimetrics retention set --months=13 2022-02-23 10:41:42,978 INFO root System 30353 retention was changed from 13 to 13 2022-02-23 10:41:42,980 INFO root System 30352 retention was changed from 12 to 13 2022-02-23 10:41:42,981 INFO root System 1966 retention was changed from 12 to 13 2022-02-23 10:41:42,982 INFO root System 2373 retention was changed from 12 to 13 2022-02-23 10:41:42,984 INFO root System 2383 retention was changed from 12 to 13 2022-02-23 10:41:42,986 INFO root System 2811 retention was changed from 12 to 13 2022-02-23 10:41:42,987 INFO root System 3442 retention was changed from 12 to 13 2022-02-23 10:41:42,988 INFO root System 3467 retention was changed from 12 to 13 2022-02-23 10:41:42,990 INFO root System 3752 retention was changed from 12 to 13 root@sales-infinimetrics:~# root@sales-infinimetrics:~# infinimetrics retention list SERIAL ENABLED VISIBLE DB Size RETENTION (months) -------- --------- --------- --------- -------------------- 1966 True True 0.00 13 2373 True True 2.60 13 2383 True True 1.72 13 2811 True True 4.07 13 3442 True True 1.11 13 3467 True True 1.08 13 3752 True True 0.05 13 30352 True True 0.04 13 30353 True True 0.05 13 root@sales-infinimetrics:~#
Last edited: 2022-03-15 12:59:17 UTC
Comments