gce/High Vm Cpu Utilization

Evaluates the CPU of a VM for high utilization that might indicate performance issues.

Product: Compute Engine
Step Type: AUTOMATED STEP

Description

This step determines whether the CPU utilization of the VM exceeds a predefined threshold, indicating potential performance degradation. It utilizes metrics from the Ops Agent if installed, or hypervisor-visible metrics as a fallback, to accurately assess CPU performance and identify any issues requiring attention.

Failure Reason

CPU utilization on this VM has surpassed recommended operational levels, which may affect its performance and SSH connectivity.

Failure Remediation

Excessive CPU usage can lead to performance bottlenecks. Resizing the VM to a machine type with higher CPU capabilities may resolve the issue.

Consult the following documentation for guidance:

Additionally, analyze Compute Engine observability metrics to pinpoint high-usage processes:

If SSH is unavailable, connect via the serial console to stop offending processes: https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console

Success Reason

The Compute Engine VM {full_resource_path}, has CPU utilization within the optimal range.