# How to resolve Sprinto check for monitoring Azure VM CPU

### About

Sprinto Check: Azure VM CPU utilization should be monitored

Azure Virtual Machines (VMs) are scalable and flexible computing resources that play a vital role in hosting applications and services. Monitoring the CPU utilization of your Azure VMs is essential for optimizing performance, identifying potential bottlenecks, and ensuring efficient resource utilization.

### Purpose

The purpose of the Sprinto check for Azure VM CPU utilization is to monitor and alert on the percentage of CPU usage actively. This monitoring helps you:

* Optimize Performance: Monitor CPU utilization to ensure your VMs operate within acceptable performance levels.
* Resource Management: Proactively identify and address issues related to high CPU usage, ensuring efficient resource utilization.
* Performance Bottleneck Detection: Receive alerts if the CPU utilization deviates from expected values, allowing you to detect and address potential performance bottlenecks.

### How to Resolve

To address this check, follow these steps to create a monitoring alert for Azure VM CPU utilization:

#### Before you Begin

* Ensure you have "Admin" access to the Azure account to create monitoring alerts.
* Log in to Sprinto as an administrator.

#### Creating Monitoring Alert

1. Log in to the[ Azure portal](https://portal.azure.com/) using your credentials.
2. Navigate to the Azure VM resource you want to monitor.
3. In the left-hand menu, under Monitoring, select Metrics.
4. In the Metrics blade, choose the appropriate namespace for VMs, typically Microsoft.Compute/virtualMachines.
5. Select the metric name as Percentage CPU.
6. From the top side, click New Alert Rule.
7. On the Configuration Signal Logic drawer, select an Aggregation type and set a custom environment-specific threshold value.\
   &#x20;Note: The Aggregation type can be selected based on your environment. You can choose Average as the Aggregation type if you have no preference.
8. From the Create Alert Rule window, on the Details tab, set an appropriate alert rule name.
9. Finally, click Review + Create to create the alert.

Once the alert is created, Sprinto retrieves the change and sets the assigned check status to "Passing."

If you need any assistance with the Sprinto check, please get in touch with [Sprinto Support](mailto:www.support@sprinto.com).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/azure/how-to-resolve-sprinto-check-for-monitoring-azure-vm-cpu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
