Werk #11345: Use correct periods for AWS
Component | Checks & agents |
Title | Use correct periods for AWS |
Date | Sep 28, 2020 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
The Special Agent for AWS uses the passed time since midnight for the cache interval for some sections. However AWS does only allow specific values for the periods. This is now ensured with this werk.
Background information: AWS expects "period" to be an integer and a multiple of 60 for metrics. For metrics with high resolution, also the values 1, 5, 10, 30 and 60 are allowed. See: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricStat.html