openmamba-makereport: add smartctl output for hard disks health monitoring
This commit is contained in:
parent
dde1bd7369
commit
5bdb2b7bff
@ -203,6 +203,11 @@ catcommand "/sbin/route -n" "Routing table"
|
|||||||
catfile "/etc/sysconfig/network" "General network configuration"
|
catfile "/etc/sysconfig/network" "General network configuration"
|
||||||
catfile "/etc/resolv.conf" "DNS configuration"
|
catfile "/etc/resolv.conf" "DNS configuration"
|
||||||
|
|
||||||
|
# Disks
|
||||||
|
for d in /dev/sd[a-z]; do
|
||||||
|
catcommand "smartctl -ia $d" "S.M.A.R.T. status for device $d"
|
||||||
|
done
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
catcommand "rpm -qa --last | head -n 100" "Last installed packages"
|
catcommand "rpm -qa --last | head -n 100" "Last installed packages"
|
||||||
catfile "/var/log/install-*" "Installation log"
|
catfile "/var/log/install-*" "Installation log"
|
||||||
|
Loading…
Reference in New Issue
Block a user