提交bug 位置变量

master
newrain 3 years ago
parent 71af1ba07e
commit f4f0379035
  1. 6
      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

Loading…
Cancel
Save