From 57e26e29d602f917d6cf494cb559db5136010906 Mon Sep 17 00:00:00 2001 From: naiba Date: Fri, 29 Apr 2022 09:07:57 +0800 Subject: [PATCH] =?UTF-8?q?`dashboard=20v0.12.29`=20Windows=20Agent=20?= =?UTF-8?q?=E4=B8=80=E9=94=AE=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 ++++++++++++--- resource/template/dashboard/server.html | 1 - service/singleton/singleton.go | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5f554e4..402b241 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: 哪吒监控 一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,计划任务和在线终端。

@@ -37,9 +37,18 @@ CN=true sudo ./nezha.sh ``` _\* 使用 WatchTower 可以自动更新面板,Windows 终端可以使用 nssm 配置自启动(见尾部教程)_ -**Win一键安装Agent 请使用 Powershell! 管理员权限**(jsdelivr飘忽不定未找到稳定渠道暂对国内不友好) + + +**Windows 一键安装 Agent (请使用 Powershell 管理员权限)** + +```powershell +set-ExecutionPolicy RemoteSigned;Invoke-WebRequest https://raw.githubusercontent.com/naiba/nezha/master/script/install.ps1 -OutFile C:\install.ps1;powershell.exe C:\install.ps1 dashboard_host:grpc_port secret +``` + + ![image](https://user-images.githubusercontent.com/47450409/165829132-cb1ab16a-7b22-4c5f-9fdf-89d140cf7e40.png) -如遇此图请选择 Y + +*如遇此图请选择 Y* ### Agent 自定义 diff --git a/resource/template/dashboard/server.html b/resource/template/dashboard/server.html index 82215cc..98bef0f 100644 --- a/resource/template/dashboard/server.html +++ b/resource/template/dashboard/server.html @@ -45,7 +45,6 @@