gcp-alerts

Create and manage Google Cloud Monitoring alert policies via gcloud commands.

10|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/kubony/openclaw-gcp-setup --skill gcp-alerts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcp-alerts
Source: https://github.com/kubony/openclaw-gcp-setup/tree/main/.claude/skills/gcp-alerts
Command: npx skills add https://github.com/kubony/openclaw-gcp-setup --skill gcp-alerts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams implement and manage Cloud Monitoring alert policies for costs, errors, and performance in Google Cloud Platform.

Core Features & Use Cases

  • Create and manage alert policies across projects using Cloud Monitoring.
  • Configure notification channels (email, Slack, PagerDuty, and Pub/Sub) for policy triggers.
  • Use case: When a budget threshold is reached or VM CPU usage spikes, automatically generate alerts and route them to the right on-call.

Quick Start

Use the gcloud commands to enable the API and list/create a policy, e.g.:

gcloud services enable monitoring.googleapis.com --project $PROJECT_ID gcloud alpha monitoring policies list --project $PROJECT_ID

example policy creation

gcloud monitoring policies create --policy-from-file=/path/to/policy.json --project $PROJECT_ID

Frequently Asked Questions about gcp-alerts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create GCP alert policies for VM CPU usage and budget thresholds?▼

To create GCP alert policies, define your conditions in a policy JSON file and execute the gcloud monitoring policies create command to monitor metrics like VM CPU usage and budget limits.

Can I route Cloud Monitoring notifications to Slack and PagerDuty?▼

Yes, you can configure Cloud Monitoring notifications to route to Slack, PagerDuty, email, and Pub/Sub by setting up the appropriate notification channels before linking them to your alert policies.

What is the best way to automate budget alerts across multiple Google Cloud projects?▼

Automating budget alerts involves using gcloud commands to generate policy definitions across your projects, enabling proactive notifications when specified spending thresholds are reached.

Do I need to enable the Monitoring API before setting up error rate alerts in GCP?▼

Yes, you must enable the Monitoring API by running gcloud services enable monitoring.googleapis.com before you can configure and manage error rate alert policies.

How do I list existing Cloud Monitoring policies using gcloud?▼

You can list existing Cloud Monitoring policies by running the gcloud alpha monitoring policies list command with the appropriate project ID to view your current alert configurations.