Hello
Is there any way we can only capture specific services historical data for more than 30 days and rest for 1 day.
What I want is only services whose name starts with XXX-P_NT* (for windows) or XXX-P_LZ* (for Linux) should hold data for more than 12 weeks. Rest all should be for 1 min 1 day
Below is what my current storage-schema looks like. I want to change it the [icinga-services] section for only specific services.
This is what I enabled and my hdd is just getting flooded
[icinga-hosts]
pattern = ^icinga2\..*\.host\.
retentions = 1m:35d
[icinga-services]
pattern = ^icinga2\..*\.services\.
retentions = 1m:12w,60m:1y
[carbon]
pattern = ^carbon\.
retentions = 60:90d
[default_1min_for_1day]
pattern = .*
retentions = 60s:1d
EDIT
What I want to do is keeping historical data for CPU Memory & Disk Utilization checks of Windows and Linux for 12 weeks
My Windows boxes checks at 180s
My Linux Box checks at 900s
I am ok to keep other historical data 1m-1day (mostly my checks are every 180s).
I tried to find a specific example for types of pattern that I specifically want - but couldn’t find any. Any link will be helpful