Commit 5cf0482
AzureMonitorAgent: support Azure Linux 4 (gate + rsyslog install)
Adds Azure Linux 4 (x86_64 + aarch64) support:
- supported_distros.py: add '4' to the 'azurelinux' key in
supported_dists_x86_64 and supported_dists_aarch64 so the extension no
longer rejects Azure Linux 4 with 'Unsupported operating system'.
- agent.py install(): Azure Linux 4 ships journald-only with no rsyslog
pre-installed, so AMA's Syslog collection produces no data until rsyslog
is present. Mirror the existing Debian 12/13 and Amazon Linux 2023
handling by installing rsyslog via dnf when missing.
Validated end-to-end on a real Azure Linux 4.0 VM (AMA 1.42.0): uninstall
AMA + rsyslog, then reinstall -> rsyslog is auto-installed by install() and
Heartbeat/Syslog/Perf/InsightsMetrics/*_CL all flow to the LAW.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: dc6e1b08-7800-4f61-826c-89e0a7b928d91 parent cceb34f commit 5cf0482
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
476 | 485 | | |
477 | 486 | | |
478 | 487 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments