I self-host Mimir in AKS with AlertManager enabled. I am trying to update its alertmanager config using mimirtool from Windows 10. I downloaded mimir executable, configured environment variables for URL, basic auth & tenantId, and run a command from official docs - https://grafana.com/docs/mimir/latest/manage/tools/mimirtool/
.\mimirtool.exe alertmanager load .\test.yaml
Content of the test.yaml is also from the official docs:
mimirtool.exe: error: POST request to https://<hostname>/alertmanager/api/v1/alerts failed: server returned HTTP status: 400 Bad Request, body: "{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"invalid character 'e' in literal true (expecting 'r')\"}", try --help
I have checked encoding - the file is UTF-8 without BOM.
Describe the bug
I self-host Mimir in AKS with AlertManager enabled. I am trying to update its alertmanager config using mimirtool from Windows 10. I downloaded mimir executable, configured environment variables for URL, basic auth & tenantId, and run a command from official docs - https://grafana.com/docs/mimir/latest/manage/tools/mimirtool/
Content of the
test.yaml
is also from the official docs:mimirtool then returns this error:
I have checked encoding - the file is UTF-8 without BOM.
Environment