Merge remote-tracking branch 'origin/master'

This commit is contained in:
geek 2017-05-17 17:23:30 +09:00
commit 442cf9f4bf
4 changed files with 124 additions and 1 deletions

View File

@ -0,0 +1,43 @@
{
"id" : "26021802",
"target" : {
"connection" : {
"ip" : "192.168.1.215",
"port" : "27017",
"ssl" : false,
"portType" : "tcp"
},
"auth" : {
}
},
"schedule" : {
"interval" : "10"
},
"crawler" : {
"name":"MONGODB",
"container":"java_proxy"
},
"items" : [
{
"keys" : [
{"metric":"memory.usage.bits", "key":"bits"},
{"metric":"memory.usage.rss", "key":"resident"},
{"metric":"memory.usage.vmem", "key":"virtual"},
{"metric":"memory.usage.supported", "key":"supported"},
{"metric":"memory.usage.mapped", "key":"mapped"},
{"metric":"memory.usage.mappedWithJournal", "key":"mappedWithJournal"}
],
"queryInfo" : {
"query": "mem",
"extend" : {
"dataBaseName":"admin",
"statusCommand": "serverStatus"
}
},
"mappingInfo" : {
"parseDirection" : "col"
}
}
]
}

View File

@ -0,0 +1,42 @@
{
"id" : "68686868",
"target" : {
"connection" : {
"ip" : "192.168.1.215",
"port" : "161",
"ssl" : false,
"portType" : "udp"
},
"auth" : {
"version" : "v3",
"user" : "loafle",
"authType" : "MD5",
"authPass" : "qwer5795",
"privType" : "DES",
"privPass" : "qweqwe123"
}
},
"schedule" : {
"interval" : "10"
},
"crawler" : {
"name":"SNMP",
"container":"java_proxy"
},
"items" : [
{
"keys" : [
{"metric":"system.uptime", "key":"1.3.6.1.2.1.1.3.0"}
],
"queryInfo" : {
"query": "mem",
"extend" : {
"method": "get"
}
},
"mappingInfo" : {
"parseDirection" : "col"
}
}
]
}

View File

@ -0,0 +1,38 @@
{
"id" : "86868686",
"target" : {
"connection" : {
"ip" : "192.168.1.254",
"port" : "161",
"ssl" : false,
"portType" : "udp"
},
"auth" : {
"version":"v2c",
"community" : "loafle"
}
},
"schedule" : {
"interval" : "10"
},
"crawler" : {
"name":"SNMP",
"container":"java_proxy"
},
"items" : [
{
"keys" : [
{"metric":"system.uptime", "key":"1.3.6.1.2.1.1.3.0"}
],
"queryInfo" : {
"query": "mem",
"extend" : {
"method": "get"
}
},
"mappingInfo" : {
"parseDirection" : "col"
}
}
]
}

View File

@ -2,7 +2,7 @@
"id" : "59797987",
"target" : {
"connection" : {
"ip" : "192.168.1.215",
"ip" : "192.168.1.107",
"port" : "161",
"ssl" : false,
"portType" : "udp"