Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 756cf018911b26d32c1d54ef9f2385c416dc2922
https://github.com/tribe29/checkmk/commit/756cf018911b26d32c1d54ef9f2385c41…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2020-09-29 (Tue, 29 Sep 2020)
Changed paths:
A .werks/11345
M cmk/special_agents/agent_aws.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_cloudwatch.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_dynamodb.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_ebs.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_ec2.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_elb.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_elbv2.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_rds.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_s3.py
M tests/unit/cmk/special_agents/agent_aws/test_agent_aws_wafv2.py
Log Message:
-----------
11345 FIX Use correct periods for AWS
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_Metric…
Change-Id: I5f34544216f82a1c563420a940395fe3ff618c79