Merge remote-tracking branch 'origin/master'

This commit is contained in:
snoop 2017-04-27 19:42:51 +09:00
commit 62259b54ca
3 changed files with 7 additions and 62 deletions

View File

@ -1,37 +0,0 @@
package config
type Auth struct {
}
type Connection struct {
Ip string `json:"ip"`
Port string `json:"port"`
PortType string `json:"portType"`
SSL bool `json:"ssl"`
}
type Target struct {
Auth Auth
Connection Connection
}
type Schedule struct {
Interval string `json:"interval"`
}
type Item struct {
}
type Crawler struct {
Name string `json:"name"`
Container string `json:"container"`
}
type Config struct {
Id string `json:"id"`
Target Target `json:"target"`
Schedule Schedule `json:"schedule"`
Crawler Crawler `json:"crawler"`
Items []Item `json:"items"`
}

View File

@ -1,23 +0,0 @@
{
"id" : "SOEJWEOJWOEJOSDJFOASDJFOSDFO2903870928734",
"target" : {
"connection" : {
"ip" : "192.168.1.104",
"port" : "6379",
"ssl" : false,
"portType" : "tcp"
},
"auth" : {
}
},
"schedule" : {
"interval" : "10"
},
"crawler" : {
"name":"redis_protocol_crawler",
"container":"network_crawler"
},
"items" : [
]
}

View File

@ -15,9 +15,14 @@
"interval" : "10" "interval" : "10"
}, },
"crawler" : { "crawler" : {
"name":"redis_protocol_crawler", "name":"redis_crawler",
"container":"network_crawler" "container":"java_proxy"
}, },
"items" : [ "items" : [
{
"type":"cpu",
"":[],
"":[],
}
] ]
} }