Skip to content

Commit

Permalink
bugfix duplicate collect job when update monitor templates (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored Nov 12, 2023
1 parent 970c6da commit 2c05f18
Show file tree
Hide file tree
Showing 20 changed files with 326 additions and 49 deletions.
2 changes: 1 addition & 1 deletion home/blog/2022-07-10-hertzbeat-v1.1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Have Fun!
> `HertzBeat`'s multi-type support, easy expansion, low coupling, hope to help developers and micro teams to quickly build their own monitoring tool.
**If you like HertzBeat, give us a star on GitHub**
**If you like HertzBeat, star us on GitHub**

[Github](https://github.com/dromara/hertzbeat) https://github.com/dromara/hertzbeat
[Gitee](https://gitee.com/dromara/hertzbeat) https://gitee.com/dromara/hertzbeat
Expand Down
162 changes: 162 additions & 0 deletions home/blog/2023-11-12-hertzbeat-v1.4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
---
title: HertzBeat v1.4.2 released, custom notice template!
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]
---

### 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.2 version release!


- support custom notice template
- support push metrics monitoring(beta)
- support using Huawei Cloud OBS to store monitoring templates yml
- support emqx monitoring and udp port monitoring
- more features , fix multiple bugs and so on


### 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 counting wrong tasks num of collector by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1265
* [ospp] add push style collector by @vinci-897 in https://github.com/dromara/hertzbeat/pull/1222
* add 1.4.1 version doc by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1263
* support using Huawei Cloud OBS to store custom define yml file by @gcdd1993 in https://github.com/dromara/hertzbeat/pull/1266
* [doc] add more contact channel by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1272
* bugfix app-tomcat memory_pool unit mb by @rbsrcy in https://github.com/dromara/hertzbeat/pull/1268
* add rbsrcy as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1271
* [doc] update docker.md by @ruanliang-hualun in https://github.com/dromara/hertzbeat/pull/1270
* add ruanliang-hualun as a contributor for doc by @allcontributors in https://github.com/dromara/hertzbeat/pull/1274
* bugfix jmx memory_pool unit and time unit error by @rbsrcy in https://github.com/dromara/hertzbeat/pull/1273
* bugfix old version monitor alert has no monitor name by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1278
* support edit monitor in monitor detail page by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1282
* reset alert converge reduce cache when restored alert trigger by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1281
* [ospp] add push style collector doc by @vinci-897 in https://github.com/dromara/hertzbeat/pull/1267
* bugfix threshold availability automatically carries threshold parameters by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1285
* [ospp] support custom notice template by @Eden4701 in https://github.com/dromara/hertzbeat/pull/1233
* add Eden4701 as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1287
* bugfix AvailableAlertDefineInit - query did not return a unique result by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1288
* upgrade to version angular 15 by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1291
* support push style for multiple messages by @vinci-897 in https://github.com/dromara/hertzbeat/pull/1292
* update hertzbeat upgrade help doc by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1294
* feat alert converge, define, silence support search query by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1300
* feature:support monitoring udp port availability by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1295
* support emqx monitor by @vinci-897 in https://github.com/dromara/hertzbeat/pull/1302
* add an explicit tag filter by @vinci-897 in https://github.com/dromara/hertzbeat/pull/1303
* add hertzbeat icon by @zqr10159 in https://github.com/dromara/hertzbeat/pull/1305
* [doc] update kafka help doc by @XiaTian688 in https://github.com/dromara/hertzbeat/pull/1308
* add XiaTian688 as a contributor for doc by @allcontributors in https://github.com/dromara/hertzbeat/pull/1309
* support webhook custom template by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1306
* set ssh param connect reused default false by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1310
* upgrade greptimedb to v0.4 by @liyin in https://github.com/dromara/hertzbeat/pull/1311
* add liyin as a contributor for code by @allcontributors in https://github.com/dromara/hertzbeat/pull/1313
* add some emqx monitoring metrics by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1312
* feature: app-mysql.yml by @a-little-fool in https://github.com/dromara/hertzbeat/pull/1316
* modify default IoTDB version config to V_1_0 by @Ceilzcx in https://github.com/dromara/hertzbeat/pull/1315
* bugfix timestamp is null by @qyaaaa in https://github.com/dromara/hertzbeat/pull/1246
* [hertzbeat] release hertzbeat version v1.4.2 by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1317
* bugfix alarm time span match in silence and notice by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1318
* update available alert threshold trigger times default 2 by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1324
* bugfix rabbitmq contains duplicated metric by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1322
* [alerter] optimize the encoding of how to add Extern Alarm Manage API(#1320) by @SurryChen in https://github.com/dromara/hertzbeat/pull/1325
* bugfix webhook post body error and alarm recover exception by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1327
* build hertzbeat package with jdk runtime by @tomsun28 in https://github.com/dromara/hertzbeat/pull/1328

## New Contributors
* @rbsrcy made their first contribution in https://github.com/dromara/hertzbeat/pull/1268
* @XiaTian688 made their first contribution in https://github.com/dromara/hertzbeat/pull/1308
* @liyin made their first contribution in https://github.com/dromara/hertzbeat/pull/1311

**Full Changelog**: https://github.com/dromara/hertzbeat/compare/v1.4.1...v1.4.2

----

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

### **Download Link**

**hertzbeat server**

- ⬇️ [hertzbeat-1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-1.4.2.tar.gz)
- ⬇️ [hertzbeat-1.4.2.zip](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-1.4.2.zip)
- ⬇️ [hertzbeat-linux_amd64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-linux_amd64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-linux_arm64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-linux_arm64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-macos_arm64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-macos_arm64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-macos_amd64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-macos_amd64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-windows64_1.4.2.zip](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-windows64_1.4.2.zip)

**hertzbeat collector**

- ⬇️ [hertzbeat-collector-1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-1.4.2.tar.gz)
- ⬇️ [hertzbeat-collector-1.4.2.zip](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-1.4.2.zip)
- ⬇️ [hertzbeat-collector-linux_amd64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-linux_amd64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-collector-linux_arm64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-linux_arm64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-collector-macos_arm64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-macos_arm64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-collector-macos_amd64_1.4.2.tar.gz](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-macos_amd64_1.4.2.tar.gz)
- ⬇️ [hertzbeat-collector-windows64_1.4.2.zip](https://github.com/dromara/hertzbeat/releases/download/v1.4.2/hertzbeat-collector-windows64_1.4.2.zip)
2 changes: 1 addition & 1 deletion home/docs/advanced/extend-http-example-hertzbeat.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ metrics:

This is the end of the practice of custom monitoring of the HTTP protocol. The HTTP protocol also has other parameters such as headers and params. We can define it like postman, and the playability is also very high!

If you think hertzbeat is a good open source project, please give us a star on GitHub Gitee, thank you very much.
If you think hertzbeat is a good open source project, please star us on GitHub Gitee, thank you very much.

**github: https://github.com/dromara/hertzbeat**

Expand Down
2 changes: 1 addition & 1 deletion home/docs/advanced/extend-http-example-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ metrics:

This is the end of the practice of custom monitoring of the HTTP protocol. The HTTP protocol also has other parameters such as headers and params. We can define it like postman, and the playability is also very high!

If you think hertzbeat is a good open source project, please give us a star on GitHub Gitee, thank you very much.
If you think hertzbeat is a good open source project, please star us on GitHub Gitee, thank you very much.

**github: https://github.com/dromara/hertzbeat**

Expand Down
2 changes: 1 addition & 1 deletion home/docs/advanced/extend-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ metrics:

This is the end of the practice of custom monitoring of the HTTP protocol. The HTTP protocol also has other parameters such as headers and params. We can define it like postman, and the playability is also very high!

If you think hertzbeat is a good open source project, please give us a star on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!
If you think hertzbeat is a good open source project, please star us on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!

**github: https://github.com/dromara/hertzbeat**

Expand Down
2 changes: 1 addition & 1 deletion home/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {
announcementBar: {
id: 'github-star',
content:
'<font style="font-size: medium; font-weight: bolder">If you like HertzBeat,</font> <a target="_blank" style="font-size: medium; font-weight: bolder" rel="noopener noreferrer" href="https://github.com/dromara/hertzbeat">give us a star on GitHub </a> <font style="font-size: medium; font-weight: bolder"> or </font><a target="_blank" style="font-size: medium; font-weight: bolder" rel="noopener noreferrer" href="https://gitee.com/dromara/hertzbeat">Gitee! </a>⭐️⭐️',
'<font style="font-size: medium; font-weight: bolder">If you like HertzBeat,</font> <a target="_blank" style="font-size: medium; font-weight: bolder" rel="noopener noreferrer" href="https://github.com/dromara/hertzbeat">star us on GitHub </a> <font style="font-size: medium; font-weight: bolder"> or </font><a target="_blank" style="font-size: medium; font-weight: bolder" rel="noopener noreferrer" href="https://gitee.com/dromara/hertzbeat">Gitee! </a>⭐️⭐️',
backgroundColor: '#7228B5',
textColor: '#fafbfc',
isCloseable: true,
Expand Down
4 changes: 2 additions & 2 deletions home/i18n/en/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@
"go github": {
"message": "Go To Github"
},
"If you like HertzBeat, give us a star on GitHub": {
"message": "If you like HertzBeat, give us a star on GitHub."
"If you like HertzBeat, star us on GitHub": {
"message": "If you like HertzBeat, star us on GitHub."
},
"We will grow better with your support.": {
"message": "We will grow better with your support and is our greatest motivation."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ metrics:

This is the end of the practice of custom monitoring of the HTTP protocol. The HTTP protocol also has other parameters such as headers and params. We can define it like postman, and the playability is also very high!

If you think hertzbeat is a good open source project, please give us a star on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!
If you think hertzbeat is a good open source project, please star us on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!

**github: https://github.com/dromara/hertzbeat**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ metrics:

This is the end of the practice of custom monitoring of the HTTP protocol. The HTTP protocol also has other parameters such as headers and params. We can define it like postman, and the playability is also very high!

If you think hertzbeat is a good open source project, please give us a star on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!
If you think hertzbeat is a good open source project, please star us on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!

**github: https://github.com/dromara/hertzbeat**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ metrics:

This is the end of the practice of custom monitoring of the HTTP protocol. The HTTP protocol also has other parameters such as headers and params. We can define it like postman, and the playability is also very high!

If you think hertzbeat is a good open source project, please give us a star on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!
If you think hertzbeat is a good open source project, please star us on GitHub Gitee, thank you very much. Thanks for the old iron support. Refill!

**github: https://github.com/dromara/hertzbeat**

Expand Down
4 changes: 2 additions & 2 deletions home/i18n/zh-cn/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@
"go github": {
"message": "前往 Github"
},
"If you like HertzBeat, give us a star on GitHub": {
"message": "如果您喜欢 HertzBeat,欢迎给 HertzBeat 一个 Star。"
"If you like HertzBeat, star us on GitHub": {
"message": "如果您喜欢 HertzBeat,欢迎给 HertzBeat Star。"
},
"We will grow better with your support.": {
"message": "有您的支持 HertzBeat 社区会发展得更好,也是我们的最大动力。"
Expand Down
Loading

0 comments on commit 2c05f18

Please sign in to comment.