跳到正文
Skillpedia
部署与云(DevOps)22k · #10245

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/cloud/cloud-network-insights/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. 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.
  2. Execute and Present: Perform the minimum required commands or API calls to accomplish the task or provide exact guidance.
  3. 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_ID
    
  • Create Provider (use external to match the Google Cloud console default, or a custom PROVIDER_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_ID

  • Verify State:

    gcloud network-management network-monitoring-providers \
      describe PROVIDER_ID \
      --location=global \
      --project=PROJECT_ID \
      --format=json
    

    Check that .state is ACTIVE. (ACTIVATING indicates 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/monitoringPolicy first 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能