Working with Start/Stop VMs 2 and having troubling understanding the metrics used for ststv2_vms_Sequenced_stop logic app.

Brian King 0 Reputation points
2024-06-29T03:13:49.1766667+00:00

We are trying to set it up so that the logic app will scan the resource group every hour and shut down the VM in the resource group that is using less than 5% CPU. Got it configured but its shutting down even when the CPU is running at over 75%. Config set below:

Action": "stop", "AutoStop_Condition": "LessThan", "AutoStop_Description": "Alert to stop the VM if the CPU % falls below the threshold", "AutoStop_Frequency": "00:05:00", "AutoStop_MetricName": "Percentage CPU", "AutoStop_Severity": "2", "AutoStop_Threshold": "5", "AutoStop_TimeAggregationOperator": "Average", "AutoStop_TimeWindow": "00:10:00",

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,959 questions
0 comments No comments
{count} votes