mssql conf
This commit is contained in:
parent
1188548422
commit
ca5d24c9a0
38
test_agent/config/container/java_proxy/sql/777999444
Normal file
38
test_agent/config/container/java_proxy/sql/777999444
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"id" : "777999444",
|
||||
"target" : {
|
||||
"connection" : {
|
||||
"ip" : "192.168.1.106",
|
||||
"port" : "1433",
|
||||
"ssl" : false,
|
||||
"portType" : "tcp"
|
||||
},
|
||||
"auth" : {
|
||||
"url":"jdbc:sqlserver://192.168.1.106:1433;",
|
||||
"id":"sa",
|
||||
"pw":"qwe123"
|
||||
}
|
||||
},
|
||||
"schedule" : {
|
||||
"interval" : "5"
|
||||
},
|
||||
"crawler" : {
|
||||
"name":"SQL",
|
||||
"container":"java_proxy"
|
||||
},
|
||||
"items" : [
|
||||
{
|
||||
"keys" : [
|
||||
{
|
||||
"metric" :"net.connection_count",
|
||||
"key" : "Connections"
|
||||
}
|
||||
],
|
||||
"queryInfo" : {
|
||||
"query": "select count('session_id') as 'connection_count' from sys.dm_exec_connections where session_id = @@SPID"
|
||||
},
|
||||
"mappingInfo" : {}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user