diff --git a/README.md b/README.md
index 095ce4e..3ec8095 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
-
+
:trollface: 哪吒监控 一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,命令批量执行和计划任务。
@@ -102,9 +102,9 @@ URL 里面也可放置占位符,请求时会进行简单的字符串替换。
- offline:不支持 Min/Max 参数
- Duration:持续秒数,监控比较简陋,取持续时间内的 70% 采样结果
- Cover `[{"Type":"offline","Duration":10, "Cover": 0, "Ignore":{"5": true}}]`
- - `0` 监控所有,通过 `Ignore` 忽略指定服务器
- - `1` 忽略所有,通过 `Ignore` 监控指定服务器
-- Ignore: `{"1": true, "2":false}` 指定服务器,搭配 `Cover` 使用
+ - `0` 监控所有,通过 `Ignore` 忽略特定服务器
+ - `1` 忽略所有,通过 `Ignore` 监控特定服务器
+- Ignore: `{"1": true, "2":false}` 特定服务器,搭配 `Cover` 使用
diff --git a/go.sum b/go.sum
index a623fea..6d449e9 100644
--- a/go.sum
+++ b/go.sum
@@ -89,7 +89,7 @@ github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwv
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
-github.com/go-kit/kit v0.8.1/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
github.com/go-ole/go-ole v1.2.4 h1:nNBDSCOigTSiarFpYE9J/KtEA1IOW4CNeqT9TQDqCxI=
@@ -259,6 +259,7 @@ github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaR
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -524,7 +525,7 @@ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1N
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
-google.golang.org/api v0.8.1/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
+google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
diff --git a/resource/template/component/cron.html b/resource/template/component/cron.html
index a0fe16a..1b11190 100644
--- a/resource/template/component/cron.html
+++ b/resource/template/component/cron.html
@@ -19,12 +19,12 @@
-
+
diff --git a/resource/template/component/monitor.html b/resource/template/component/monitor.html
index b2ace1c..81334f3 100644
--- a/resource/template/component/monitor.html
+++ b/resource/template/component/monitor.html
@@ -27,12 +27,12 @@
-
+
diff --git a/resource/template/dashboard/cron.html b/resource/template/dashboard/cron.html
index 0b710c5..65ba55d 100644
--- a/resource/template/dashboard/cron.html
+++ b/resource/template/dashboard/cron.html
@@ -19,7 +19,7 @@
命令 |
成功推送 |
覆盖范围 |
- 排除服务器 |
+ 特定服务器 |
最后执行 |
最后结果 |
管理 |
diff --git a/resource/template/dashboard/monitor.html b/resource/template/dashboard/monitor.html
index 6e2c477..164d080 100644
--- a/resource/template/dashboard/monitor.html
+++ b/resource/template/dashboard/monitor.html
@@ -16,7 +16,7 @@
名称 |
目标 |
覆盖范围 |
- 排除服务器 |
+ 特定服务器 |
类型 |
通知 |
管理 |
diff --git a/service/dao/dao.go b/service/dao/dao.go
index 870c02b..9fc5eab 100644
--- a/service/dao/dao.go
+++ b/service/dao/dao.go
@@ -13,7 +13,7 @@ import (
pb "github.com/naiba/nezha/proto"
)
-var Version = "v0.8.1" // !!记得修改 README 中的 badge 版本!!
+var Version = "v0.8.2" // !!记得修改 README 中的 badge 版本!!
const (
SnapshotDelay = 3