Google Cloud VM Instances Test

This test auto-discovers the virtual machines on the target Google Cloud, and for each VM, it reveals in-depth metrics such as status, memory utilization, CPU utilization, disk I/O measures, etc. In the process, the test points administrators to resource-hungry VMs.

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 each virtual machine on the Google Cloud

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

Status

Indicates the current status of this VM.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value

Numeric Value
Provisioning 1
Staging 2
Running 3
Stopping 4
Suspending 5
Suspended 6
Repairing 7
Terminated 8

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the current status of each VM. In the graph of this measure however, the same is represented using the corresponding numeric equivalents only.

Use the detailed diagnosis of this measure to know about the name of zone to which the BigTable instance belongs to, the external and internal IP addresses of the BigTable instance, the ID of the BigTable instance, the time stamp at which the instance was created, the label and tags details of the instance and the description details of the instance.

Disk status

Indicates the current status of the disk of this VM.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value

Numeric Value
Creating 1
Restoring 2
Ready 3
Failed 4
Deleting 5

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the current disk status of each VM. In the graph of this measure however, the same is represented using the corresponding numeric equivalents only.

Disk boot

Indicates whether/not the disk of this VM is booted.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value

Numeric Value
True 1
False 0

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the current disk boot status of each VM. In the graph of this measure however, the same is represented using the corresponding numeric equivalents only.

Total disk space

Indicates the total disk space allocated on this VM.

GB

 

Maximum persistent disk size

Indicates the maximum size of a persistent disk that can be attached to this VM.

GB

Persistent Disks are durable network storage devices that VMs can access like physical disks in a desktop or a server. The data on each persistent disk is distributed across several physical disks.

Physical block size

Indicates the size of physical block storage allocated for this VM.

MB

 

Virtual CPUs

Indicates the number of virtual CPUs available on this VM.

Number

 

Total physical memory

Indicates the amount of physical memory allocated for this VM.

GB

 

IP forwarding

Indicates whether/not IP forwarding capability is enabled for this VM.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure values

Numeric values
Off 0
On 1

Note:

By default, this measure reports the Measure Values listed in the table above to indicate whether/not IP forwarding capability is enabled. The graph of this measure however, is represented using the numeric equivalents only i.e., 0 or 1.

Network tier

Indicates the current network status of this VM.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure values

Numeric values
Premium 1
Standard 2

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the current network status of this VM.. The graph of this measure however, is represented using the numeric equivalents only i.e., 0 or 1.

Having DD, show the below information.

1) Network_name (shows the network name of the instance)

2) Networks (shows the network detail of the instance)

3) Subnetworks (shows the sub network detail of the instance)

Host maintenance

Indicates the status of this VM when a host is under maintenance mode.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure values

Numeric values
Migrate 1
Terminate 2

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the status of this VM when a host is under maintenance mode. The graph of this measure however, is represented using the numeric equivalents only i.e., 0 or 1.

Automatic restart

Indicates whether/not automatic restart is enabled for this VM.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure values

Numeric values
Off 0
On 1

Note:

By default, this measure reports the Measure Values listed in the table above to indicate whether/not automatic restart is enabled for this VM. The graph of this measure however, is represented using the numeric equivalents only i.e., 0 or 1.

Preemptibility

Indicates whether/not this VM is a preemptible VM instance.

 

Preemptible VM instances are available at much lower price - a 60-91% discount—compared to the price of standard VMs. However, Compute Engine might stop (preempt) these instances if it needs to reclaim the compute capacity for allocation to other VMs. Preemptible instances use excess Compute Engine capacity, so their availability varies with usage.

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure values

Numeric values
Off 0
On 1

Note:

By default, this measure reports the Measure Values listed in the table above to indicate whether/not this VM is a preemptible VM instance. The graph of this measure however, is represented using the numeric equivalents only i.e., 0 or 1.

CPU utilization

Indicates the percentage of CPU utilized by this VM.

Percent

A high value for this VM is a cause for concern.

Disk read bandwidth

Indicates the number of bytes that were read from the disk of this VM during the last measurement period.

KB/sec

