Google Cloud Virtual Machines Test

Google Cloud Platform (GCP) provides various options for deploying and managing virtual machines (VMs). Compute Engine that is Google Cloud's Infrastructure-as-a-Service (IaaS) allows you to create and manage virtual machines in the cloud. With Compute Engine, you have full control over your VM instances, including choice of machine types, operating systems, disk types, and networking configurations. Google Cloud offers various predefined machine types optimized for different workloads, as well as custom machine types where you can specify the exact amount of vCPUs and memory needed for your application.

When multiple virtual machines are deployed through the Compute Engine on the Google Cloud, administrators may often want to closely monitor the count of the VMs that are registered on the cloud and the VMs that were removed from the cloud. The Google Cloud Virtual Machines test helps administrators in this regard.

This test auto-discovers the VMs that were deployed on the Google Cloud through the Compute Engine, and reports the numerical statistics of the VMs that were registered, added, removed, powered on and powered off etc.

Note:

This test will report metrics only if the Compute Engine API is enabled in the target Google Cloud project. If you want to know how to turn on a service API in the Google Cloud project, refer Enabling Service APIs.

Target of the test : Google Cloud

Agent deploying the test : A remote agent

Outputs of the test : One set of results for the Google Cloud being monitored

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Private Keyfile Name

To connect to the Google Cloud Project in which the services are running, the eG agent requires a private key of a service account with Compute Viewer, Monitoring Viewer, and Cloud Asset Viewer roles in the target project. If a service account pre-exists in the project, then you can download the private key as a JSON file. Then, save this JSON file in the <eG_Install_Dir>/agent/lib folder and provide the name of that file against this parameter. However, if no such service account pre-exists, you will have to create one for monitoring the project. To know how to create a service account and download its private key, refer to How does eG Enterprise Monitor Google Cloud?.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Registered VMs

Indicates the number of virtual machines that were currently registered .

Number

Monitoring registered VMs allows you to track the performance of your virtual machines and identify any bottlenecks or issues that may be affecting their performance.

The detailed diagnosis of this measure if enabled, lists the names of the virtual machines, the location of the virtual machine, Operating system of the virtual machine, and IP address.

Powered on VMs

Indicates the number of virtual machines that are currently powered on.

Number

To know which virtual machines that are powered on, use the detailed diagnosis.

Powered off VMs

Indicates the number of virtual machines that are currently powered off.

Number

Use the detailed diagnosis of this measure to know which virtual machines are powered off.

Added VMs

Indicates the number of virtual machines that were newly added during the last measurement period.

Number

With the help of the detailed diagnosis, you can find out which VMs were recently added.

Removed VMs

Indicates the number of virtual machines that were removed during the last measurement period.

Number

With the help of the detailed diagnosis, you can find out which VMs were recently deleted.

Other VMs

Indicates the number of virtual machines that were in disconnected or invalid or inaccessible state during the last measurement period.

Number

To know which VMs are in an abnormal state currently, use the detailed diagnosis of this measure.