probe/_build/_config/container/general/postgresql/989238744

37 lines
748 B
Plaintext
Raw Permalink Normal View History

2018-05-03 11:24:07 +00:00
{
"configID" : "989238744",
"target" : {
"connection" : {
2018-05-04 11:45:23 +00:00
"ip" : "192.168.1.50",
2018-05-03 11:24:07 +00:00
"port" : "5432",
"ssl" : false,
"portType" : "tcp"
},
"auth" : {
"url":"jdbc:postgresql://192.168.1.50:5432/overflow",
"id":"overflow",
"pw":"qwer5795"
}
},
"schedule" : {
"interval" : "3"
},
"crawler" : {
"name":"POSTGRESQL",
"container":"GENERAL"
},
"items" : [
{
"keys" : [
{
"metric":"net.pgsql.connection_count",
"key" : "connection_count"
}
],
"queryInfo":{
"query" : "select count(pid) as connection_count from pg_catalog.pg_stat_activity where state <> 'idle';"
},
"mappingInfo" : {}
}
]
}