TMAegis
Više pravila za tdsql

TMA-TDSQL-12.11

Ensure Manager Resource Monitoring Thresholds Are Configured

NiskaNivo 2Ručni pregledtdsql

Opis

The TDSQL Agent provides proactive resource monitoring (mysqlagent_template.xml): <myisam open="1" interval="3600"/> - check whether MyISAM tables have been created <long_trx open="1" interval="60"/> - monitor long transactions <no_primarykey open="1" interval="3600"/> - monitor tables without a primary key <checkdisk open="1" interval="10"/> - disk space check <checklog open="1" interval="..."/> - monitor critical ...

Kako se proverava

Metod provere: Ručni pregled

Ova preporuka se ne može proveriti automatski. Skeniranje je navodi sa ovim uputstvima kada prosledite --include-manual.

Run grep -A20 '<monitor>' <tdsql>/agent/conf/mysqlagent.xml (and the HeartBeat section). The myisam, long_trx, no_primarykey, checkdisk and checklog items and binlog_checksum must each have open="1" with suitable intervals; any disabled item is a finding.

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

<monitor> <myisam open="1" interval="3600"/> <long_trx open="1" interval="60"/> <no_primarykey open="1" interval="3600"/> <checkdisk open="1" interval="10"/> <checklog open="1" interval="60"/> </monitor> <HeartBeat> <Other switch="1" interval="3"> <binlog_checksum open="1" err_count="-1" err_time="10"/> </Other> </HeartBeat>

Svojstva

Operativni sistemi
Bilo koji
Oznake
tdsqlmonitoring
Referenca
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 12.11 Ensure Manager Resource Monitoring Thresholds Are Configured