diff --git a/README.md b/README.md
index 462f97b..4b0bf64 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
LOGO designed by 熊大 .
-
+
:trollface: 哪吒监控 一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,命令批量执行和计划任务。
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 16982f0..a3ba025 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -82,7 +82,7 @@ func recordTransferHourlyUsage() { tx := model.Transfer{ ServerID: id, In: server.State.NetInTransfer - uint64(server.PrevHourlyTransferIn), - Out: server.State.NetInTransfer - uint64(server.PrevHourlyTransferIn), + Out: server.State.NetOutTransfer - uint64(server.PrevHourlyTransferOut), } server.PrevHourlyTransferIn = int64(server.State.NetInTransfer) server.PrevHourlyTransferOut = int64(server.State.NetOutTransfer) diff --git a/service/dao/dao.go b/service/dao/dao.go index 3128080..dcff0ff 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.9.31" // !!记得修改 README 中的 badge 版本!! +var Version = "v0.9.32" // !!记得修改 README 中的 badge 版本!! var ( Conf *model.Config