Monitoring Google GCP Services with vRealize Operations 8.1

The vRealize Operations Management Pack for Google Cloud Platform allows you to dive into the key performance indicators for your Google Cloud Platform environment.

Each adapter instance of this Management Pack has diagnostic dashboards and collects metrics and properties from Google Cloud.

Supported GCP Services

The Management Pack for Google Cloud Platform supports the following services.

Installing VMware vRealize Operations Management Pack for Google Cloud Platform

Download the PAK file for VMware vRealize Operations Management Pack for Google Cloud Platform from VMware Marketplace, and save that PAK file to a temporary folder on your local system.

Log in to the vRealize Operations Manager user interface with administrator privileges.

In the menu, select Administration and in the left pane select Solutions Repository.

On the Repository tab, click Add/Upgrade.

Browse to locate the temporary folder and select the PAK file.

Click Upload. The upload might take several minutes.

Read and accept the EULA, and click Next. Installation details appear in the window during the process.

When the installation is completed, click Finish.

As you can see the end result of installing the GCP Management Pack.

Creating a Service Account in GCP

To configure the Management Pack for Google Cloud Platform, you must create a service account in Google Cloud Platform and download the private key as a JSON file.

To create the service account, you must have the Service Account Admin role (roles/iam.serviceAccountAdmin) or the Editor primitive role (roles/editor).

For read-only access, the service account requires the project level viewer role (Viewer – primitive role on GCP).

To monitor the Google Cloud Platform account using this Management Pack, enable the following APIs:

  • BigQuery API
  • Compute Engine API
  • Cloud Storage and Google Cloud Storage JSON API
  • Kubernetes Engine API
  • Stackdriver Monitoring API

Enable these APIs with GCP Google Cloud Platform

Login to your Google Cloud Account and choose the Project you are Planning to collect Performance Data, in This example i have Chosen the Project cka-hard-02.

 the Cloud Console, navigate to APIs & Services for your project and choose the Library Tab.

In the Library page, search for the above APIs.

BigQuery API

Compute Engine API

Cloud Storage and Google Cloud Storage JSON API

Kubernetes Engine API

Stackdriver Monitoring API

Creating Kubernetes Cluster in GCP

When you choose the Kubernetes Engine the first pop up will ask you if you wish to create a new Kubernetes Cluster , let press on Create Cluster.

you dont need to provide too much info beside the Cluster name that we will see on the VROPS, i have choose name cluster-1

lets just review the type of kubernetes Cluster Node types and press on create cluster

here you can see the Kubernetes Cluster with 3 nodes that we have created to track the performance data.

Creating Google GCP Service Account

to be able to create a service account to access the GCP to collect data you need to login to the GCP Console and choose IAM & Admin — Service Accounts

From the Service account list, select New service Account.

Provide a name for the Service Account like VROPS8SA

From the Role list, The Role field authorizes the service account to access resources. Select Project — Owner or select the required services in read-only (as a viewer).

i choose the Viewer

Download the service account private key as a JSON file

Remember to save it as JSON Key type.

The file will be save on your Desktop , remember to copy the full data and not only the key when you use it with the GCP Adapter Configuration.

Configuring VMware vRealize Operations Management Pack for Google Cloud Platform

After the installation, configure an instance for this management pack.


  • Install the Management Pack for Google Cloud Platform.
  • Obtain the service account JSON file. See Creating a Service Account.
  • Determine the services for which you collect metrics. See Supported GCP Services,
  • Determine the regions to which you subscribe. The default value * includes all regions in your subscription. If you do not want to subscribe to all regions, you can specify region identifiers in the Regions field.
  • Determine any black list or white list filters. These filters use regular expressions to filter in or out specific objects by name. For example, a white list filter of .*indows.* allows only objects with a name including “indows”. A blacklist filter of .*indows.* filters out all objects with that string in their name.


On the menu, click Administration.

In the left pane, expand Solutions and click Other Accounts.

Under Other Accounts, click the ADD ACCOUNT icon.

Configure the adapter instance.

Provide Display Name The name for the adapter instance.

Provide Project id of the GCP Project

Select the credential you want to use to sign on to the environment from the dropdown menu. To add new credentials to access this management pack environment, click the plus sign.

Credential Name. Enter an instance name for the credential values you are

Service Account JSON Provide the service account private key downloaded
as a JSON file

To initiate the authentication request, click Validate Connection.

Choose to Save the GCP Adapter.

Here is the Environment overview we can see the GCP grouping

Remember that we deploy the Kubernetes cluster-1 ? we can now check the performance of the Kubernetes Nodes.

Here is some of the metrics set we have with Kubernetes Nodes in Action.

Here is an example of VM performance in GCP Cloud

Leave a Reply

Your email address will not be published. Required fields are marked *