mssql conf

This commit is contained in:
insanity@loafle.com 2017-05-17 21:24:19 +09:00
parent 1188548422
commit ca5d24c9a0

View 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" : {}
}
]
}