Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 467543e6ccb81b8e77c2bd0b5aae6652f22593a8
https://github.com/tribe29/checkmk/commit/467543e6ccb81b8e77c2bd0b5aae6652f…
Author: Giordano Tomassorri <giordano.tomassorri(a)tribe29.com>
Date: 2022-09-12 (Mon, 12 Sep 2022)
Changed paths:
A .werks/14533
M checks/azure_agent_info
M cmk/special_agents/agent_azure.py
Log Message:
-----------
14533 azure agent: handle graph client errors gracefully
The graph client API calls require some optional permissions so we are
handling these permissions errors by notifying the user of the issue but
by keeping the state to OK since it is a legit state.
The section that is impacted is the "azure_ad" one.
The message currently displayed is
"Graph client: Insufficient privileges to complete the operation." and
the permission that is currently needed is the Graph permission
"Directory.Read.All" that requires admin consent.
That permission needs to be granted to the check mk app created in Azure
during the setup of checkmk Azure monitoring.
CMK-11193
Change-Id: Ib61928d2cd59bfd0e79b065998e545954533a193