question

mimckitt avatar image
0 Votes"
mimckitt asked HendMosbah-3752 Suspended answered

How do I set alert rules on a virtual machine scale set?


I have a VMSS cluster with 5 nodes. I would like to setup some generic alerting rules. Any guidance on getting started?

Sourced from FAQ


azure-virtual-machines-scale-set
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

olufemiaMSFT avatar image
2 Votes"
olufemiaMSFT answered mimckitt edited

Welcome to the Microsoft Q&A (Preview) platform. Happy to answer your questions.
You can create alerts on metrics for virtual machine scale sets via PowerShell or Azure CLI. For more information, see Azure Monitor PowerShell quickstart samples and Azure Monitor cross-platform CLI quickstart samples.

The TargetResourceId of the virtual machine scale set looks like this:

/subscriptions/yoursubscriptionid/resourceGroups/yourresourcegroup/providers/Microsoft.Compute/virtualMachineScaleSets/yourvmssname

You can choose any VM performance counter as the metric to set an alert for. For more information, see Guest OS metrics for Resource Manager-based Windows VMs and Guest OS metrics for Linux VMs in the Azure Monitor autoscaling common metrics article.

Sourced from FAQ


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AHMED-BAKIR avatar image
7 Votes"
AHMED-BAKIR Suspended answered 50609367 Suspended commented

The TargetResourceId of the virtual machine scale set looks like this:

/subscriptions/yoursubscriptionid/resourceGroups/yourresourcegroup/providers/Microsoft.Compute/virtualMachineScaleSets/yourvmssname

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HananAliIbrahemRoffa-1166 avatar image
0 Votes"
HananAliIbrahemRoffa-1166 Suspended answered

The TargetResourceId of the virtual machine scale set looks like this: /subscriptions/yoursubscriptionid/resourceGroups/yourresourcegroup/providers/Microsoft.Compute/virtualMachineScaleSets/yourvmssname

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HendMosbah-3752 avatar image
0 Votes"
HendMosbah-3752 Suspended answered

The TargetResourceId of the virtual machine scale set looks like this: /subscriptions/yoursubscriptionid/resourceGroups/yourresourcegroup/providers/Microsoft.Compute/virtualMachineScaleSets/yourvmssname

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HendMosbah-3752 avatar image
0 Votes"
HendMosbah-3752 Suspended answered

The TargetResourceId of the virtual machine scale set looks like this: /subscriptions/yoursubscriptionid/resourceGroups/yourresourcegroup/providers/Microsoft.Compute/virtualMachineScaleSets/yourvmssname

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HendMosbah-3752 avatar image
0 Votes"
HendMosbah-3752 Suspended answered

The TargetResourceId of the virtual machine scale set looks like this: /subscriptions/yoursubscriptionid/resourceGroups/yourresourcegroup/providers/Microsoft.Compute/virtualMachineScaleSets/yourvmssname

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.