Loading...
Loading...
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.
npx skill4agent add google/skills cloud-network-insightsgcloudACTIVEACTIVATINGgcloud services enable networkmanagement.googleapis.com --project=PROJECT_IDexternalPROVIDER_IDgcloud 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
gcloud network-management network-monitoring-providers \
describe PROVIDER_ID \
--location=global \
--project=PROJECT_ID \
--format=json.stateACTIVEACTIVATINGgcloud network-management network-monitoring-providers delete PROVIDER_ID \
--location=global \
--project=PROJECT_IDcontainerhelmgce-vmaws-ec2azure-vmvmwarekvmmonitoring-points list/api/v4/monitoringPolicyGET /api/v4/monitoringPolicygcloud network-management network-monitoring-providers network-paths list \
--network-monitoring-provider=PROVIDER_ID \
--location=global \
--project=PROJECT_ID \
--format=jsongcloud network-management network-monitoring-providers web-paths list \
--network-monitoring-provider=PROVIDER_ID \
--location=global \
--project=PROJECT_ID \
--format=jsongcloud network-management network-monitoring-providers list --location=global --project=PROJECT_IDPROVIDER_IDexternal--network-monitoring-provider=PROVIDER_ID--location=globallistdescribegcloud network-management network-monitoring-providers monitoring-points [list|describe]gcloud network-management network-monitoring-providers network-paths [list|describe]gcloud network-management network-monitoring-providers web-paths [list|describe]gcloud monitoring policiesconditionMatchedLog.filteralertStrategy.notificationRateLimitPOLICY_FILEinsights_alarmAND NOT jsonPayload.noise_conditions:*# 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 \
--quietconditionMatchedLog.filterresource.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:*jsonPayload.rule =~ "Extended loss""Multiple DNS errors"alarm_severity = "MINOR"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:*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"gcloud logging readlogName =~ "insights_alarm"logName =~ "insights_event"jsonPayloadRAISEDUPDATEDCLEAREDjsonPayload.alarm_idalarm_idCLEAREDprojects.timeSeries.listNetworkPathWebPathresource.labels.path_idGET "https://monitoring.googleapis.com/v3/projects/PROJECT_ID/timeSeries"Authorization: Bearer $(gcloud auth application-default print-access-token)connectionStatusONLINEmonitoring-points listdescribedata.na1.cni.appneta.comcontent.na1.cni.appneta.comcomms.na1.cni.appneta.com.p.