diff --git a/itbaima-monitor/README.md b/itbaima-monitor/README.md index c8d3d8e..0bd2f88 100644 --- a/itbaima-monitor/README.md +++ b/itbaima-monitor/README.md @@ -4,6 +4,16 @@ * API_BASE_URL=http://localhost:8080 - 后端接口基础地址 +## 数据采集客户端 + +启动前需要配置一下服务端链接信息和网卡信息: + +```json +{"address":"服务端地址","networkInterface":"网卡名称","token":"注册Token"} +``` + +配置完成后直接使用`./client.sh start`一键启动即可,若无执行权限可以`chmod +x client.sh`增加一下执行权限。 + ## 数据汇总服务端 启动前需要先完成以下环境变量配置,若不修改则使用下列默认值。 diff --git a/itbaima-monitor/client.sh b/itbaima-monitor/client.sh old mode 100644 new mode 100755 diff --git a/itbaima-monitor/config/server.json b/itbaima-monitor/config/server.json new file mode 100644 index 0000000..fcff3e3 --- /dev/null +++ b/itbaima-monitor/config/server.json @@ -0,0 +1 @@ +{"address":"服务端地址","networkInterface":"网卡名称","token":"注册Token"} \ No newline at end of file