监控

部署agent到指定主机(支持单个或多个)

自动编译agent二进制文件,拷贝到目标主机并启动服务,单个主机传[hostId],多个主机传[hostId1,hostId2,hostId3]

post/api/v1/monitor/agent/deploy

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Request body

hostIdsinteger[] required

主机ID列表

versionstring

版本

Response

OK

codeinteger

状态码

dataunknown
messagestring

提示信息

Changes

No recorded changes to this operation across all 1 revision of this API.