From f4f0379035120f00a5c73f025339fb9c9e2faa80 Mon Sep 17 00:00:00 2001 From: newrain Date: Thu, 17 Jun 2021 22:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4bug=20=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zabbix_agentd.d/script/dbMonitor.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zabbix_agentd.d/script/dbMonitor.sh b/zabbix_agentd.d/script/dbMonitor.sh index f62ab17..a11dc36 100644 --- a/zabbix_agentd.d/script/dbMonitor.sh +++ b/zabbix_agentd.d/script/dbMonitor.sh @@ -77,12 +77,12 @@ function RemoteUser(){ echo $_result } -case $2 in +case $1 in heartbeat) Heartbeat ;; crud) - Crud $3 # insert update delete select commit rollback qps tps + Crud $2 # insert update delete select commit rollback qps tps ;; twins) Twins @@ -91,7 +91,7 @@ slowlog) SlowLog ;; config) - Config $3 # max_connections innodb_buffer_pool_size ... + Config $2 # max_connections innodb_buffer_pool_size ... ;; ruser) RemoteUser