Compare the values of these measures across all the VM instances to know what type of requests are truly contributing to the excessive bandwidth consumption - read requests? or write requests?

 

Disk write bandwidth

Indicates the number of bytes read that were written to the disk of this VM during the last measurement period.

KB/sec

Disk read operations

Indicates the number of read operations performed per second on the disk of this VM during the last measurement period.

Operations/sec

Compare the value of these measures to know what is contributing to the unusual I/O activity levels - read operations? or write operations?

Disk write operations

Indicates the number of write operations performed per second on the disk of this VM during the last measurement period.

Operations/sec

Throttled read operations

Indicates the number of throttled read operations performed per second on this VM.

Operations/sec

Throttling is a feature that intentionally limits performance. When throttled, disk operations are suspended, and the disk operation wait time (iowait) is increased. Since all write and read operations are processed in a single thread (vCPU), overloading system disks may cause network problems.

Ideally, the value of these measures should be very low.

 

Throttled write operations

Indicates the number of throttled write operations performed per second on this VM.

Operations/sec

Sent bandwidth

Indicates the bandwidth used while transmitting data from this VM during the last measurement period.

Kbps

Comparing these values across the VM instances reveal which VM sent/received bandwidth-intensive data.

Received bandwidth

Indicates the bandwidth used while receiving data by this VM during the last measurement period.

Kbps

Dropped bytes

Indicates the rate at which the bytes were dropped by the firewall of this VM.

KB/sec

A low value is desired for this measure

Dropped packets

Indicates the rate at which the packets were dropped by the firewall of this VM.

Packets/sec

A low value is desired for this measure

Scheduler wait time

Indicates the total time that this VM waited, but could not get scheduled to run on the vCPU during last measurement period.

Seconds

This measure should typically be very low. A high value for this measure can significantly affect the responsiveness of the VM.

Compare the value of this measure across the VMs to find out which VM waited too long to run.

CPU usage time

Indicates the time that this VM used the CPU resources during the last measurement period.

Seconds

Comparing the value of this measure across VMs will enable you to accurately identify the VMs that consumed the CPU resources for longer time.

Throttled read bandwidth

Indicates the bandwidth limit beyond which this VM cannot transfer data during read operations.

KB/sec

 

Throttled write bandwidth

Indicates the bandwidth limit beyond which this VM cannot transfer data during write operations.

KB/sec

 

Throttled bandwidth

Indicates the bandwidth limit beyond which this VM cannot transfer data during IO operations.

KB/sec

 

Received packets

Indicates the number of packets received by this VM per second during the last measurement period.

Packets/sec

 

Sent packets

Indicates the number of packets sent from this VM per second during the last measurement period.

Packets/sec

 

Uptime

Indicates the total time that this VM has been up since its last reboot.

 

This measure displays the number of years, months, days, hours, minutes and seconds since the last reboot. Administrators may wish to be alerted if a VM has been running without a reboot for a very long period. Setting a threshold for this metric allows administrators to determine such conditions.

Mirrored bandwidth

Indicates the rate at which the data was mirrored or duplicated for monitoring purposes during the last measurement period.

KB/sec

The value of this measure helps administrators to capture and analyze network traffic for troubleshooting, security monitoring, or performance analysis purposes.

Mirrored packets

Indicates the rate at which the packets were mirrored or duplicated for monitoring purposes during the last measurement period.

Packets/sec

 

Dropped packets

Indicates the rate at which the packets were dropped during transmission/reception of packets by this VM.

Packets/sec

A low value is desired for this measure

Disk throughput

Indicates the rate of data reads and writes to the disk of this VM.

KB/sec

You can compare the value of this measure across VMs, to know which VM is the slowest in terms of the speed with which it processes read and write requests.

Disk IOPS

Indicates the total number of I/O operations that were performed on this VM per second during the last measurement period.

Operations/sec

 

Throttled IOPS

Indicates the total number of throttled I/O operations that were performed on this VM per second during the last measurement period.

Operations/sec

 

Network throughput

Indicates the rate at which the data was transmitted and received by this VM over network during the last measurement period.

Kbps

 

Network packets

Indicates the rate at which the packets were transmitted and received by this VM over network during the last measurement period.

Packets/sec