Open-Falcon第二步安装绘图组件Transfer(小米开源互联网企业级监控系统)

----安装绘图组件----

安装Transfer

transfer默认监听在:8433端口上,agent会通过jsonrpc的方式来push数据上来。

cd /usr/local/open-falcon
mv cfg.example.json cfg.json

#本机测试情况(所有组件都在同一台服务器上),保持cfg.json不变即可

{
    "debug": false,
    "minStep": 30,
    "http": {
        "enabled": true,
        "listen": "0.0.0.0:6060"
    },
    "rpc": {
        "enabled": true,
        "listen": "0.0.0.0:8433"
    },
    "socket": {
        "enabled": true,
        "listen": "0.0.0.0:4444",
        "timeout": 3600
    },
    "judge": {
        "enabled": true,
        "batch": 200,
        "connTimeout": 1000,
        "callTimeout": 5000,
        "maxConns": 32,
        "maxIdle": 32,
        "replicas": 500,
        "cluster": {
            "judge-00" : "127.0.0.1:6080"
        }
    },
    "graph": {
        "enabled": true,
        "batch": 200,
        "connTimeout": 1000,
        "callTimeout": 5000,
        "maxConns": 32,
        "maxIdle": 32,
        "replicas": 500,
        "cluster": {
            "graph-00" : "127.0.0.1:6070"
        }
    },
    "tsdb": {
        "enabled": false,
        "batch": 200,
        "connTimeout": 1000,
        "callTimeout": 5000,
        "maxConns": 32,
        "maxIdle": 32,
        "retry": 3,
        "address": "127.0.0.1:8088"
    }
}

# 启动transfer

./control start

# 查看日志

./control tail

# 停止transfer

./control stop

#相关命令参数

build|pack|packbin|start|stop|restart|status|tail

# 校验服务,这里假定服务开启了6060的http监听端口。检验结果为ok表明服务正常启动。

curl -s "http://127.0.0.1:6060/health"

posted @ 2016-03-30 10:00  love19791125  阅读(432)  评论(0编辑  收藏  举报