TMAegis
tdsql 관련 규칙 더 보기

TMA-TDSQL-2.11

Ensure Adequate Disk Space Monitoring Is Configured

보통레벨 1수동 검토tdsql

설명

Disk space monitoring with alerting should be configured for all TDSQL partitions (data, log, backup, temporary directories). TDSQL includes a built-in log cleanup mechanism: OSS logs are retained for up to 30 days / 100 GB (cleaned every 12 hours), and Manager logs up to 20 GB (cleaned every 3 minutes).

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

# Check current disk usage df -h /data/tdsql/ /tdsqlbackup/ /data/home/zkback/ 2>/dev/null # Check the TDSQL log cleanup configuration grep -A3 'log_clean' /path/to/tdsql/conf/scheduler.xml grep -A3 'clear_log' /path/to/tdsql/conf/scheduler.xml

조치 방법

조치 방식: 가이드 또는 인프라 패치

1. Configure disk alerts at 80% and 90% thresholds. 2. Verify that TDSQL log cleanup is enabled: <log_clean enable="1" max_save_days="30" max_size="100000000000" hz="12"/> <clear_log enable="on" resv_capacity="20" distance_time="3" /> 3. Deploy external monitoring (Prometheus, Zabbix) covering all TDSQL partitions.

속성

운영 체제
모두
태그
tdsqlmonitoring
참고 자료
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.11 Ensure Adequate Disk Space Monitoring Is Configured