Werk #16866: azure: Handle Azure API rate limit

Component Checks & agents
Title azure: Handle Azure API rate limit
Date Aug 7, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p32 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

After the changes in Azure API rate limits, the Azure agent requests to the API were getting throttled for the big Azure environments. This fix introduces handling for throttled requests. If the rate limit is reached, the agent will repeat the request after 5 s. If it fails again, the agent will repeat the request after another 10 s.

Additionally, the default limits for 'Lower levels for remaining API reads' in the 'Azure Agent Info' monitoring rule are removed.

To the list of all Werks