Skip to content

Commit

Permalink
add 1.4.1 version doc (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored Oct 6, 2023
1 parent d4ebf3f commit 71163bd
Show file tree
Hide file tree
Showing 12 changed files with 375 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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、团队协作等核心功能
Expand Down
7 changes: 3 additions & 4 deletions home/blog/2023-08-14-hertzbeat-v1.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down Expand Up @@ -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)
Expand Down
160 changes: 160 additions & 0 deletions home/blog/2023-09-26-hertzbeat-v1.4.1.md
Original file line number Diff line number Diff line change
@@ -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

<img width="1952" alt="image" src="https://github.com/dromara/hertzbeat/assets/24788200/5bc5015a-9343-472d-9754-6b06b9138893"/>

<img width="1950" alt="image" src="https://github.com/dromara/hertzbeat/assets/24788200/71a29284-9cad-4ed2-983a-50430ddb1e2f"/>

- collector manage

<img width="1943" alt="image" src="https://github.com/dromara/hertzbeat/assets/24788200/ba79f743-a450-4b01-adf0-5f15f3722c19"/>

<img width="1901" alt="image" src="https://github.com/dromara/hertzbeat/assets/24788200/b090ec18-5aae-444e-9ef6-e62fd1d8d239"/>


- new help moudle

<img width="1942" alt="image" src="https://github.com/dromara/hertzbeat/assets/24788200/c635fab6-504b-47de-9b7e-0c2df86f7e6a"/>

- monitor metrics dashboard name i18n

<img width="1802" alt="image" src="https://github.com/dromara/hertzbeat/assets/24788200/d5c74647-6c18-4b12-b858-f29cf1c61661"/>

- 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**

39 changes: 39 additions & 0 deletions home/docs/start/upgrade.md
Original file line number Diff line number Diff line change
@@ -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**
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down Expand Up @@ -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)
Expand Down
Loading

0 comments on commit 71163bd

Please sign in to comment.