tractatus/scripts/monitoring
TheFlow d1dbbd74e6 fix: resolve grep count handling in log monitor
Fix syntax errors in log-monitor.sh caused by grep returning multiple
values or empty strings. Use || true instead of || echo "0" fallback
and explicitly check for empty values.

Changes:
- Replace || echo "0" with || true
- Add explicit empty string checks before comparisons
- Ensures count variables are always single integers

Fixes error: "syntax error in expression (error token is "0")"

Testing: Confirmed working on production with ./log-monitor.sh --test
2025-10-10 05:30:36 +13:00
..
disk-monitor.sh ops: implement comprehensive production monitoring system 2025-10-09 22:23:40 +13:00
health-check.sh ops: implement comprehensive production monitoring system 2025-10-09 22:23:40 +13:00
log-monitor.sh fix: resolve grep count handling in log monitor 2025-10-10 05:30:36 +13:00
monitor-all.sh ops: implement comprehensive production monitoring system 2025-10-09 22:23:40 +13:00
ssl-monitor.sh ops: implement comprehensive production monitoring system 2025-10-09 22:23:40 +13:00