Werk #11333: aws_agent: enable cache to reduce live data requests
Component | Checks & agents |
Title | aws_agent: enable cache to reduce live data requests |
Date | Oct 23, 2020 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
The first time the AWS agent is executed, it stores data in a cache file and only retrieves live data from the AWS API once the data in this file is considered out-of-date, or the configuration of the agent has changed. This is especially useful, because AWS charges a fee for each query to the API. The mechanism for determining whether the configuration of the agent has changed contained a defect, leading to undeterministic configuration signatures, which the agent erroneously interpreted as a configuration change. This has been fixed.