> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/gcp/how-to-resolve-sprinto-check-for-monitoring-gcp-vm-usage.md).

# How to resolve Sprinto check for monitoring GCP VM usage

### About

Sprinto Check: GCP Compute instance CPU utilization should be monitored

Monitoring the CPU usage of your Google Cloud virtual machines (VMs) is essential for optimizing performance and ensuring the efficient operation of your applications. Sprinto provides a straightforward process to set up an alert for actively monitoring VM CPU usage.

### Purpose

The purpose of the Sprinto check for Google Cloud VM CPU Usage is to actively monitor and alert on the CPU usage of your virtual machines. This monitoring helps you:

* Application Performance: Ensure optimal performance by tracking VM CPU usage and identifying potential resource constraints.
* Resource Management: Proactively manage VM resources by receiving alerts if CPU usage exceeds defined thresholds.
* Prevent Downtime: Detect and address CPU-related issues promptly to prevent downtime and maintain application availability.

### How to Configure

To set up an alert for monitoring Google Cloud VM CPU Usage, follow these steps within the GCP console:

#### Before you Begin

* Ensure you have the necessary permissions to create alerts on Google Cloud.
* Log in to Sprinto as an administrator.

#### Configuring Alert

1. Log in to the[ GCP console](https://console.cloud.google.com/) using your credentials.
2. In the global search bar, type Alerting and click on Alerting in the results.
3. On the Alerting page, click Create Policy to initiate the alert policy creation process.
4. Under the new condition, click Select a Metric.
5. Search for VM Instance in the dropdown.
6. Navigate to VM Instance > Instance, select the CPU Usage metric, and click Apply.
7. Click Next to proceed with the alert policy configuration.
8. Enter a Threshold value and make any other changes as per your requirements.
9. Click Next to move forward in the setup process.
10. Choose a notification channel, if already set up, and select the incident auto-closure time period.
11. Scroll to the bottom and add an appropriate Alert Policy name.
12. Click Create Policy to finalize the alert policy.

Once the alert is created, Sprinto retrieves the changes, and the Google Cloud VM CPU Usage check status is updated to "Passing."

For additional assistance with the Sprinto check, please get in touch with [Sprinto Support](mailto:www.support@sprinto.com).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
