From 3f847d7c7fa18c9e0d5294244c6fa41e55bca735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Thu, 23 Sep 2021 10:02:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E7=9B=91=E6=8E=A7=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=A3=80=E6=B5=8B=E6=97=B6=E9=97=B4=E3=80=81=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E9=A1=B5=E5=A2=9E=E5=8A=A0=E7=BA=A7=E5=88=AB=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../clusters/ip-addrs/addr/reports.html | 2 ++ .../monitors/reporters/reporter/index.html | 18 ++++++------------ .../monitors/reporters/reporter/results.html | 12 +++++++----- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/web/views/@default/clusters/ip-addrs/addr/reports.html b/web/views/@default/clusters/ip-addrs/addr/reports.html index 47f89a73..6f43dc33 100644 --- a/web/views/@default/clusters/ip-addrs/addr/reports.html +++ b/web/views/@default/clusters/ip-addrs/addr/reports.html @@ -6,6 +6,7 @@ 监控节点 + 检测时间 对象 级别 耗时 @@ -19,6 +20,7 @@ {{result.node.location}} {{result.node.isp}} + {{result.updatedTime}} {{result.targetDesc}} {{result.levelName}} diff --git a/web/views/@default/clusters/monitors/reporters/reporter/index.html b/web/views/@default/clusters/monitors/reporters/reporter/index.html index 6b2c8391..7c179d0d 100644 --- a/web/views/@default/clusters/monitors/reporters/reporter/index.html +++ b/web/views/@default/clusters/monitors/reporters/reporter/index.html @@ -68,19 +68,13 @@ {{reporter.secret}} - 命令行 + 配置文件(configs/api.yaml)
+ [下载] - 查看命令行 -
-
-

Linux、Mac OS X:

- edge-reporter run -api=[API HOST] -node-id={{reporter.uniqueId}} -secret={{reporter.secret}} - -

Windows:

- edge-reporter.exe run -api=[API HOST] -node-id={{reporter.uniqueId}} -secret={{reporter.secret}} - -

把上面命令行中的[API_HOST]换成你的API节点地址,包括协议、主机名端口。

-
+ rpc: + endpoints: [ {{apiEndpoints}} ] +nodeId: "{{reporter.uniqueId}}" +secret: "{{reporter.secret}}" \ No newline at end of file diff --git a/web/views/@default/clusters/monitors/reporters/reporter/results.html b/web/views/@default/clusters/monitors/reporters/reporter/results.html index a5a71650..edcb9509 100644 --- a/web/views/@default/clusters/monitors/reporters/reporter/results.html +++ b/web/views/@default/clusters/monitors/reporters/reporter/results.html @@ -6,14 +6,14 @@
- + +
- +   + [清除条件]
@@ -23,6 +23,7 @@ 类型 + 检测时间 对象 级别 耗时 @@ -31,6 +32,7 @@ {{result.typeName}} + {{result.updatedTime}} {{result.targetDesc}}