跳到正文
cccskills
Google 官方免费在 GitHub 公开中文介绍

cloud-network-insights

使用 Cloud Network Insights 和 Broadcom AppNeta,通过主动测试监控网络与 Web 路径;支持部署监控点、配置策略和通知,并检查连接状态、告警及性能。

原文查看原文说明

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.

google/skills星标 21,674(GitHub 21,674 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 启用服务并查看运行状态
  • 在云端或本地部署监控点
  • 配置网络或 Web 监控和通知
  • 调查路径告警与性能指标

中文介绍

功能

此技能帮助使用 Cloud Network Insights 和 Broadcom AppNeta,通过测试流量持续监控网络与 Web 路径。它支持启用服务、部署作为监控位置的 Monitoring Points,以及配置监控策略和通知。还可查看路径列表、运行状态、告警和性能指标,并调查 Monitoring Points 的连接问题。

适用场景

当需要监控 Google Cloud、其他云环境和本地数据中心之间的通信时,可使用此技能。它可协助检查丢包、延迟、抖动和 HTTP/HTTPS 响应,并将路径异常与通知关联起来。

使用示例

  • “请启用 Cloud Network Insights 并检查运行状态。”
  • “请说明如何在 AWS 部署 Monitoring Points。”
  • “请检查 Web 路径的告警和性能指标。”

注意事项

此技能需要使用 Google Cloud 和 AppNeta。根据操作内容,可能需要 gcloud 或 API 身份验证,也可能需要接受服务条款。AppNeta 的 Alarm Rules 必须在其 Web 界面中设置,REST API v4 不支持此功能。常规 VPC Flow Logs 或 Cloud NAT 调查不在范围内。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足资料包含删除 Provider 和告警策略的命令,但执行前确认说明有限。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要 Google Cloud、AppNeta 和身份验证,部署细节依赖参考资料。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月28日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(4)

  • SKILL.md13.0 KB
  • references/attribution.md1.8 KB
  • references/monitoring-point-deployment.md10.8 KB
  • references/monitoring-policies.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 the REST API v4.
  • Procedures and Payloads: For authentication token generation, organization discovery, and REST JSON payloads, see Monitoring Policy Configuration Reference.

4. Verifying Provisioned Paths in Google Cloud

Once policies are configured and MPs are online, verify provisioned paths:

  • List Network Paths:

    gcloud network-management network-monitoring-providers network-paths list \
      --network-monitoring-provider=PROVIDER_ID \
      --location=global \
      --project=PROJECT_ID \
      --format=json
    
  • List Web Paths:

    gcloud network-management network-monitoring-providers web-paths list \
      --network-monitoring-provider=PROVIDER_ID \
      --location=global \
      --project=PROJECT_ID \
      --format=json
    

5. Querying Cloud Network Insights Resources and State

  1. Discover the Provider Name: Run gcloud network-management network-monitoring-providers list --location=global --project=PROJECT_ID to retrieve the provider ID (PROVIDER_ID). The provider ID is external when enabled via the Google Cloud console, or a custom name if created manually.
  2. Query Child Resources: Pass --network-monitoring-provider=PROVIDER_ID and --location=global to child resource commands (such as list and describe):
    • Monitoring Points: gcloud network-management network-monitoring-providers monitoring-points [list|describe]
    • Network Paths: gcloud network-management network-monitoring-providers network-paths [list|describe]
    • Web Paths: gcloud network-management network-monitoring-providers web-paths [list|describe]

6. Alert Policies, Cloud Logging, and Cloud Monitoring Metrics

  • Alert Policies (gcloud monitoring policies): Create log-matched alert policies (conditionMatchedLog.filter, including alertStrategy.notificationRateLimit in POLICY_FILE) for path alarms and operational events (see Set up alerts and notifications). For insights_alarm policies, include AND NOT jsonPayload.noise_conditions:* by default to filter out frequent/burst noise unless the user asks to include noisy alarms:

    # Create an alert policy from a JSON or YAML file
    gcloud monitoring policies create --project=PROJECT_ID \
      --policy-from-file=POLICY_FILE
    
    # Delete an alert policy (for cleanup)
    gcloud monitoring policies delete POLICY_ID \
      --project=PROJECT_ID \
      --quiet
    

    Example conditionMatchedLog.filter values for Google Cloud console alert templates:

    • Network Path Outage / Extended Loss / DNS Errors:

      resource.type = "networkmanagement.googleapis.com/NetworkPath" AND logName =~ "insights_alarm" AND (jsonPayload.alarm_severity = "MAJOR" OR jsonPayload.alarm_severity = "CRITICAL") AND jsonPayload.state = "RAISED" AND jsonPayload.alarm_type =~ "QUALITY_OF_SERVICE" AND jsonPayload.rule =~ "Outage" AND NOT jsonPayload.noise_conditions:*
      

      (Substitute jsonPayload.rule =~ "Extended loss" or "Multiple DNS errors" with alarm_severity = "MINOR" as needed.)

    • Web Path Multiple Web Errors:

      resource.type = "networkmanagement.googleapis.com/WebPath" AND logName =~ "insights_alarm" AND jsonPayload.alarm_severity = "MAJOR" AND jsonPayload.state = "RAISED" AND jsonPayload.alarm_type =~ "QUALITY_OF_SERVICE" AND jsonPayload.rule =~ "Multiple Web errors" AND NOT jsonPayload.noise_conditions:*
      
    • Monitoring Point Offline and Network Path MTU Change Events:

      resource.type = "networkmanagement.googleapis.com/MonitoringPoint" AND logName =~ "insights_event" AND jsonPayload.event_type = "MONITORING_POINT_OFFLINE"
      
      resource.type = "networkmanagement.googleapis.com/NetworkPath" AND logName =~ "insights_event" AND jsonPayload.event_type = "MTU_CHANGE"
      
  • Cloud Logging (gcloud logging read): Query path alarms (logName =~ "insights_alarm") and operational lifecycle events (logName =~ "insights_event") exported to Cloud Logging (see Set up logging for jsonPayload field schemas and event types). Because alarm state transitions (RAISED, UPDATED, CLEARED) are logged as separate entries sharing the same jsonPayload.alarm_id, determine currently active alarms by checking that the latest entry for an alarm_id has not transitioned to CLEARED.

  • Cloud Monitoring (REST API projects.timeSeries.list): Query path performance metrics (NetworkPath and WebPath, filtered by resource.labels.path_id) via GET "https://monitoring.googleapis.com/v3/projects/PROJECT_ID/timeSeries" with Authorization: Bearer $(gcloud auth application-default print-access-token) in Cloud Monitoring (see Monitoring metrics and View dashboards).

7. Deployment Diagnostics and Troubleshooting

To diagnose a Monitoring Point deployment across any platform:

  1. Google Cloud Registration: Check that connectionStatus is ONLINE in monitoring-points list (or describe) to verify the Monitoring Point is registered and connected to Cloud Network Insights.
  2. Model-Specific Workload, Host, and Appliance Health: Inspect the Monitoring Point runtime, container/Kubernetes workload, or v35 Web Admin status on the target platform using the model-specific troubleshooting guides in Monitoring Point Deployment Reference, Broadcom Troubleshooting Monitoring Points, and Troubleshooting Cloud Network Insights.
  3. Network, Proxy, and Firewall Rules: Verify the target environment's firewall, Web Proxy, custom CA certificate, and gRPC/SSL inspection bypass settings (data.na1.cni.appneta.com, content.na1.cni.appneta.com, comms.na1.cni.appneta.com, or .p. endpoints for Private Service Connect) against Broadcom Firewall Configuration and Add Monitoring Points.

Reference Documentation

For detailed guides, complete payloads, and templates:

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

agent-platform-alert-configuration

Google 官方免费有简介

为 AI 代理创建 Terraform 告警配置,监控延迟、错误、令牌用量、安全信号和响应质量。先检查遥测数据与现有策略、避免重复并验证配置;质量告警需要 Vertex AI。

  • 监控代理延迟和错误率
  • 告警令牌用量突然增加
  • 跟踪安全触发和权限拒绝
google/skills2.2万2026年10月28日 更新

agent-platform-deploy

Google 官方免费有简介

将Model Garden模型部署到Agent Platform端点,查询兼容硬件与预估时价,跟踪部署、测试推理,并在使用后撤下模型和清理端点。

  • 选择可部署模型和硬件
  • 审批前估算每小时费用
  • 查看部署状态并测试推理
google/skills2.2万2026年10月28日 更新

agent-platform-endpoint-management

Google 官方免费有简介

管理 Agent Platform 中接收模型在线预测请求的端点,包括列表、查看详情、创建、更新和删除,并排查权限、配额及资源繁忙错误。

  • 列出端点并查看配置
  • 部署模型前创建端点
  • 修改显示名称或标签
google/skills2.2万2026年10月28日 更新

agent-platform-eval-flywheel

Google 官方免费有简介

在 Google Cloud 上评估 AI 模型和智能体,通过整理测试数据、选择评分指标、生成模拟用户场景、分析失败案例并比较修改前后的结果,为提示词和代码改进提供依据。

  • 从对话记录制作评估数据
  • 生成模拟用户场景
  • 选择回答和工具使用指标
google/skills2.2万2026年10月28日 更新

agent-platform-inference

Google 官方免费

Call Gemini and OpenMaaS models such as Llama, DeepSeek, and Qwen through Google Cloud Agent Platform. Prepare authentication and SDK code, run prompts, configure connection endpoints, and troubleshoot common request errors.

中文简介正在准备中。当前显示英语简介。

  • Send a test prompt to Gemini
  • Call Llama or DeepSeek with the OpenAI SDK
  • Write code to call an existing custom endpoint
google/skills2.2万2026年10月28日 更新

agent-platform-migrate-from-ai-studio

Google 官方免费有简介

指导将Google AI Studio中的Gemini API迁移到Google Cloud上的Gemini Enterprise Agent Platform,涵盖结算、权限、身份验证,以及SDK和相关智能体工具的连接设置。

  • 将Gemini应用迁移到Google Cloud
  • 用Cloud额度支付API用量
  • 统一智能体身份验证与结算
google/skills2.2万2026年10月28日 更新

查看 google 的全部技能

报告此技能的问题