diff --git a/scripts/disk-health-check.sh b/scripts/disk-health-check.sh index 25b26bf..9ff772e 100755 --- a/scripts/disk-health-check.sh +++ b/scripts/disk-health-check.sh @@ -1,7 +1,7 @@ #!/bin/bash # server-health-check.sh — Argento health monitoring # Checks: SMART disk health, ZFS pool status, disk space -# Outputs to stdout by default, or sends email with --email. +# Outputs plain text to stdout by default, or sends an HTML email with --email. # Use --error-only to suppress output when everything is healthy. # # Usage: @@ -37,6 +37,28 @@ done PROBLEMS="" STATUS="" +# HTML table rows for the email body, built alongside the plain-text STATUS. +# Styles are inlined on every element because most mail clients strip +#