diff --git a/README.md b/README.md index b9c486d38f0..e0813af8c42 100644 --- a/README.md +++ b/README.md @@ -416,6 +416,7 @@ HertzBeat is a top project under the [Dromara Open Source Community](https://dro - [Hippo4j](https://github.com/opengoofy/hippo4j/) : 强大的动态线程池框架,附带监控报警功能 - [Jpom](https://gitee.com/dromara/Jpom) : 简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件 - [ArgusDBM](https://github.com/zmops/ArgusDBM) : 开源数据库一体化监控平台,致力于监控所有数据库 +- [WangMarket](http://www.wang.market/) : 开源 SAAS 云建站系统 ##### Sponsor diff --git a/README_CN.md b/README_CN.md index a72175aa975..e0df03befba 100644 --- a/README_CN.md +++ b/README_CN.md @@ -420,6 +420,7 @@ HertzBeat 赫兹跳动是 [Dromara开源社区](https://dromara.org/) 下顶级 - [Hippo4j](https://github.com/opengoofy/hippo4j/) : 强大的动态线程池框架,附带监控报警功能 - [Jpom](https://gitee.com/dromara/Jpom) : 简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件 - [ArgusDBM](https://github.com/zmops/ArgusDBM) : 开源数据库一体化监控平台,致力于监控所有数据库 +- [WangMarket](http://www.wang.market/) : 开源 SAAS 云建站系统 ##### 赞助 - Postcat [开源 API 管理工具 ](https://datayi.cn/w/xRxVBBko) 简单可拓展,支持 API 测试、文档、Mock、团队协作等核心功能 diff --git a/home/blog/2023-08-14-hertzbeat-v1.4.0.md b/home/blog/2023-08-14-hertzbeat-v1.4.0.md index 84f6c05166e..22650ec291c 100644 --- a/home/blog/2023-08-14-hertzbeat-v1.4.0.md +++ b/home/blog/2023-08-14-hertzbeat-v1.4.0.md @@ -8,8 +8,7 @@ tags: [opensource, practice] keywords: [open source monitoring system, alerting system, Linux monitoring] --- -![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a9629ef5bb6e486cacddb899f1495c6e~tplv-k3u1fbpfcp-zoom-1.image) - +![hertzBeat](/img/home/0.png) ### What is HertzBeat? @@ -90,10 +89,10 @@ By the way, let me say that open source does not mean free. If you modify the lo 3. Deploy collector clusters ``` -docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MANAGER_PORT=1158 --name hertzbeat-collector tancloud/hertzbeat-collector +docker run -d -e IDENTITY=custom-collector-name -e MANAGER_IP=127.0.0.1 -e MANAGER_PORT=1158 --name hertzbeat-collector tancloud/hertzbeat-collector ``` - `-e IDENTITY=custom-collector-name` : set the collector unique identity name. -- `-e MANAGER_HOST=127.0.0.1` : set the main hertzbeat server ip. +- `-e MANAGER_IP=127.0.0.1` : set the main hertzbeat server ip. - `-e MANAGER_PORT=1158` : set the main hertzbeat server port, default 1158. Detailed config refer to [Install HertzBeat via Docker](https://hertzbeat.com/docs/start/docker-deploy) diff --git a/home/blog/2023-09-26-hertzbeat-v1.4.1.md b/home/blog/2023-09-26-hertzbeat-v1.4.1.md new file mode 100644 index 00000000000..59b4dec10b2 --- /dev/null +++ b/home/blog/2023-09-26-hertzbeat-v1.4.1.md @@ -0,0 +1,160 @@ +--- +title: HertzBeat v1.4.1 released, better experience! +author: tom +author_title: tom +author_url: https://github.com/tomsun28 +author_image_url: https://avatars.githubusercontent.com/u/24788200?s=400&v=4 +tags: [opensource, practice] +keywords: [open source monitoring system, alerting system, Linux monitoring] +--- + +![hertzBeat](/img/home/0.png) + +### What is HertzBeat? + +[HertzBeat](https://github.com/dromara/hertzbeat) is an open source, real-time monitoring system with custom monitoring, high performance cluster and agentless capabilities. + +### Features + +* Combines **monitoring, alarm, and notification** features into one platform, and supports monitoring for web service, database, os, middleware, cloud-native, network and more. +* Easy to use and agentless, offering full web-based operations for monitoring and alerting with just a few clicks, all at zero learning cost. +* Makes protocols such as `Http, Jmx, Ssh, Snmp, Jdbc` configurable, allowing you to collect any metrics by simply configuring the template `YML` file online. Imagine being able to quickly adapt to a new monitoring type like K8s or Docker simply by configuring online with HertzBeat. +* High performance, supports horizontal expansion of multi-collector clusters, multi-isolated network monitoring and cloud-edge collaboration. +* Provides flexible alarm threshold rules and timely notifications delivered via `Discord` `Slack` `Telegram` `Email` `DingDing` `WeChat` `FeiShu` `Webhook` `SMS`. + + +> HertzBeat's powerful customization, multi-type support, high performance, easy expansion, and low coupling, aims to help developers and teams quickly build their own monitoring system. +> We also provide **[SaaS Monitoring Cloud](https://console.tancloud.cn)**, users no longer need to deploy a cumbersome monitoring system to monitor their resources. **[Get started online for free](https://console.tancloud.cn)**. + +![hertzBeat](/img/docs/hertzbeat-arch.png) + +**Github: https://github.com/dromara/hertzbeat** + +**Gitee: https://gitee.com/dromara/hertzbeat** + +### HertzBeat's 1.4.1 version is coming! + +- new login page + + image + + image + +- collector manage + +image + +image + + +- new help moudle + +image + +- monitor metrics dashboard name i18n + +image + +- refactor collector dispatcher and more + +### Install quickly via docker + +1. Just one command to get started: + +```docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat tancloud/hertzbeat``` + +```or use quay.io (if dockerhub network connect timeout)``` + +```docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat quay.io/tancloud/hertzbeat``` + +2. Access `http://localhost:1157` to start, default account: `admin/hertzbeat` + +3. Deploy collector clusters + +``` +docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MANAGER_PORT=1158 --name hertzbeat-collector tancloud/hertzbeat-collector +``` +- `-e IDENTITY=custom-collector-name` : set the collector unique identity name. +- `-e MANAGER_HOST=127.0.0.1` : set the main hertzbeat server ip. +- `-e MANAGER_PORT=1158` : set the main hertzbeat server port, default 1158. + +Detailed config refer to [Install HertzBeat via Docker](https://hertzbeat.com/docs/start/docker-deploy) + + +---- + +### What's Changed + +> Welcome to explore more new version updates, thanks to the hard work of the community partners, love 💗! + +* bugfix npe when get undefined name monitor template yml by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1173 +* [bug fixed]When importing and exporting monitoring, support export collectors, configure collectors when importing by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1178 +* support alert threshold rule config system value row count by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1180 +* Update README.md by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1182 +* support config alert threshold tags bind by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1181 +* the back-end of help component has been built by @YutingNie in https://github.com/dromara/hertzbeat/pull/1160 +* support enable alert threshold auto resolved notice by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1185 +* Delete tag of the dashboard's homepage on the top four pages by @Ceilzcx in https://github.com/dromara/hertzbeat/pull/1189 +* replace obsolete `registry.npm.taobao.org` to`registry.npmmirror.com` by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1192 +* refactor MonitorServiceImpl by @Carpe-Wang in https://github.com/dromara/hertzbeat/pull/1190 +* config default system timezone and fix monitor status auto recover by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1187 +* update-doc-doris by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1193 +* [manager] support tidb database monitoring by @luxx-lq in https://github.com/dromara/hertzbeat/pull/733 +* refactor fix potential npe by @Carpe-Wang in https://github.com/dromara/hertzbeat/pull/1197 +* [ospp] support ui help massage component by @YutingNie in https://github.com/dromara/hertzbeat/pull/1199 +* support monitor metrics name i18n by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1198 +* support google analytics by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1202 +* refactor code and fix some npe by @Carpe-Wang in https://github.com/dromara/hertzbeat/pull/1201 +* bugfix fix found 2 dataQueue bean when not config common.queue param by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1205 +* Help component update by @YutingNie in https://github.com/dromara/hertzbeat/pull/1207 +* bugfix enterprise wechat push display content is too cumbersome by @l646505418 in https://github.com/dromara/hertzbeat/pull/1149 +* bugfix WeChatAppAlertNotifyHandlerImpl by @LINGLUOJUN in https://github.com/dromara/hertzbeat/pull/1208 +* add LINGLUOJUN as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1209 +* fix jmx jndi inject vulnerability by @luelueking in https://github.com/dromara/hertzbeat/pull/1215 +* add luelueking as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1217 +* bugfix monitoring param number limit range by @qyaaaa in https://github.com/dromara/hertzbeat/pull/1216 +* add qyaaaa as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1218 +* add app-ping i18n by @qyaaaa in https://github.com/dromara/hertzbeat/pull/1220 +* some codes opt by @LINGLUOJUN in https://github.com/dromara/hertzbeat/pull/1214 +* support deploy hertzbeat by kubernetes helm charts by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1221 +* bugfix threshold setting template variables has repeated parameters by @qyaaaa in https://github.com/dromara/hertzbeat/pull/1223 +* support display metrics i18n label when threshold setting by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1225 +* bugfix user role display not correctly on webui by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1227 +* add hertzbeat about msg card by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1229 +* add app-api i18n by @novohit in https://github.com/dromara/hertzbeat/pull/1236 +* add novohit as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1238 +* [feature]Add `getAlertDefinesByName`. by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1237 +* thread pool executor support shutdown gracefully by @LINGLUOJUN in https://github.com/dromara/hertzbeat/pull/1240 +* fix: expression injection RCE by @mikezzb in https://github.com/dromara/hertzbeat/pull/1241 +* [bugfix]Replace schema "{key1:value1}" to "{\"key1\":\"value1\"}" by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1245 +* [Refactor] Use static methods instead of constructors for Message.java by @gcdd1993 in https://github.com/dromara/hertzbeat/pull/1247 +* bugfix snake yaml decode rce by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1239 +* bugfix jackson deserialize localDatetime error by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1249 +* netty as an independent module, add new feature about collector list by @Ceilzcx in https://github.com/dromara/hertzbeat/pull/1244 +* support show deploy collector script in web by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1251 +* bugfix mongodb collect extra metrics npe by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1257 +* bugfix fix collector run cyclic when connect auth failed by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1256 +* update webapp login ui by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1260 +* bugfix collector can not auto reconnect when channel idle by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1259 +* update alarm notice wework app send content ui by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1258 +* [hertzbeat] release hertzbeat version v1.4.1 by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1261 +* auto split webhook token when user input hook url by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1262 + +---- + +## ⛄ Supported + +- Site Monitor, Port Availability, Http Api, Ping Connectivity, Jvm, SiteMap Full Site, Ssl Certificate, SpringBoot, FTP Server +- Mysql, PostgreSQL, MariaDB, Redis, ElasticSearch, SqlServer, Oracle, MongoDB, Damon, OpenGauss, ClickHouse, IoTDB, Redis Cluster +- Linux, Ubuntu, CentOS, Windows +- Tomcat, Nacos, Zookeeper, RabbitMQ, Flink, Kafka, ShenYu, DynamicTp, Jetty, ActiveMQ +- Kubernetes, Docker +- Huawei Switch, HPE Switch, TP-LINK Switch, Cisco Switch +- and more for your custom monitoring. +- Notifications support `Discord` `Slack` `Telegram` `Mail` `Pinning` `WeChat` `FlyBook` `SMS` `Webhook` `ServerChan`. + +---- + +**Github: https://github.com/dromara/hertzbeat** +**Gitee: https://gitee.com/dromara/hertzbeat** + diff --git a/home/docs/start/upgrade.md b/home/docs/start/upgrade.md new file mode 100644 index 00000000000..9545ce28acd --- /dev/null +++ b/home/docs/start/upgrade.md @@ -0,0 +1,39 @@ +--- +id: upgrade +title: HertzBeat New Version Upgrade +sidebar_label: Version Upgrade Guide +--- + +HertzBeat's metadata information is stored in H2 or Mysql, PostgreSQL relational databases, and the collected indicator data is stored in time series databases such as TDengine and IotDB. + +**You need to save and back up the data files of the database before upgrading** + + +### For Docker Deploy + +1. If using the built-in default H2 database + - Need to mount or back up `-v $(pwd)/data:/opt/hertzbeat/data` database file directory in the container `/opt/hertzbeat/data` + - Stop and delete the container, delete the local HertzBeat docker image, and pull the new version image + - Refer to [Docker installation of HertzBeat] (docker-deploy) to create a new container using a new image. Note that the database file directory needs to be mounted `-v $(pwd)/data:/opt/hertzbeat/data` + +2. If using external relational database Mysql, PostgreSQL + - No need to mount the database file directory in the backup container + - Stop and delete the container, delete the local HertzBeat docker image, and pull the new version image + - Refer to [Docker installation HertzBeat] (docker-deploy) to create a new container using the new image, and configure the database connection in `application.yml` + + +### For Package Deploy + +1. If using the built-in default H2 database + - Back up the database file directory under the installation package `/opt/hertzbeat/data` + - If there is a custom monitoring template, you need to back up the template YML under `/opt/hertzbeat/define` + - `bin/shutdown.sh` stops the HertzBeat process and downloads the new installation package + - Refer to [Installation package to install HertzBeat](package-deploy) to start using the new installation package + +2. If using external relational database Mysql, PostgreSQL + - No need to back up the database file directory under the installation package + - If there is a custom monitoring template, you need to back up the template YML under `/opt/hertzbeat/define` + - `bin/shutdown.sh` stops the HertzBeat process and downloads the new installation package + - Refer to [Installation package to install HertzBeat](package-deploy) to start with the new installation package and configure the database connection in `application.yml` + +**HAVE FUN** diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-08-14-hertzbeat-v1.4.0.md b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-08-14-hertzbeat-v1.4.0.md index 86b13e41080..52e9eff9a24 100644 --- a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-08-14-hertzbeat-v1.4.0.md +++ b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-08-14-hertzbeat-v1.4.0.md @@ -9,8 +9,7 @@ keywords: [open source monitoring system, alerting system, Linux monitoring] --- -![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a9629ef5bb6e486cacddb899f1495c6e~tplv-k3u1fbpfcp-zoom-1.image) - +![hertzBeat](/img/home/0.png) ### 什么是 HertzBeat? @@ -94,10 +93,10 @@ HertzBeat 提供云边协同能力,可以在多个隔离网络部署边缘采 3. 部署采集器集群 ``` -docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MANAGER_PORT=1158 --name hertzbeat-collector tancloud/hertzbeat-collector +docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MANAGER_IP=1158 --name hertzbeat-collector tancloud/hertzbeat-collector ``` - `-e IDENTITY=custom-collector-name` : 配置此采集器的唯一性标识符名称,多个采集器名称不能相同,建议自定义英文名称。 -- `-e MANAGER_HOST=127.0.0.1` : 配置连接主HertaBeat服务的对外IP。 +- `-e MANAGER_IP=127.0.0.1` : 配置连接主HertzBeat服务的对外IP。 - `-e MANAGER_PORT=1158` : 配置连接主HertzBeat服务的对外端口,默认1158。 更多配置详细步骤参考 [通过Docker方式安装HertzBeat](https://hertzbeat.com/docs/start/docker-deploy) diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-09-26-hertzbeat-v1.4.1.md b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-09-26-hertzbeat-v1.4.1.md new file mode 100644 index 00000000000..f113f2454c1 --- /dev/null +++ b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-09-26-hertzbeat-v1.4.1.md @@ -0,0 +1,119 @@ +--- +title: 更好的用户体验, 开源实时监控 HertzBeat v1.4.1 发布 +author: tom +author_title: tom +author_url: https://github.com/tomsun28 +author_image_url: https://avatars.githubusercontent.com/u/24788200?s=400&v=4 +tags: [opensource, practice] +keywords: [open source monitoring system, alerting system, Linux monitoring] +--- + +哈喽大家好,时间很快两个月又过去了,HertzBeat 经过近两个月的迭代终于发布了 v1.4.1 版本。为什么是终于,因为有点难哈哈。我们参考 rocketmq 重构了 netty 的 server client 端模块,重构了采集器集群调度。比起上一版本有了更优雅的通讯代码,更完善全面的集群。 +采集任务一致性hash调度,集群心跳保活,断开主动重连,主动上线下线,主动停机等等这些都有。设计了新的控制台登陆界面和欢迎页面,支持了采集器集群的UI管理,合并了开源之夏两位同学的帮助提示头特性和阈值表达式特性,很多用户需要的监控指标名称国际化等等,最重要的当然是修复若干BUG,体验下来确实增强了用户体验。 + +![hertzBeat](/img/home/0.png) + +### 总结起来如下: + +- **重构netty client server, 采集器集群调度** @Ceilzcx @tomsun28 +- **采集器集群的UI界面管理** @Ceilzcx @tomsun28 +- **功能页面帮助信息模块和阈值表达式增强** 开源之夏和GLCC课题 @YutingNie @mikezzb +- **新的控制台登陆界面和欢迎页面** +- **监控指标名称国际化** 用户可以看指标的中英文名称啦,欢迎一起完善监控模版里面的i18n国际化资源 +- **支持kubernetes helm charts一键部署** 见 https://artifacthub.io/packages/search?repo=hertzbeat + +**更多的特性和BUG修复,稳定性提示** 感谢 @zqr10159 @Carpe-Wang @luxx-lq @l646505418 @LINGLUOJUN @luelueking @qyaaaa @novohit @gcdd1993 + +### 上效果图: + +- 新的登陆页面UI + + image + + image + +- 支持采集器集群管理 + +image + +image + +- 友好的帮助文档头 + +image + +- 监控指标名称国际化 + +image + + +### 什么是 HertzBeat? + +[HertzBeat 赫兹跳动](https://github.com/dromara/hertzbeat) 是一个拥有强大自定义监控能力,高性能集群,无需 Agent 的开源实时监控告警系统。 + +### 特点 + +- 集 **监控+告警+通知** 为一体,支持对应用服务,数据库,操作系统,中间件,云原生,网络等监控阈值告警通知一步到位。 +- 易用友好,无需 `Agent`,全 `WEB` 页面操作,鼠标点一点就能监控告警,零上手学习成本。 +- 将 `Http,Jmx,Ssh,Snmp,Jdbc` 等协议规范可配置化,只需在浏览器配置监控模版 `YML` 就能使用这些协议去自定义采集想要的指标。您相信只需配置下就能立刻适配一款 `K8s` 或 `Docker` 等新的监控类型吗? +- 高性能,支持多采集器集群横向扩展,支持多隔离网络监控,云边协同。 +- 自由的告警阈值规则,`邮件` `Discord` `Slack` `Telegram` `钉钉` `微信` `飞书` `短信` `Webhook` 等方式消息及时送达。 + + +> `HertzBeat`的强大自定义,多类型支持,高性能,易扩展,低耦合,希望能帮助开发者和团队快速搭建自有监控系统。 +> 当然我们也提供了对应的 **[SAAS版本监控云服务](https://console.tancloud.cn)**,中小团队和个人无需再为监控自有资源而去部署一套监控系统,**[登录即可免费开始](https://console.tancloud.cn)**。 + +![hertzBeat](/img/docs/hertzbeat-arch.png) + +**Github: https://github.com/dromara/hertzbeat** + +**Gitee: https://gitee.com/dromara/hertzbeat** + + +### 尝试部署 + + +1. `docker` 环境仅需一条命令即可开始 + +```docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat tancloud/hertzbeat``` + +```或者使用 quay.io (若 dockerhub 网络链接超时)``` + +```docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat quay.io/tancloud/hertzbeat``` + +2. 浏览器访问 `http://localhost:1157` 即可开始,默认账号密码 `admin/hertzbeat` + +3. 部署采集器集群 + +``` +docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MANAGER_PORT=1158 --name hertzbeat-collector tancloud/hertzbeat-collector +``` +- `-e IDENTITY=custom-collector-name` : 配置此采集器的唯一性标识符名称,多个采集器名称不能相同,建议自定义英文名称。 +- `-e MANAGER_HOST=127.0.0.1` : 配置连接主HertzBeat服务的对外IP。 +- `-e MANAGER_PORT=1158` : 配置连接主HertzBeat服务的对外端口,默认1158。 + +更多配置详细步骤参考 [通过Docker方式安装HertzBeat](https://hertzbeat.com/docs/start/docker-deploy) + +---- + +## ⛄ 已支持 + +> 我们将监控采集类型(mysql,jvm,k8s)都定义为yml监控模版,用户可以导入这些模版来支持对应类型的监控! +> 欢迎大家一起贡献你使用过程中自定义的通用监控类型监控模版。 + +- Site Monitor, Port Availability, Http Api, Ping Connectivity, Jvm, SiteMap Full Site, Ssl Certificate, SpringBoot, FTP Server +- Mysql, PostgreSQL, MariaDB, Redis, ElasticSearch, SqlServer, Oracle, MongoDB, Damon, OpenGauss, ClickHouse, IoTDB, Redis Cluster +- Linux, Ubuntu, CentOS, Windows +- Tomcat, Nacos, Zookeeper, RabbitMQ, Flink, Kafka, ShenYu, DynamicTp, Jetty, ActiveMQ +- Kubernetes, Docker +- Huawei Switch, HPE Switch, TP-LINK Switch, Cisco Switch +- and more for your custom monitoring. +- Notifications support `Discord` `Slack` `Telegram` `Mail` `Pinning` `WeChat` `FlyBook` `SMS` `Webhook`. +- 和更多自定义监控模版。 +- 通知支持 `Discord` `Slack` `Telegram` `邮件` `钉钉` `微信` `飞书` `短信` `Webhook` `Server酱`。 + +---- + +**Github: https://github.com/dromara/hertzbeat** +**Gitee: https://gitee.com/dromara/hertzbeat** + diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/quickstart.md b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/quickstart.md index cc9aa122231..f3090d3c556 100644 --- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/quickstart.md +++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/quickstart.md @@ -70,7 +70,7 @@ docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MAN ``` - `-e IDENTITY=custom-collector-name` : 配置此采集器的唯一性标识符名称,多个采集器名称不能相同,建议自定义英文名称。 - `-e MODE=public` : 配置运行模式(public or private), 公共集群模式或私有云边模式。 -- `-e MANAGER_HOST=127.0.0.1` : 配置连接主HertaBeat服务的对外IP。 +- `-e MANAGER_HOST=127.0.0.1` : 配置连接主HertzBeat服务的对外IP。 - `-e MANAGER_PORT=1158` : 配置连接主HertzBeat服务的对外端口,默认1158。 更多配置详细步骤参考 [通过Docker方式安装HertzBeat](docker-deploy) diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/upgrade.md b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/upgrade.md new file mode 100644 index 00000000000..c97c42559e4 --- /dev/null +++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/upgrade.md @@ -0,0 +1,41 @@ +--- +id: upgrade +title: HertzBeat 新版本更新指引 +sidebar_label: 版本更新指引 +--- + +HertzBeat 的元数据信息保存在 H2 或 Mysql, PostgreSQL 关系型数据库内, 采集指标数据存储在 TDengine, IotDB 等时序数据库内。 + +**升级前您需要保存备份好数据库的数据文件** + + +### For Docker Deploy + +1. 若使用内置默认 H2 数据库 + - 需挂载或备份 `-v $(pwd)/data:/opt/hertzbeat/data` 容器内的数据库文件目录 `/opt/hertzbeat/data` + - 停止并删除容器,删除本地 HertzBeat docker 镜像,拉取新版本镜像 + - 参考 [Docker安装HertzBeat](docker-deploy) 使用新镜像创建新的容器,注意需要将数据库文件目录挂载 `-v $(pwd)/data:/opt/hertzbeat/data` + +2. 若使用外置关系型数据库 Mysql, PostgreSQL + - 无需挂载备份容器内的数据库文件目录 + - 停止并删除容器,删除本地 HertzBeat docker 镜像,拉取新版本镜像 + - 参考 [Docker安装HertzBeat](docker-deploy) 使用新镜像创建新的容器,`application.yml`配置数据库连接即可 + + +### For Package Deploy + +1. 若使用内置默认 H2 数据库 + - 备份安装包下的数据库文件目录 `/opt/hertzbeat/data` + - 若有自定义监控模版,需备份 `/opt/hertzbeat/define` 下的模版YML + - `bin/shutdown.sh` 停止 HertzBeat 进程,下载新安装包 + - 参考 [安装包安装HertzBeat](package-deploy) 使用新安装包启动 + +2. 若使用外置关系型数据库 Mysql, PostgreSQL + - 无需备份安装包下的数据库文件目录 + - 若有自定义监控模版,需备份 `/opt/hertzbeat/define` 下的模版YML + - `bin/shutdown.sh` 停止 HertzBeat 进程,下载新安装包 + - 参考 [安装包安装HertzBeat](package-deploy) 使用新安装包启动,`application.yml`配置数据库连接即可 + + + +**HAVE FUN** diff --git a/home/sidebars.json b/home/sidebars.json index 3af0bb4056a..151f2e6d5c4 100644 --- a/home/sidebars.json +++ b/home/sidebars.json @@ -24,6 +24,7 @@ "label": "Install via Helm", "href": "https://artifacthub.io/packages/helm/hertzbeat/hertzbeat" }, + "start/upgrade", "start/iotdb-init", "start/tdengine-init", "start/greptime-init", diff --git a/home/src/pages/index.js b/home/src/pages/index.js index f6a9bfd2de0..d77f1972d07 100644 --- a/home/src/pages/index.js +++ b/home/src/pages/index.js @@ -130,6 +130,12 @@ function Home() { src={useBaseUrl('/img/docs/hertzbeat-arch.png')} /> + + +