More Info:

Ensure Cloud Monitoring monitors database uptime check.

Risk Level

Medium

Address

Operational Maturity, Performance Efficiency

Compliance Standards

CBP

Triage and Remediation

Remediation

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

  1. Go to the Cloud Console and navigate to the Cloud SQL instances page.

  2. Select the instance that you want to monitor and click on the “Edit” button.

  3. Scroll down to the “Alerting” section and click on the “Add alerting policy” button.

  4. In the “Add alerting policy” dialog box, select “Metric” as the “Condition type”.

  5. From the “Metric” drop-down list, select “Cloud SQL Database”.

  6. From the “Metric type” drop-down list, select “Uptime Check”.

  7. In the “Filter” section, select the specific database that you want to monitor.

  8. In the “Condition” section, set the threshold for the uptime check that you want to monitor.

  9. Click on the “Add” button to create the alerting policy.

  10. Finally, click on the “Save” button to save the changes.

Once you have completed these steps, you will receive an alert if the database uptime check falls below the threshold that you have set. This will help you to ensure that your database is always available and accessible to your users.

Additional Reading: