Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Deploy a standard alerting

Hi,

we have configured a webhook for notification for alerting and it's working.

But We have a questions. We configured all metrics and all alerting with console gui.

Is there a way to automate the alerting? Even an open source project that can help us to deploy all metric? We don't need something articulated, but we need something to start without starting from scratch for every Google Organization.

For example for Azure there is AMBA, something that helps to configure a "standard" monitoring on VM (Disk, Memory, CPU). 

Thanks in advance for every suggestion

D.

Solved Solved
0 1 194
1 ACCEPTED SOLUTION

Hi @daniloleonardo,

Based on your concern, Google Cloud offers several tools and approaches to automate monitoring and alerting configurations across multiple projects or organizations. Here are some of my recommendations for your needs:

  • Google Cloud has APIs that let you automate setting up monitoring, like custom metrics, alerting policies, and notification channels. With the Cloud Monitoring API, you can programmatically manage alerts, dashboards, and other monitoring resources. It's a great way to automate creating alert policies across different GCP projects or organizations, keeping everything consistent.
  • You can use Terraform to automate setting up Google Cloud resources, like Cloud Monitoring alerting policies and metric configurations. With Terraform, you can write a script to set up standard alert policies (like for CPU, memory, and disk usage on VMs) and apply them across multiple projects or organizations. It also has a Google Cloud Monitoring Provider that lets you manage these resources as code.
  • The Google Cloud Operations Suite has a full set of tools for logging, monitoring, and tracing. For keeping an eye on VMs, disk usage, CPU, and memory, you can use the Ops Agent to gather system and app metrics. These agents can be set up and configured automatically on your VMs using scripts, and they work with GCP monitoring to trigger alerts.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

View solution in original post

1 REPLY 1

Hi @daniloleonardo,

Based on your concern, Google Cloud offers several tools and approaches to automate monitoring and alerting configurations across multiple projects or organizations. Here are some of my recommendations for your needs:

  • Google Cloud has APIs that let you automate setting up monitoring, like custom metrics, alerting policies, and notification channels. With the Cloud Monitoring API, you can programmatically manage alerts, dashboards, and other monitoring resources. It's a great way to automate creating alert policies across different GCP projects or organizations, keeping everything consistent.
  • You can use Terraform to automate setting up Google Cloud resources, like Cloud Monitoring alerting policies and metric configurations. With Terraform, you can write a script to set up standard alert policies (like for CPU, memory, and disk usage on VMs) and apply them across multiple projects or organizations. It also has a Google Cloud Monitoring Provider that lets you manage these resources as code.
  • The Google Cloud Operations Suite has a full set of tools for logging, monitoring, and tracing. For keeping an eye on VMs, disk usage, CPU, and memory, you can use the Ops Agent to gather system and app metrics. These agents can be set up and configured automatically on your VMs using scripts, and they work with GCP monitoring to trigger alerts.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Top Solution Authors