Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d0b1e9190e6ea7a57819d62dfd8059c2575dd8fc
https://github.com/tribe29/checkmk/commit/d0b1e9190e6ea7a57819d62dfd8059c25…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
A .werks/11095
M checkman/aws_s3
M checkman/aws_s3.summary
M checkman/aws_s3_limits
M checkman/aws_s3_requests
M checkman/aws_s3_requests.http_errors
M checkman/aws_s3_requests.latency
M checkman/aws_s3_requests.select_object
M checkman/aws_s3_requests.traffic_stats
M checks/aws.include
M checks/aws_elb
M checks/aws_elbv2_application
M checks/aws_elbv2_application_target_groups_http
M checks/aws_elbv2_application_target_groups_lambda
M checks/aws_elbv2_network
M checks/aws_s3_requests
M cmk/gui/plugins/metrics/aws.py
M cmk/gui/plugins/metrics/network.py
M cmk/gui/plugins/metrics/translation.py
M cmk/gui/plugins/wato/check_parameters/aws.py
M cmk/special_agents/agent_aws.py
M locale/de/LC_MESSAGES/multisite.po
M tests-py3/unit/cmk/special_agents/agent_aws/test_agent_aws_s3.py
Log Message:
-----------
11095 FIX AWS S3
This werk fixes multiple issues with the AWS S3 monitoring, i.e.:
- As a follow-up for werk #11092, where one service per monitored
region for the monitoring of AWS limits was introduced, the
corresponding service for S3 is now always discovered as
'AWS/S3 Limits Global'. This is because there are no per-region
limits for S3, only global account-wide limits. Users have to
re-discover this service and potentially adjust any related rules
for this to come into effect.
- The regions set when configuring the AWS special are now properly
taken into account when monitoring S3 buckets (note that they are
deliberately ignored for the limits). This means that buckets
residing in regions which are not monitored are not discovered any
more and do not contribute to the S3 summary service. Users have to
re-discover the S3 services for this to come into effect.
- AWS S3 CloudWatch metrics are now fetched properly. Previously, only
the non-request metrics for buckets in the region us-east-1 worked,
such that for example bucket sizes for buckets outside us-east-1
were wrong.
- A couple of metrics and some units were fixed.
- The rule "AWS/S3 HTTP Errors" for the check aws_s3_requests.http_errors
has been added.
- The levels for the check aws_s3_requests.latency (rule
"AWS/S3 Latency") are now specified in ms, before, the smallest
possible level was 1 s. After installing the werk, users have to
re-define this rule.
- Rules configured for the check aws_s3_requests ("AWS/S3 Bucket Requests")
now have an effect, previously, they were ignored.
- Services based on S3 CloudWatch metrics now go stale instead of UNKN
if AWS stops delivering data, for example in the case where requests
to an S3 buckets stop.
- Names and tags set when configuring the AWS special agent are now
handled correctly and excluded buckets are not fetched any more (but
they are still counted for the limits).
Change-Id: If5b8bf6889e96dcb1cf63c2aba275493eb92850f