Cloud Network Insights

Cloud Network Insights

Guides enabling Cloud Network Insights, deploying monitoring points, setting monitoring policies and alerts, and cleaning up, with check-first commands for each task.

Skill files5 files

references/

SKILL.md482 lines
1
---
2
name: cloud-network-insights
3
metadata:
4
category: Networking
5
version: "2.0.0"
6
description: >-
7
Guides and automates setup, onboarding, synthetic monitoring operations, and
8
cleanup for Cloud Network Insights in Google Cloud and Broadcom AppNeta. Use
9
when enabling Cloud Network Insights, deploying or troubleshooting Monitoring
10
Points across cloud and on-premises environments, configuring Network or Web
11
monitoring policies and AppNeta alarm rules, configuring alert policies,
12
querying path alarms and performance metrics, verifying synthetic path
13
reachability, removing specific or all Monitoring Points, monitoring
14
policies, and their hosts, or turning Cloud Network Insights off (only after
15
warning the user and getting an explicit yes). Don't use for generic network
16
observability, VPC Flow Logs, Cloud NAT, or VPC firewall debugging.
17
---
18
19
# Cloud Network Insights
20
21
## Usage Attribution
22
23
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
24
MUST read and follow the instructions in
25
[Usage Attribution](references/attribution.md).
26
27
## Task Router
28
29
Cloud Network Insights runs synthetic network and web tests from Monitoring
30
Points (MPs) that report to Broadcom AppNeta. Find the user's task, run its
31
check-first command, and follow only the linked steps.
32
33
| Task | Check first | Steps |
34
| :--- | :--- | :--- |
35
| Enable Cloud Network Insights or check its status | `providers list` | [1. Enable](#1-enable-cloud-network-insights) |
36
| Deploy a container (c50) MP or the Compute Engine appliance | `monitoring-points list` | [2. Deploy](#2-deploy-monitoring-points) |
37
| Deploy an MP on Kubernetes, AWS, Azure, VMware, or KVM | `monitoring-points list` | [Platform Summary](references/monitoring-point-deployment.md#2-platform-summary) |
38
| Create Network or Web monitoring policies | AppNeta reachability probe | [3. Policies](#3-monitoring-policies-and-alarm-rules) |
39
| Verify Monitoring Points and paths | `monitoring-points list` | [4. Verify](#4-verify-monitoring-points-and-paths) |
40
| Remove specific policies or Monitoring Points, or everything you set up | `monitoring-points list`; list and confirm first (Rule 4) | [5. Clean Up](#5-clean-up) |
41
| Turn Cloud Network Insights off | `providers list`; warn and ask first (Rule 4) | [Turning Off](#turning-cloud-network-insights-off) |
42
| Alert policies, alarm logs, and path metrics | `gcloud monitoring policies list` | [6. Alerts](#6-alert-policies-cloud-logging-and-cloud-monitoring-metrics) |
43
| Troubleshoot a Monitoring Point | `monitoring-points describe` | [7. Troubleshoot](#7-troubleshoot-monitoring-points) |
44
45
Check-first commands (`PROVIDER_ID` is `external` when Cloud Network Insights
46
was enabled in the Google Cloud console):
47
48
```bash
49
gcloud network-management network-monitoring-providers list --location=global --project=PROJECT_ID
50
gcloud network-management network-monitoring-providers monitoring-points list \
51
--network-monitoring-provider=PROVIDER_ID --location=global --project=PROJECT_ID
52
```
53
54
## Rules
55
56
1. **Confirm the project** and pass `--project=PROJECT_ID` to every command.
57
Without a user preference, use region `us-central1` and zone
58
`us-central1-a` (others:
59
[Google Cloud locations](https://cloud.google.com/about/locations)).
60
2. **Automate first.** Run `gcloud`, `curl`, and `ssh` yourself whenever your
61
environment and the user allow them, and prefer them to console pages.
62
Hand a step to the user only when it needs a browser you don't have (the
63
Broadcom terms in the Google Cloud console, the AppNeta web UI) or an
64
endpoint is unreachable from your environment; give the exact URL, clicks
65
or commands, and success signal. Start independent long-running work
66
(such as VM creation) first, and put every question and console step you
67
need (names, approvals, terms) in one message.
68
3. **Accept third-party terms only with the user's consent.** The first time
69
Cloud Network Insights is turned on in a project, someone must accept the
70
Broadcom End User Agreement in the Google Cloud console. Deploying the
71
Compute Engine appliance with `gcloud` (the default) or Terraform has no
72
terms step; only the Google Cloud Marketplace page shows its listing's
73
terms, so use it only when the user asks for Marketplace. Unless the
74
user's message explicitly pre-approved accepting all Terms of Service
75
(general task instructions and CLI auto-approve flags don't count), stop
76
before accepting any terms and ask: without a browser tool, give the
77
console URL and clicks for the user to accept; with one, summarize the
78
main points of the terms shown in the console, say that the full text
79
there is what applies, and accept only after an explicit yes. Why:
80
accepting terms binds the user to a legal agreement.
81
4. **Delete only after an explicit yes.** Before deleting VMs, deployments,
82
firewall rules, policies, or Monitoring Point records, list exactly what
83
you'll delete (each name with its ID, zone, or AppNeta organization), say
84
it's permanent, and wait for a yes. Skip the question only if the user
85
already confirmed that list or explicitly said to delete those items
86
without asking (a general "work end to end" doesn't count). Then delete
87
exactly those items, each by name or ID, never by looping over search
88
results. Turning Cloud Network Insights off is irreversible: it deletes
89
the project's AppNeta organization and every Monitoring Point record,
90
policy, path, alert policy, and their history, but not the Monitoring
91
Point VMs or containers; give these warnings and the console steps first
92
([Turning Off](#turning-cloud-network-insights-off)). Never disable
93
`networkmanagement.googleapis.com`: Connectivity Tests and other Network
94
Intelligence Center features use it. Why: `--quiet` skips gcloud's own
95
delete prompt, and an AppNeta deletion also erases its paths' history.
96
5. **Keep secrets private.** Run `mktemp -d` once and use the printed path as
97
`WORK_DIR` for install bundles, `mp-config` files, and tokens. Never print,
98
echo, or paste tokens, device keys, bundles, or `mp-config` contents, not
99
even a few lines with `head`. Monitoring Point VMs hold their device key or
100
bundle in instance metadata, so describe them only with a `--format` that
101
leaves out `metadata`, such as `--format="value(name,status)"`. Never use
102
`curl -v`, `--verbose`, or `--trace` on AppNeta calls (they print the
103
token), and run `gcloud auth print-access-token` (or its
104
`application-default` form) and `generate-provider-access-token` only
105
inside `$(...)`, piped, or redirected to a file, as this skill shows.
106
6. **Call AppNeta directly first.** Run AppNeta API calls from your own
107
environment. Only if AppNeta is unreachable from there, give the user
108
their choices in one message: the AppNeta web UI steps, the filled-in
109
policy script to run themselves, or a small proxy VM that you create in
110
the project to run the calls from. Create the proxy VM only if the user
111
picks it, send the token to it only on standard input, and ask in your
112
final summary whether to delete the VM or keep it. Why: the token acts as
113
the user, and anyone who can read a VM can read its metadata and disk.
114
7. **Ask before** creating billable VMs or clusters, changing packages on an
115
existing host, or opening inbound firewall rules (single-ended tests need
116
none; never `0.0.0.0/0` or TCP 22 without explicit approval). Never create
117
service accounts, impersonate accounts, change IAM, or run `gcloud auth
118
login` yourself; if a permission is missing, name the role the user needs.
119
8. **Report only what you verified.** Every state you report (`ACTIVE`,
120
`ONLINE`, `OFFLINE`, created, deleted) must come from a command you ran in
121
this session.
122
123
## Prerequisites
124
125
- **gcloud CLI**: If `gcloud` is missing, point the user to
126
[Install the gcloud CLI](https://docs.cloud.google.com/sdk/docs/install-sdk.md.txt)
127
instead of installing it yourself, and give console steps until it's
128
installed. The AppNeta API scripts also need `curl` and `jq`.
129
- **Authentication and Billing**: On authentication errors, ask the user to
130
run `gcloud auth login`, or `gcloud auth application-default login` where
131
a command falls back to Application Default Credentials. The project needs
132
an active billing account; see
133
[Network Intelligence Center pricing](https://cloud.google.com/products/network-intelligence-center/pricing).
134
- **IAM Roles**: First enablement (accepting the Broadcom terms) needs
135
`roles/networkmanagement.CloudNetworkInsightsAdmin` plus
136
`roles/serviceusage.serviceUsageAdmin`; managing providers, bundles, and
137
policies needs `roles/networkmanagement.CloudNetworkInsightsEditor`;
138
read-only queries need `roles/networkmanagement.CloudNetworkInsightsViewer`.
139
Monitoring Point VMs also need Compute Engine roles:
140
`roles/compute.instanceAdmin.v1` for the default `gcloud` path (others:
141
[Compute Engine Appliance](references/monitoring-point-deployment.md#4-compute-engine-appliance)),
142
and a proxy VM's firewall rule needs `roles/compute.securityAdmin`.
143
144
## 1. Enable Cloud Network Insights
145
146
1. Enable the API. It's idempotent, so run it even if it may be enabled:
147
148
```bash
149
gcloud services enable networkmanagement.googleapis.com --project=PROJECT_ID
150
```
151
152
If it fails because the Google Cloud Terms of Service aren't accepted, ask
153
the user to sign in to the Google Cloud console once and accept them.
154
2. Run the `providers list` check-first command. If a provider is listed,
155
note its ID as `PROVIDER_ID` and go to step 5.
156
3. If none is listed, try to create it. This works only if the Broadcom
157
terms were accepted in this project before (for example, before someone
158
turned Cloud Network Insights off), and then `PROVIDER_ID` is `external`:
159
160
```bash
161
gcloud network-management network-monitoring-providers create external \
162
--provider-type=EXTERNAL --location=global --project=PROJECT_ID
163
```
164
165
If it fails with `Terms of Service not accepted` (code 9), go to step 4.
166
4. The Broadcom End User Agreement must be accepted in the console, which
167
`gcloud` can't do (Rule 3). Without a browser tool, ask the user to open
168
`https://console.cloud.google.com/net-intelligence/cloud-network-insights/onboarding?project=PROJECT_ID`,
169
click **Enable**, check the Broadcom agreement, click **Accept**, and
170
reply when the page says it's enabled, even if they told you to accept
171
all terms. With a browser tool, open that page, summarize the agreement's
172
main points, say that the console's full text is what applies, and click
173
**Accept** only after an explicit yes (or at once if the user told you in
174
advance to accept all terms). Accepting creates the provider `external`,
175
so don't run `create` afterwards; say that you'll then confirm it in
176
`providers list` and wait for `ACTIVE` (step 5).
177
5. Poll every 15 seconds until the state is `ACTIVE`, usually 30-60 seconds
178
after the terms are accepted (`ACTIVATING` means AppNeta is provisioning).
179
`providerUri` is the AppNeta host (`APPNETA_HOST`):
180
181
```bash
182
gcloud network-management network-monitoring-providers describe PROVIDER_ID \
183
--location=global --project=PROJECT_ID --format="value(state,providerUri)"
184
```
185
186
## 2. Deploy Monitoring Points
187
188
There are 7 deployment types: `container` (c50), `helm`, `gce-vm` (Compute
189
Engine appliance), `aws-ec2`, `azure-vm`, `vmware`, and `kvm`. Never assume a
190
type: each one installs differently and measures from a different place, so
191
ask which environment the user wants to measure from. The VM or host name
192
becomes the Monitoring Point name (`HOSTNAME`).
193
194
1. Create `WORK_DIR` if needed and run the `monitoring-points list`
195
check-first command. If `HOSTNAME` is already listed, even as `OFFLINE`,
196
pick an unused name (ask first if the user chose it).
197
2. Follow the matching path in the
198
[Monitoring Point Deployment Reference](references/monitoring-point-deployment.md):
199
200
| Situation | Path |
201
| :--- | :--- |
202
| Container MP on a new Compute Engine VM (default on Google Cloud; no SSH needed) | [Path B: startup script](references/monitoring-point-deployment.md#path-b-new-compute-engine-vm-no-ssh) |
203
| Container MP on an existing Linux host that you can log in to | [Path A: existing host](references/monitoring-point-deployment.md#path-a-existing-host) |
204
| Compute Engine appliance | [Step 1: `gcloud`](references/monitoring-point-deployment.md#step-1-gcloud); Terraform or Google Cloud Marketplace only if the user asks |
205
| Kubernetes, AWS, Azure, VMware, or KVM | [Platform Summary](references/monitoring-point-deployment.md#2-platform-summary) |
206
207
Deploy the Compute Engine appliance yourself with `gcloud`. Don't ask the
208
user to open Google Cloud Marketplace or to accept its terms: this path
209
has no terms step. Use the Marketplace page only when the user asks for it
210
([Step 3](references/monitoring-point-deployment.md#step-3-google-cloud-marketplace)).
211
3. Wait for `connectionStatus: ONLINE` with the polling loop below:
212
213
| After | Poll every | Usually `ONLINE` |
214
| :--- | :--- | :--- |
215
| Container `setup.sh install` on a host | 10 seconds | Within 30 seconds |
216
| Container VM created with the startup script | 30 seconds | About 2-3 minutes |
217
| Appliance VM created | 30 seconds | About 3 minutes |
218
219
### Wait for a Monitoring Point State
220
221
Run each wait as this one blocking command. It prints the list every 30
222
seconds and stops when `HOSTNAME` shows `STATE` (`ONLINE` after a deployment,
223
`OFFLINE` after a host deletion), for at most 10 minutes. For several
224
Monitoring Points, chain one `echo "$s" | grep -q ...` test per `HOSTNAME` with
225
`&&` before `break`. Don't run separate `sleep` commands or check a background
226
task's status while it runs; if your tool backgrounds it, wait for its
227
completion message.
228
229
```bash
230
for i in $(seq 1 20); do
231
s=$(gcloud network-management network-monitoring-providers monitoring-points list \
232
--network-monitoring-provider=PROVIDER_ID --location=global --project=PROJECT_ID \
233
--format="value(displayName,connectionStatus)")
234
echo "$s"
235
echo "$s" | grep -q "^HOSTNAME[[:space:]]*STATE$" && break
236
sleep 30
237
done
238
```
239
240
## 3. Monitoring Policies and Alarm Rules
241
242
Monitoring policies (`/api/v4/monitoringPolicy`, AppNeta REST API v4) define
243
the tests: **Network** policies measure loss, latency, and jitter to an IP or
244
host over TCP or UDP; **Web** policies run HTTP/HTTPS checks such as a `GET`
245
with a `200` assertion. Alarm rules exist only in the AppNeta web UI
246
(**Alarms** > **Alarm Rules**; see
247
[Broadcom Alarm Rules](https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta-for-google-cloud-network-insights/GA/alarms-set-up/alarms-rules.html)),
248
not the REST API v4.
249
250
1. Probe the AppNeta API once from your environment, with a short timeout
251
(`APPNETA_HOST` is the `providerUri` from [1. Enable](#1-enable-cloud-network-insights),
252
step 5):
253
254
```bash
255
curl -sS -o /dev/null -w '%{http_code}\n' --connect-timeout 10 --max-time 15 \
256
"https://APPNETA_HOST/api/v4/organization"
257
```
258
259
- **Any HTTP code** (`401` is normal here): AppNeta is reachable. Run the
260
[policy script](references/monitoring-policies.md#5-policy-script)
261
yourself.
262
- **`000`, curl exit code 6, 7, or 28**: AppNeta is unreachable from your
263
environment. Don't retry. Fill in the script (step 2) and give the
264
user three choices in one message (Rule 6): (a) create the policies in
265
the AppNeta web UI with the
266
[UI steps](references/monitoring-policies.md#appneta-web-ui), filled
267
in; (b) run the complete filled-in script, pasted as a Markdown code
268
block (it holds no tokens or keys; never just a path to a file in your
269
environment), from a machine with `gcloud`, `curl`, `jq`, and HTTPS
270
access to `APPNETA_HOST`; or (c) let you create a small proxy VM in the
271
project and run the script from it
272
([Proxy VM](references/monitoring-policies.md#proxy-vm)). Then
273
continue with the rest of the task.
274
2. Fill in the script with one `create_policy NAME TARGET MP_NAME network|web`
275
line per policy. It picks this project's organization by name, skips names
276
that already exist there, and scopes each policy to one Monitoring Point.
277
For custom payloads, use the
278
[step-by-step calls](references/monitoring-policies.md#1-set-up-appneta-api-access).
279
3. On `HTTP 401`, rerun the script once; it mints a fresh token (tokens last
280
about one hour). If `401` persists, stop and give the user the options:
281
`gcloud auth application-default print-access-token` as the Google Cloud
282
token (certificate-bound user tokens exchange into AppNeta tokens that get
283
`401`), signing in again with `gcloud auth login`, or a token from a
284
service account that has
285
`roles/networkmanagement.CloudNetworkInsightsEditor`. Never create service
286
accounts, impersonate, or change IAM yourself.
287
4. Confirm the new paths with `network-paths list` and `web-paths list`
288
([4. Verify](#4-verify-monitoring-points-and-paths)).
289
290
## 4. Verify Monitoring Points and Paths
291
292
1. **Monitoring Points**: `connectionStatus` must be `ONLINE`.
293
2. **Network and Web Paths**:
294
295
```bash
296
gcloud network-management network-monitoring-providers network-paths list \
297
--network-monitoring-provider=PROVIDER_ID --location=global --project=PROJECT_ID --format=json
298
gcloud network-management network-monitoring-providers web-paths list \
299
--network-monitoring-provider=PROVIDER_ID --location=global --project=PROJECT_ID --format=json
300
```
301
302
3. **Filter by Monitoring Point**: Add
303
`--filter="sourceMonitoringPointId=MONITORING_POINT_ID"` (the last segment
304
of the Monitoring Point's `name` in `monitoring-points list`).
305
4. **Expected Extra Paths**: Each Web policy also creates a companion
306
`NetworkPath` to the target host (unless one already exists), and a newly
307
deployed Monitoring Point inherits paths from existing policies whose
308
`monitoringPointRules` match it.
309
310
## 5. Clean Up
311
312
Match the scope to the request, and touch nothing that this setup didn't
313
create:
314
315
| Request | Do |
316
| :--- | :--- |
317
| Delete specific policies or Monitoring Points | [Targeted Cleanup](#targeted-cleanup) only |
318
| Remove everything you set up, keep Cloud Network Insights on | [Full Cleanup](#full-cleanup) |
319
| Turn Cloud Network Insights off | [Turning Off](#turning-cloud-network-insights-off), with no per-resource cleanup first |
320
321
### Targeted Cleanup
322
323
Inventory only the named items (Full Cleanup, step 1), confirm them (step 2),
324
and then:
325
326
- **A monitoring policy**: delete it by ID (step 3), then confirm that its
327
paths are gone with `network-paths list` and `web-paths list`.
328
- **A Monitoring Point**: delete only its host (step 4), wait until it's
329
`OFFLINE` (step 5), and delete its record (step 6). Its paths go with the
330
record; policies stay unless the user asks you to delete them.
331
332
### Full Cleanup
333
334
Cloud Network Insights stays enabled. Follow this order; each step depends on
335
the previous one.
336
337
1. **Inventory** before deleting anything: run `monitoring-points list`,
338
`network-paths list`, `web-paths list`, `gcloud compute instances list`,
339
`gcloud compute firewall-rules list`, and, if anything came from Google
340
Cloud Marketplace, `gcloud infra-manager deployments list
341
--location=REGION` (all with `--project=PROJECT_ID`). Then run the AppNeta
342
probe ([3. Policies](#3-monitoring-policies-and-alarm-rules), step 1); if
343
AppNeta is reachable, look up the IDs of this organization's policies and
344
Monitoring Point records
345
([Delete by ID](references/monitoring-policies.md#4-delete-policies-and-monitoring-point-records)).
346
2. **Confirm** (Rule 4): reply with what you'll delete: the policies (name
347
and ID), hosts (VMs with their zone, deployments, firewall rules), and
348
Monitoring Point records (name and ID), and wait for a yes. Leave out
349
anything this setup didn't create, or ask about it.
350
3. **Delete the monitoring policies** you listed, one `DELETE` call per ID
351
([Delete by ID](references/monitoring-policies.md#4-delete-policies-and-monitoring-point-records));
352
`404` means already deleted. If AppNeta is unreachable, give the user the
353
AppNeta web UI steps in the reply template below instead.
354
4. **Delete the Monitoring Point hosts** you listed. Delete a Marketplace
355
deployment with `gcloud infra-manager deployments delete DEPLOYMENT
356
--location=REGION --project=PROJECT_ID --quiet` (it also removes its VM
357
and firewall rules), and other VMs as shown below; for Terraform, Helm,
358
and hosts that stay, see
359
[Host Cleanup](references/monitoring-point-deployment.md#6-host-cleanup):
360
361
```bash
362
gcloud compute instances delete HOSTNAME_1 HOSTNAME_2 --zone=ZONE --project=PROJECT_ID --quiet
363
```
364
365
5. **Wait for `OFFLINE`**: Monitoring Points turn `OFFLINE` about 4-5 minutes
366
after their host is deleted. Poll every 30 seconds with
367
[the polling loop](#wait-for-a-monitoring-point-state) (`STATE` =
368
`OFFLINE`). If one is still `ONLINE` after 8 minutes, tell the user it will
369
turn `OFFLINE` shortly, and continue.
370
6. **Delete the Monitoring Point records** you listed, one `DELETE` call per
371
ID, with the AppNeta API (`gcloud` and the Google Cloud console can't
372
delete them), each only once it's `OFFLINE`; keep one that isn't
373
`OFFLINE` yet and delete it later. `404` means already deleted. On `401`,
374
mint a new token once; on `403`, name the role the user needs (Rule 7).
375
If AppNeta is unreachable, give the user the AppNeta web UI steps in the
376
reply template below instead (get `PROJECT_NUMBER` with `gcloud projects
377
describe PROJECT_ID --format="value(projectNumber)"`).
378
7. **Verify and report**: Re-run `monitoring-points list` and `instances
379
list`, then reply with this template, filled in, in this order:
380
381
```markdown
382
1. Monitoring policies: deleted NAME (ID), ... in AppNeta organization ORG_ID.
383
[If AppNeta was unreachable instead: open
384
https://APPNETA_HOST/pvc/monitoringPolicies.html?project=PROJECT_NUMBER and
385
delete NAME_1 and NAME_2 there.]
386
2. Hosts: deleted VM_NAMES / DEPLOYMENT / FIREWALL_RULES.
387
3. Monitoring Point records: deleted HOSTNAME_1 (ID), ... with the AppNeta API
388
[; kept HOSTNAME (not OFFLINE yet)].
389
[If AppNeta was unreachable instead: open
390
https://APPNETA_HOST/pvc/monitoringPoints.html?project=PROJECT_NUMBER, open
391
the menu next to each OFFLINE Monitoring Point (HOSTNAME_1, HOSTNAME_2),
392
click Delete, and confirm.] Check that they're gone with:
393
gcloud network-management network-monitoring-providers monitoring-points list --network-monitoring-provider=PROVIDER_ID --location=global --project=PROJECT_ID
394
4. Cloud Network Insights is still enabled. Turning it off is irreversible (it
395
deletes the AppNeta organization and every Monitoring Point record, policy,
396
path, alert policy, and their history). I can do it after you confirm, or
397
you can: in the Google Cloud console, open Network Intelligence Center >
398
Cloud Network Insights > Settings, click Disable product, type disable, and
399
click Confirm.
400
```
401
402
### Turning Cloud Network Insights Off
403
404
Turning it off deletes every policy, path, and Monitoring Point record by
405
itself, so don't delete policies, wait for `OFFLINE`, or delete records first.
406
407
1. Unless the user's request already acknowledged these points, reply with
408
them and wait for an explicit yes (Rule 4):
409
- It's irreversible. It deprovisions the project's AppNeta organization
410
and deletes every Monitoring Point record, network path, web path,
411
monitoring policy, Cloud Network Insights alert policy, and their
412
history. Turning it back on needs new Monitoring Points and policies.
413
- It doesn't delete Monitoring Point VMs or containers; that's a
414
separate next step, and they're billed until deleted.
415
- To do it yourself: in the Google Cloud console, open
416
**Network Intelligence Center** > **Cloud Network Insights** >
417
**Settings**, click **Disable product**, type `disable`, and click
418
**Confirm**. If the project has a Cloud Network Insights subscription,
419
this doesn't cancel it.
420
421
Ask whether you should turn it off now and then delete the Monitoring
422
Point hosts you created, naming them.
423
2. After an explicit yes, run this (the console does the same; `--force` also
424
deletes the Monitoring Point records and paths), then confirm that
425
`providers list` is empty:
426
427
```bash
428
gcloud network-management network-monitoring-providers delete PROVIDER_ID \
429
--location=global --project=PROJECT_ID --force --quiet
430
```
431
432
3. Then delete the Monitoring Point hosts and firewall rules you named (Full
433
Cleanup, step 4) if the user agreed; otherwise list them as still billed.
434
435
## 6. Alert Policies, Cloud Logging, and Cloud Monitoring Metrics
436
437
Follow [Alerts, Logs, and Metrics](references/alerts-logs-metrics.md) for the
438
alert policy file, path scoping, log queries, and metric queries. Always:
439
440
- Set `"userLabels": {"cloud-network-insights": "true"}` in alert policies so
441
they appear in the Cloud Network Insights alert policies view.
442
- Add `AND NOT jsonPayload.noise_conditions:*` to `insights_alarm` alert
443
policy filters unless the user asks to include noisy alarms.
444
- Treat an alarm as active only if the latest entry for its
445
`jsonPayload.alarm_id` isn't `CLEARED`.
446
447
## 7. Troubleshoot Monitoring Points
448
449
1. **Google Cloud Registration**: Check that `connectionStatus` is `ONLINE` in
450
`monitoring-points list` (or `describe`).
451
2. **Workload, Host, and Appliance Health**: Inspect the Monitoring Point
452
runtime, container or Kubernetes workload, startup-script log (serial port
453
output), or v35 Web Admin status (log in to its Web Admin UI) with the
454
model-specific guides in
455
[Monitoring Point Deployment Reference](references/monitoring-point-deployment.md),
456
[Broadcom Troubleshooting Monitoring Points](https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta-for-google-cloud-network-insights/GA/troubleshooting-section/troubleshooting.html), and
457
[Troubleshooting Cloud Network Insights](https://docs.cloud.google.com/network-intelligence-center/docs/cloud-network-insights/troubleshooting.md.txt).
458
3. **Network, Proxy, and Firewall Rules**: Verify the target environment's
459
firewall, Web Proxy, custom CA certificate, and gRPC/SSL inspection bypass
460
settings (`data.na1.cni.appneta.com`, `content.na1.cni.appneta.com`,
461
`comms.na1.cni.appneta.com`, or `.p.` endpoints for Private Service Connect)
462
against [Broadcom Firewall Configuration](https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta-for-google-cloud-network-insights/GA/appliance-firewall.html) and
463
[Add Monitoring Points](https://docs.cloud.google.com/network-intelligence-center/docs/cloud-network-insights/add-monitoring-points.md.txt).
464
465
## 8. Before Reporting
466
467
1. Send one summary, after the last step. Re-run `monitoring-points list`
468
(and `providers describe` or `instances list`), and report only its states.
469
2. List what you created or deleted (VMs, firewall rules, policies, and
470
Monitoring Point records, with names, IDs, and `ORG_ID`; a `404` confirmed
471
absent) and what the user still has to do, each with its exact script,
472
commands, or click path.
473
3. Note that Monitoring Point VMs, disks, and external IPs are billed by
474
Compute Engine until deleted, and delete `WORK_DIR` when you're done.
475
4. If you created a proxy VM for AppNeta calls, ask whether to delete it (and
476
its firewall rule) or keep it for later policy changes.
477
478
## Reference Documentation
479
480
- [Google Cloud Network Insights Documentation](https://docs.cloud.google.com/network-intelligence-center/docs/cloud-network-insights/overview.md.txt)
481
- [Broadcom AppNeta for Cloud Network Insights Documentation](https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta-for-google-cloud-network-insights/GA.html)
482

© Google LLC · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…