Configuring 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. The default value * includes all services in your subscription. If you do not want to subscribe to all services, you can specify service identifiers in the Services field.
- 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.Region-Friendly NameRegion IdentifierAsia Pacific (Taiwan)asia-east1Asia Pacific (Hong Kong)asia-east2Asia Pacific (Tokyo)asia-northeast1Asia Pacific (Osaka)asia-northeast2Asia Pacific (Seoul)asia-northeast3Asia Pacific (Mumbai)asia-south1Asia Pacific (Singapore)asia-southeast1Asia Pacific (Sydney)australia-southeast1EU (Finland)europe-north1EU (Belgium)europe-west1EU (London)europe-west2EU (Frankfurt)europe-west3EU (Netherlands)europe-west4EU (Zürich)europe-west6South America(Canada)northamerica-northeast1South America (Osasco)southamerica-east1Iowa (Central)us-central1US East (South Carolina)us-east1US East (Northern Virginia)us-east4US West (Oregon)us-west1US West (Los Angeles)us-west2US West (Salt Lake City)us-west3ASIA (Multi-regions)asiaEU (Multi-regions)euUS (Multi-regions)us
- Determine any denylist or allowlist filters. These filters use regular expressions to filter in or out specific objects by name. For example, a allow list filter of .*indows.*allows only objects with a name including "indows". A denylist filter of .*indows.*filters out all objects with that string in their name.
- From the left menu, click.
- On the Accounts tab, clickAdd Account, and on the Accounts Types page, selectGCP.
- Configure the adapter instance.OptionActionNameThe name for the adapter instance.Description(Optional) The description of the adapter instance.
- Configure the connection.OptionActionProject IdEnter the Google Cloud Platform service account project Id.ServicesSelect the services from which you want to capture metrics. If you want to collect metrics for specific services, then click the drop-down icon and select one or more services. If you do not select any of the services, the metrics for all the services are collected. For more information on supported GCP services, see Supported GCP Services.RegionsSelect the regions you want to subscribe to. If you want to subscribe to specific regions, then click the drop-down icon and select one or more regions. If you want to subscribe to all the regions, do not select any of the regions in this field.CredentialSelect the credential you want to use to sign on to the environment from the drop-down menu. To add new credentials to access this management pack environment, click the plus sign.
- Enter a name for the credential values you are creating. This is not the name of the adapter instance, but a friendly name for the Service account JSON file credential.
- Enter the service account private key downloaded as a JSON file.
- (Optional) Enter any required local proxy information for your network.
- The proxy information activatesVMware Aria Operationsthat is deployed on a local network to have public network access for GCP to collect statistics for its accounts.
- VMware Aria Operationssupports only basic auth.
Collector / GroupSelect the collector on which you want to run the adapter instance. A collector gathers objects into its inventory for monitoring. The collector specified by default is selected for optimal data collection. - Click the arrow to the left of theAdvanced Settingsto configure advanced settings.OptionActionSupport Auto DiscoverySet this option to true for automatic discovery of the Google Cloud Platform services. If you set this value to false, when you create an adapter instance you must perform a manual discovery of services.Allowed List RegexAdd regular expressions to allow only objects with names that fit the criteria you specify.Blocked List RegexAdd regular expressions to filter objects by name.Actions EnabledActivate this option to run actions specific to the GCP CE instance usingVMware Aria Operations. By default, this option is set totrue.For details on running actions, see the "Power On, Power Off, and Reboot Actions" topic in thevRealize Operations User Guide.Enable CE GPU Metric CollectionThis option allows collection of GPU metrics for GCP Compute Engine (CE) instances. By default, this value is set toFalse.If this option is set toTrue, then theVMware Aria Operationscollects GPU metrics for all CE instances as GCP does not distinguish between normal CE instances and GPU instances.Refer to the instructions in the GCP documentation to activate Cloud GPU metrics before enablingVMware Aria Operationsfor data collection.Enable CE SQL Server Metric CollectionThis option allows collection of SQL server metrics for GCP Compute Engine (CE) instances. By default, this value is set toFalse.If this option is set toTrue, then theVMware Aria Operationscollects SQL server metrics for all CE instances as GCP does not distinguish between normal CE instances and SQL server instances.
- To initiate the authentication request, clickValidate Connection.
- ClickSave.The adapter instance is added to the list.
Verify that the adapter is configured and
collecting data by viewing application-related data.
Where to View the Information | Information to View |
---|---|
Collection status and state in the
Integrations page | The strings Collecting or Data
receiving appear approximately 10 minutes after you
have configured the adapter. |
Environment Overview | The objects related to the Google Cloud Platform are added to
the inventory. |
Dashboards | The Google Cloud Platform dashboards are added to
VMware Aria
Operations . |