diff --git a/scripts/health-check b/scripts/health-check index bac79bdc..f9999269 100755 --- a/scripts/health-check +++ b/scripts/health-check @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p curl -p dig -p iputils -p lftp +#!nix-shell -i bash -p curl -p dig -p iputils -p lftp -p openssh echo "this script will check that uninsane.org is baseline operational" echo "it doesn't check all services, just the most critical ones" @@ -45,6 +45,10 @@ check "git.uninsane.org" git ls-remote origin --quiet check "ftp://uninsane.org" lftpget ftp://uninsane.org/README.md && rm README.md +echo "" +echo "systemctl --failed:" +ssh uninsane.org systemctl -q --failed + echo "" if [ $last_error -eq 0 ]; then echo "SUCCESS"