You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/network-watcher/network-watcher-alert-triggered-packet-capture.md
+13-16Lines changed: 13 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ By using Network Watcher, alerting and functions from within the Azure ecosystem
35
35
36
36
In this example, your VM is utilizing more CPU percentage than usual and you want to be alerted. CPU percentage is used as an example here, but you can use any alert condition.
37
37
38
-
When you're alerted, the packet-level data helps to understand why communication has increased. You can take steps to return the virtual machine to regular communication.
38
+
When you're alerted, the packet-level data helps to understand why utilization has increased. You can take steps to return the virtual machine to regular utilization.
39
39
40
40
This scenario assumes that you have an existing instance of Network Watcher and a resource group with a valid Virtual machine.
41
41
@@ -128,7 +128,7 @@ $Encryptedpassword
128
128
129
129
In the App Service Editor of the function app, create a folder called **keys** under **AlertPacketCapturePowerShell**. Upload the **PassEncryptKey.key** file that you created in the previous PowerShell sample.
130
130
131
-
![Functions key][functions8]
131
+
:::image type="content" source="./media/network-watcher-alert-triggered-packet-capture/key-function.png" alt-text="Screenshot of the Encryption key.":::
132
132
133
133
### Retrieve values for environment variables
134
134
@@ -140,7 +140,7 @@ The final requirement is to set up the environment variables that are necessary
140
140
141
141
#### AzureClientID
142
142
143
-
The client ID is the Application ID of an application in Azure Active Directory.
143
+
The client ID is the Application ID of an application in the Azure Active Directory.
144
144
145
145
1. If you don't already have an application to use, run the following example to create an application.
146
146
@@ -408,14 +408,14 @@ Go to an existing virtual machine and [add an alert rule](../azure-monitor/alert
408
408
409
409
2. In the **Conditions** tab, set the following values and select **Next: Actions >**.
410
410
411
-
|**Setting**|**Value**|
412
-
|---|---|
413
-
|**Threshold**|Static|
414
-
|**Aggregation type**|Average|
415
-
|**Operator**|Greater than|
416
-
|**Threshold value**|3|
417
-
|**Check every**|1 minute|
418
-
|**Lookback period**|5 minutes|
411
+
|**Setting**|**Value**|
412
+
|---|---|
413
+
|**Threshold**|Static|
414
+
|**Aggregation type**|Average|
415
+
|**Operator**|Greater than|
416
+
|**Threshold value**|3|
417
+
|**Check every**|1 minute|
418
+
|**Lookback period**|5 minutes|
419
419
420
420
3. In the **Actions** tab, select **Create an action group**.
421
421
4. In the **Create action group** screen, select the **Subscription**, **Resource group**, and **Region**. Also enter the Action group name and the display name and select **Next: Notifications >**.
@@ -430,12 +430,9 @@ After the criteria for the alert triggers, a packet capture is created. Go to Ne
430
430
431
431
If the capture file is stored locally, you can retrieve it by signing in to the virtual machine.
432
432
433
-
For instructions about downloading files from Azure storage accounts, see [Get started with Azure Blob storage using .NET](../storage/blobs/storage-quickstart-blobs-dotnet.md). Another tool you can use is[Storage Explorer](https://storageexplorer.com/).
433
+
For instructions on downloading files from Azure storage accounts, see [Get started with Azure Blob storage using .NET](../storage/blobs/storage-quickstart-blobs-dotnet.md). You can also use the[Storage Explorer](https://storageexplorer.com/) tool.
434
434
435
-
After your capture has been downloaded, you can view it by using any tool that can read a **.cap** file. Following are links to two of these tools:
After your capture has been downloaded, you can view it using tools like [Microsoft Message Analyzer](/message-analyzer/microsoft-message-analyzer-operating-guide) and [WireShark](https://www.wireshark.org/)that can read a **.cap** file.
0 commit comments