开启监控采集
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
|||||||
|
|
||||||
"ems.agt/features/dbrest"
|
"ems.agt/features/dbrest"
|
||||||
"ems.agt/features/fm"
|
"ems.agt/features/fm"
|
||||||
|
"ems.agt/features/monitor/monitor"
|
||||||
"ems.agt/features/pm"
|
"ems.agt/features/pm"
|
||||||
"ems.agt/restagent/config"
|
"ems.agt/restagent/config"
|
||||||
)
|
)
|
||||||
@@ -102,6 +103,9 @@ func main() {
|
|||||||
|
|
||||||
router := routes.NewRouter()
|
router := routes.NewRouter()
|
||||||
|
|
||||||
|
// 开启监控采集
|
||||||
|
monitor.StartMonitor(false, "")
|
||||||
|
|
||||||
for _, rest := range conf.Rest {
|
for _, rest := range conf.Rest {
|
||||||
// ipv4 goroutines
|
// ipv4 goroutines
|
||||||
if rest.IPv4 != "" {
|
if rest.IPv4 != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user