From 276e7b6fa8c263da371350f9fa6bde5c5933f6cb Mon Sep 17 00:00:00 2001 From: snoop Date: Wed, 17 May 2017 19:41:35 +0900 Subject: [PATCH] changed grpc javar start script --- .../container/java_proxy/sql/444441122312 | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 test_agent/config/container/java_proxy/sql/444441122312 diff --git a/test_agent/config/container/java_proxy/sql/444441122312 b/test_agent/config/container/java_proxy/sql/444441122312 new file mode 100644 index 0000000..e7e8ede --- /dev/null +++ b/test_agent/config/container/java_proxy/sql/444441122312 @@ -0,0 +1,44 @@ +{ + "id" : "444441122312", + "target" : { + "connection" : { + "ip" : "192.168.1.104", + "port" : "6379", + "ssl" : false, + "portType" : "tcp" + }, + "auth" : { + "url":"jdbc:mysql://192.168.1.215:3306", + "id":"root", + "pw":"qwe123" + } + }, + "schedule" : { + "interval" : "10" + }, + "crawler" : { + "name":"SQL", + "container":"java_proxy" + }, + "items" : [ + { + "keys" : [ + { + "metric":"net.connection_count", + "key":"Connections" + } + + ], + "queryInfo" : { + "query":"show status where `variable_name` = 'Connections'" + }, + "mappingInfo" : { + "parseDirection" : "row", + "valueColumn" : "Value", + "keyColumns" : [ + "Variable_name" + ] + } + } + ] +} \ No newline at end of file