Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation failed with 'invalid request' in details #7

Open
andreminelli opened this issue Oct 15, 2019 · 1 comment
Open

Operation failed with 'invalid request' in details #7

andreminelli opened this issue Oct 15, 2019 · 1 comment

Comments

@andreminelli
Copy link

Hi. I am trying to get a VM CPU usabe metric with a command like:

./check_azure_resource.py     --client=XXXXXX    --secret=XXXXXX    --tenant=XXXXXX     --resource /subscriptions/xxxxxxxx/resourceGroups/blip/providers/Microsoft.Compute/virtualMachines/az-iris1     --metric 'Percentage CPU'     --warning 50 --critical 75

And I get this error:

UNKNOWN: Operation failed with status: 'Invalid request : /subscriptions/2335f77c-52e6-41e2-a679-53b94f42ccb9/resourceGroups/blip/providers/Microsoft.Compute/virtualMachines/az-iris1/providers/Microsoft.Insights/metrics/Percentage CPU contains extra segments and is not supported for request, TraceId: {f3e9d5e3-fb65-4932-9886-5e6d343550f2}'. Details: Invalid request : /subscriptions/2335f77c-52e6-41e2-a679-53b94f42ccb9/resourceGroups/blip/providers/Microsoft.Compute/virtualMachines/az-iris1/providers/Microsoft.Insights/metrics/Percentage CPU contains extra segments and is not supported for request, TraceId: {f3e9d5e3-fb65-4932-9886-5e6d343550f2}

I tried will msrestazure 0.4.32 and then with latest version (0.6.x), but got same result...
Can you please help?

@sapra5379
Copy link

sapra5379 commented Oct 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants