Skip to main content

Hi,
we have this problem using this check:
https://docs.centreon.com/pp/integrations/plugin-packs/procedures/cloud-azure-management-costs/


Here is the command line:
/usr/lib/centreon/plugins/centreon_azure_management_costs_api.pl --plugin=cloud::azure::management::costs::plugin --mode=budgets --custommode='api' --resource-group='' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret=’xxx' --proxyurl=''  --budget-name='3000Euro'

output:
Use of uninitialized value in addition (+) at /usr/lib/centreon/plugins//centreon_azure_management_costs_api.pl line 10913
UNKNOWN: Null or < 0.01 EUR cost found on the specified scope.

The name of the badget is correct.We use this command to be sure:

/usr/lib/centreon/plugins//centreon_azure_management_costs_api.pl --plugin=cloud::azure::management::costs::plugin --mode=list-budgets --custommode='api' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='xxx'
List budgets:
budget = 3000Euro]mcategory = Cost]samount = xxxxx]xtimegrain = Monthly]lid = /subscriptions/xxxxxxxxxx/providers/Microsoft.Consumption/budgets/3000Euro]


Thanks for any advice.
Emanuele.

Be the first to reply!

Reply