More Info:

Ensure Cloud Monitoring monitors database state check.

Risk Level

Medium

Address

Operational Maturity, Performance Efficiency

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of not monitoring the database state check in GCP using GCP console, follow the steps below:

  1. Open the GCP Console and go to the Cloud SQL instances page.

  2. Select the instance that you want to monitor and click on it.

  3. In the left navigation menu, click on Monitoring.

  4. In the Monitoring page, click on the Add Chart button.

  5. In the Add Chart page, select the metric that you want to monitor. For database state check, you can select the metric “Cloud SQL Database State Check”.

  6. Configure the chart settings according to your preferences. You can set the chart title, chart type, chart size, and other options.

  7. Click on the Save button to save the chart.

  8. Once the chart is saved, it will be displayed in the Monitoring page. You can view the chart and monitor the database state check for the selected instance.

By following these steps, you will be able to remediate the misconfiguration of not monitoring the database state check in GCP using GCP console.

Additional Reading: