The awk program was double-quoted inside the single-quoted
COLLECTOR_SCRIPT, causing $1/$2/$3 to be expanded by the remote
shell as empty positional parameters instead of awk field references.
This made the D-state process filter silently match nothing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Validate --output-dir has a following argument before accessing $2
(prevents unbound variable crash under set -u)
- Add ZOMBIE_WARN config variable (default: 1) and use it in the zombie
check instead of hardcoding 0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Closes#23
- Fix STUCK_PROC_CPU_WARN not reaching remote collector: COLLECTOR_SCRIPT
heredoc stays single-quoted; threshold is passed as $1 to the remote
bash session so it is evaluated correctly on the collecting host
- Fix LXC IP discovery for static-IP containers: lxc-info result now falls
back to parsing pct config when lxc-info returns empty
- Fix SSH failures silently dropped: stderr redirected to
$REPORT_DIR/ssh-failures.log; SSH_FAILURE entries counted and printed
in the summary
- Add explicit comment explaining why -e is omitted from set options
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>