diff --git a/check.sh b/check.sh new file mode 100644 index 0000000..e7dc1f6 --- /dev/null +++ b/check.sh @@ -0,0 +1,42 @@ +#! /bin/bash +# +set -e -u +set -o pipefail + + +exec 1> $(date -I)_$(hostname).report + +echo $(hostname) + +echo $(date -I) + +echo UPDATES: + +dnf --security check-update + +echo CERTIFICATES: + +certbot certificates + +echo UPTIME: + +uptime + +echo SERVICE STATUS + +systemctl --failed + + +echo BACKUP LIST + +burp -a l + + +echo LAST USER + +last | head + +echo LOG Warnings: + +journalctl --priority warning +