Skip to content

Commit

Permalink
Adding collection of /etc/crypttab on Diag report and a report for cr…
Browse files Browse the repository at this point in the history
…ash dump analysis
  • Loading branch information
esvmicrosoft committed Jan 8, 2024
1 parent 73d95b4 commit 7e8ab58
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/manifest_by_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ File Path | Manifest
/etc/cloud/cloud.cfg | diagnostic, diskpool, eg, vmdiagnostic
/etc/cloud/cloud.cfg.d/\*.cfg | diagnostic, diskpool, eg, vmdiagnostic
/etc/cni/net.d/\*.conflist | aks
/etc/crypttab | diagnostic
/etc/default/azuremonitoragent | azuremonitoragent
/etc/default/grub | linux-bootconfig
/etc/default/grub.d/\*.cfg | linux-bootconfig
Expand All @@ -72,6 +73,7 @@ File Path | Manifest
/etc/hosts.allow | diagnostic
/etc/hosts.deny | diagnostic
/etc/idmapd.conf | diagnostic, vmdiagnostic
/etc/kdump.conf | crashdump
/etc/localtime | diagnostic
/etc/modprobe.d/\*.conf | diagnostic
/etc/netplan/\*.yaml | diagnostic, eg, vmdiagnostic
Expand Down Expand Up @@ -161,6 +163,7 @@ File Path | Manifest
/tmp/sosreport\*.tar.xz | linux-sos-scc
/usr/lib/NetworkManager/\*.conf | diagnostic, eg, vmdiagnostic
/usr/lib/NetworkManager/conf.d/\*.conf | diagnostic, eg, vmdiagnostic
/var/crash/\* | crashdump
/var/lib/.jupyter/jupyter_notebook_config.py | hdinsight
/var/lib/GuestConfig/Configuration/\* | monitor-mgmt
/var/lib/GuestConfig/gc_agent_logs/\* | monitor-mgmt
Expand Down Expand Up @@ -662,4 +665,4 @@ File Path | Manifest
/k/kubeclusterconfig.json | aks
/unattend.xml | diagnostic, eg, normal, vmdiagnostic, windowsupdate

*File was created by running [parse_manifest.py](../tools/parse_manifest.py) on `2023-11-01 11:36:24.463055`*
*File was created by running [parse_manifest.py](../tools/parse_manifest.py) on `2024-01-08 16:13:52.407698`*
5 changes: 4 additions & 1 deletion docs/manifest_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ azuremonitoragent | copy | /var/lib/waagent/Microsoft.Azure.Monitor.AzureMonitor
azuremonitoragent | copy | /var/lib/waagent/Microsoft.Azure.Monitor.AzureMonitorLinuxAgent-\*/status/\*.status
azuremonitoragent | copy | /var/log/azure/Microsoft.Azure.Monitor.AzureMonitorLinuxAgent/\*/\*.log
azuremonitoragent | copy | /var/log/waagent\*.log
crashdump | copy | /var/crash/\*
crashdump | copy | /etc/kdump.conf
diagnostic | list | /boot
diagnostic | list | /var/log
diagnostic | list | /var/lib/cloud
Expand Down Expand Up @@ -271,6 +273,7 @@ diagnostic | copy | /var/log/azure/custom-script/handler.log
diagnostic | copy | /var/log/azure/run-command/handler.log
diagnostic | copy | /var/log/azure/cluster-provision.log
diagnostic | copy | /etc/fstab
diagnostic | copy | /etc/crypttab
diagnostic | copy | /etc/\*-release
diagnostic | copy | /etc/HOSTNAME
diagnostic | copy | /etc/hostname
Expand Down Expand Up @@ -1827,4 +1830,4 @@ workloadbackup | copy | /WindowsAzure/Logs/Plugins/\*
workloadbackup | copy | /WindowsAzure/Logs/AggregateStatus/aggregatestatus\*.json
workloadbackup | copy | /WindowsAzure/Logs/AppAgentRuntime.log

*File was created by running [parse_manifest.py](../tools/parse_manifest.py) on `2023-11-01 11:36:24.463055`*
*File was created by running [parse_manifest.py](../tools/parse_manifest.py) on `2024-01-08 16:13:52.407698`*
4 changes: 4 additions & 0 deletions manifests/linux/crashdump
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

echo,### Gathering crash dump files ###
copy,/var/crash/*,noscan
copy,/etc/kdump.conf
1 change: 1 addition & 0 deletions manifests/linux/diagnostic
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ echo,

echo,### Gathering System Configuration Files ###
copy,/etc/fstab
copy,/etc/crypttab
copy,/etc/*-release,noscan
copy,/etc/HOSTNAME,noscan
copy,/etc/hostname,noscan
Expand Down

0 comments on commit 7e8ab58

Please sign in to comment.