Skip to content

Commit 3b24f65

Browse files
authored
Merge pull request #79868 from remcoeissing/patch-11
Dependency agent script styling improvement
2 parents bb819e4 + 4b44fe7 commit 3b24f65

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/azure-monitor/vm/vminsights-dependency-agent-maintenance.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can download the latest version of the Windows agent from [here](https://aka
4343

4444
2. Run the following command.
4545

46-
```dos
46+
```cmd
4747
InstallDependencyAgent-Windows.exe /S /RebootMode=manual
4848
```
4949
@@ -59,7 +59,11 @@ You can download the latest version of the Linux agent from [here](https://aka.m
5959
6060
1. Sign on to the computer with an account that has administrative rights.
6161
62-
2. Run the following command as root`sh InstallDependencyAgent-Linux64.bin -s`.
62+
2. Run the following command as root.
63+
64+
```bash
65+
InstallDependencyAgent-Linux64.bin -s
66+
```
6367
6468
If the Dependency agent fails to start, check the logs for detailed error information. On Linux agents, the log directory is */var/opt/microsoft/dependency-agent/log*.
6569

0 commit comments

Comments
 (0)