cloud-network-insights
它能做什么
这个技能帮你设置对 Google Cloud、数据中心和其他云中网络及网页路径的监控。它适用于希望在路径或网站变慢或出错时及时知道的网络团队。
适用场景
- ✓当你想启用 Cloud Network Insights 或检查其激活状态的时候。
- ✓当你需要在多个云和数据中心部署或排查 Monitoring Points 的时候。
- ✓当你想设置网络或网页监控策略和警报规则的时候。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/cloud-network-insights/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的项目开启 Cloud Network Insights,并告诉我它的监控是否已激活。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查已启用的内容,指导 Monitoring Points 的部署,并设置监控策略和警报。对于状态检查,它会直接报告当前状态。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Cloud Network Insights
Attribution
For all gcloud CLI, REST API, and MCP attribution requirements when executing
commands with this skill, follow the instructions in
Usage Attribution.
🛑 Core Directive: Results First
- Identify the Requested Task: Determine if the user is attempting service enablement, checking activation status, downloading/installing or troubleshooting Monitoring Points (MPs), configuring AppNeta monitoring policies or alarm rules, verifying provisioned resources and paths, configuring alert policies, or querying Cloud Logging alarms and Cloud Monitoring metrics.
- Execute and Present: Perform the minimum required commands or API calls to accomplish the task or provide exact guidance.
- Definitive Answers: For status and verification queries, report the
definitive state (for example,
ACTIVE,ACTIVATING, or path listings) immediately.
Overview
Cloud Network Insights provides comprehensive synthetic monitoring for Cross-Cloud Network observability in partnership with Broadcom AppNeta. It monitors network and web paths using Monitoring Points (MPs) installed across Google Cloud, on-premises data centers, other public clouds (like AWS or Azure), and the public internet.
This skill automates onboarding, service enablement, Monitoring Point deployment, policy creation, and path verification.
Procedures and CUJs
1. Service Enablement and Status
Enable API:
gcloud services enable networkmanagement.googleapis.com --project=PROJECT_IDCreate Provider (use
externalto match the Google Cloud console default, or a customPROVIDER_ID):gcloud network-management network-monitoring-providers create PROVIDER_ID \ --provider-type=EXTERNAL \ --location=global \ --project=PROJECT_ID⚠️ If this command fails due to unaccepted Terms of Service, direct the user to the Google Cloud console onboarding page:
https://console.cloud.google.com/net-intelligence/cloud-network-insights/onboarding?project=PROJECT_IDVerify State:
gcloud network-management network-monitoring-providers \ describe PROVIDER_ID \ --location=global \ --project=PROJECT_ID \ --format=jsonCheck that
.stateisACTIVE. (ACTIVATINGindicates the backend is provisioning AppNeta resources.)Delete Provider (Cleanup):
gcloud network-management network-monitoring-providers delete PROVIDER_ID \ --location=global \ --project=PROJECT_ID
2. Monitoring Point Deployment and Verification
Cloud Network Insights supports 7 distinct Monitoring Point deployment types:
container, helm, gce-vm, aws-ec2, azure-vm, vmware, and kvm.
- Platform Selection: Never assume a default deployment type. Identify or prompt the user for their target environment before proceeding.
- Procedures and Commands: For all required parameters, download commands,
deployment manifests, and status verification commands (
monitoring-points list), see Monitoring Point Deployment Reference.
3. Monitoring Policy and Alarm Rule Configuration (AppNeta)
Monitoring policies configure active synthetic network and web tests executed by Monitoring Points, and alarm rules define the thresholds and evaluation windows that raise path alarms.
- Policy Types (
/api/v4/monitoringPolicy):- Network Monitoring Policies: Monitor packet loss, latency, and jitter to target IPs (or dual-ended between Monitoring Points) over TCP or UDP.
- Web Monitoring Policies: Synthetic HTTP/HTTPS application checks (such as GET requests with status code 200 assertions).
- Check Before Creating: Always query
GET /api/v4/monitoringPolicyfirst to verify whether a policy with your target name already exists before creating a new one, avoiding duplicate resource creation and API conflicts. - Alarm Rules (AppNeta Web UI Only): Alarm rules are configured in the AppNeta Web UI (in Alarms > Alarm Rules; see Broadcom Alarm Rules) and are not supported via t
常见问题
什么是 Monitoring Point?
它是安装在 Google Cloud、数据中心或其他云中的探针,用于测试网络和网页路径。
它和哪个合作伙伴配合?
它与 Broadcom AppNeta 配合进行合成监控。
它能查询告警吗?
能。它可以查询路径告警、Cloud Logging 告警和 Cloud Monitoring 指标。
详情
作者的原始描述
Guides and automates setup, onboarding, and synthetic monitoring operations for Cloud Network Insights in Google Cloud and Broadcom AppNeta. Use when enabling Cloud Network Insights, deploying or troubleshooting Monitoring Points across cloud and on-premises environments, configuring Network or Web monitoring policies and AppNeta alarm rules, configuring alert policies, querying path alarms and performance metrics, or verifying synthetic path reachability. Don't use for generic network observability, VPC Flow Logs, Cloud NAT, or VPC firewall debugging.
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10245
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。