我们正在尝试将百分比内存消耗天蓝色警报从经典资源迁移到新资源。但是我们没有选择内存消耗警报的选项,就像我们有选择CPU利用率百分比的选项一样。
我们已使用ARM来配置“内存消耗”警报。还要遵循以下步骤-https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-health#configure-alerts来配置警报
armclient GET“ subscriptions / subscriptionId / resourceGroups / resourcegroupName / providers / Microsoft.Compute / virtualMachines / vmName / providers / Microsoft.WorkloadMonitor / monitors?api-version = 2018-08-31-preview”
$ payload =“ {'properties':{'ActionGroupResourceIds':['/ subscriptions / subscriptionId / resourceGroups / resourcegroupName / providers / microsoft.insights / actionGroups / actiongroupName']}}” armclient PUT https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourcegroupName/providers/Microsoft.Compute/virtualMachines/vmName/providers/Microsoft.WorkloadMonitor/notificationSettings/default?api-version=2018-08-31-preview $ payload
预期-如何配置内存消耗大于服务器警报的某些限制