HertzBeat Hertzbeat – High performance monitoring alarm system

HertzBeat Hertzbeat – High performance monitoring alarm system

2022-09-30 0 512
Resource Number 43914 Last Updated 2025-02-24
¥ 0USD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

The HertzBeat recommended in this issue is an easy-to-use and user-friendly high-performance monitoring alarm system.

Project Description

HertzBeat supports custom monitoring, only by configuring YML files we can customize the required monitoring types and indicators to meet common personalized needs.
HertzBeat Modular, manager, collector, scheduler, warehouse, alerter module decoupling, easy to understand and custom development.
HertzBeat supports more liberal alarm configuration (calculation expression), supports alarm notification, alarm template, email nail wechat flying book and other timely notification delivery.

Module

  • manager Provides basic services of monitoring and management and system management

Provides monitoring management, monitoring application configuration management, system user tenant background management, etc.

  • collector Provides monitoring data collection services

Remote acquisition of peer indicator data using a common protocol.

  • scheduler Provides monitoring task scheduling service

Collection task management, scheduling and distribution of one-time and periodic tasks.

  • warehouse Provide monitoring data warehousing services

Collection index results data management, data drop, query, calculation and statistics.

  • alerter Provide alarm service

Alarm calculation triggers, monitoring status linkage, alarm configuration, and alarm notification.

  • web-app Provides visual console page

HertzBeat Hertzbeat – High performance monitoring alarm system插图

Fast start

Deployment of dependent services

HertzBeat relies least on relational database MYSQL5+ and sequential database TDengine2+

HertzBeat installation

HertzBeat supports installation and deployment through source code installation, Docker container operation and installation package.

Fast installation in Docker mode

docker run -d -p  1157:1157 -v /opt/application.yml:/opt/hertzbeat/config/application.yml --name hertzbeat tancloud/hertzbeat:[version tag]

< Installation by installation package

  • Download the installation package for your system environment
https://gitee.com/dromara/hertzbeat/releases
    < li data – track = “25” > configuration HertzBeat HertzBeat/config/application configuration file. Yml < / li >

  • Start deployment $./startup.sh

User-defined monitoring

Configure the custom monitoring type Two YML files need to be added

  • Monitoring configuration definition file named after the monitoring type – for example, example.yml must be located in the installation directory /hertzbeat/define/app/
  • Monitor parameter definition file named after the monitor type – for example, example.yml must be located in the installation directory /hertzbeat/define/param/
  • By restarting the hertzbeat system, we have adapted a new custom monitoring type.

< Monitoring configuration definition file

example: Create a user-defined monitoring type named example to collect indicator data using HTTP.
File name: example.yml located in /define/app/example.yml

# This monitoring type belongs to: service- Application service monitoring DB-Database monitoring custom- Custom monitoring OS-Operating system monitoring 
category: custom
# Monitor application type (consistent with file name) eg: linux windows tomcat mysql aws... 
app: example
name:
      en-CN :  Simulation application type 
     en-US: EXAMPLE APP
# Parameter map. These are input variables, that is, they can be written as ^_^host^_^ in the following configuration, and the system automatically replaces the  variable values.
# type is the parameter type: 0-number number, 1-string plaintext string, 2-secret encrypted string 
# Force fixed mandatory parameter -host 
configmap:
  - key: host
    type: 1
  - key: port
    type: 0
  - key: username
    type: 1
  - key: password
    type: 2
# List of indicator groups 
metrics:
# First monitor indicator group cpu
# Note: (responseTime - response time)
  - name: cpu
    # The smaller the indicator group scheduling priority (0-127), the higher the priority. The indicator group with a lower priority will be scheduled after the collection of the indicator group with a higher priority is completed, and the indicator group with the same priority will be scheduled in parallel. 
    # The indicator group with priority 0 is the availability indicator group, that is, it will be scheduled first, and other indicator groups will continue to be scheduled only after collection succeeds, and the scheduling will be interrupted if collection fails 
    priority: 0
    # Specific monitoring indicators in the indicator group 
    fields:
      # Indicator information includes field name type Field type :0-number number,1-string string instance Whether the instance is the primary key unit: indicator unit 
      - field: hostname
        type: 1
        instance: true
      - field: usage
        type: 0
        unit: '%'
      - field: cores
        type: 0
      - field: waitTime
        type: 0
        unit: s
# (not required) Monitor indicator alias, which maps to the indicator name above. The field used to collect interface data is not directly the final indicator name, and this alias is required for mapping conversion 
    aliasFields:
      - hostname
      - core1
      - core2
      - usage
      - allTime
      - runningTime
# (not required) indicator evaluation expression, which works with the aliases above to calculate the final required indicator value 
# eg: cores=core1+core2, usage=usage, waitTime=allTime-runningTime
    calculates:
      - hostname=hostname
      - cores=core1+core2
      - usage=usage
      - waitTime=allTime-runningTime
# Protocols eg: sql, ssh, http, telnet, wmi, snmp, sdk
    protocol: http
# Specific collection configuration when protocol is http 
    http:
      # host: ipv4 ipv6 domain name 
      host: ^_^host^_^
      # port 
      port: ^_^port^_^
      # url request interface path 
      url: /metrics/cpu
       GET POST PUT DELETE PATCH
      method: GET
      # Whether ssl/tls is enabled, i.e. http or https, default false
      ssl: false
      # Request header content 
      headers:
        apiVersion: v1
      # Request parameters 
      params:
        param1: param1
        param2: param2
      # Authentication 
      authorization:
        #Authentication mode:Basic Auth, Digest Auth, Bearer Token
        type: Basic Auth
        basicAuthUsername: ^_^username^_^
        basicAuthPassword: ^_^password^_^
      # Response data parsing methods: default- system rule,jsonPath-jsonPath script,website- website availability indicator monitoring 
      # todo xmlPath-xmlPath script,prometheus-Prometheus data rules 
      parseType: jsonPath
      parseScript: '$'

  - name: memory
    priority: 1
    fields:
      - field: hostname
        type: 1
        instance: true
      - field: total
        type: 0
        unit: kb
      - field: usage
        type: 0
        unit: '%'
      - field: speed
        type: 0
    protocol: http
    http:
      host: ^_^host^_^
      port: ^_^port^_^
      url: /metrics/memory
      method: GET
      headers:
        apiVersion: v1
      params:
        param1: param1
        param2: param2
      authorization:
        type: Basic Auth
        basicAuthUsername: ^_^username^_^
        basicAuthPassword: ^_^password^_^
      parseType: default
资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free source code HertzBeat Hertzbeat – High performance monitoring alarm system https://ictcoder.com/kyym/hertzbeat-hertzbeat-high-performance-monitoring-alarm-system.html

Share free open-source source code

Q&A
  • 1, automatic: after taking the photo, click the (download) link to download; 2. Manual: After taking the photo, contact the seller to issue it or contact the official to find the developer to ship.
View details
  • 1, the default transaction cycle of the source code: manual delivery of goods for 1-3 days, and the user payment amount will enter the platform guarantee until the completion of the transaction or 3-7 days can be issued, in case of disputes indefinitely extend the collection amount until the dispute is resolved or refunded!
View details
  • 1. Heptalon will permanently archive the process of trading between the two parties and the snapshots of the traded goods to ensure that the transaction is true, effective and safe! 2, Seven PAWS can not guarantee such as "permanent package update", "permanent technical support" and other similar transactions after the merchant commitment, please identify the buyer; 3, in the source code at the same time there is a website demonstration and picture demonstration, and the site is inconsistent with the diagram, the default according to the diagram as the dispute evaluation basis (except for special statements or agreement); 4, in the absence of "no legitimate basis for refund", the commodity written "once sold, no support for refund" and other similar statements, shall be deemed invalid; 5, before the shooting, the transaction content agreed by the two parties on QQ can also be the basis for dispute judgment (agreement and description of the conflict, the agreement shall prevail); 6, because the chat record can be used as the basis for dispute judgment, so when the two sides contact, only communicate with the other party on the QQ and mobile phone number left on the systemhere, in case the other party does not recognize self-commitment. 7, although the probability of disputes is very small, but be sure to retain such important information as chat records, mobile phone messages, etc., in case of disputes, it is convenient for seven PAWS to intervene in rapid processing.
View details
  • 1. As a third-party intermediary platform, Qichou protects the security of the transaction and the rights and interests of both buyers and sellers according to the transaction contract (commodity description, content agreed before the transaction); 2, non-platform online trading projects, any consequences have nothing to do with mutual site; No matter the seller for any reason to require offline transactions, please contact the management report.
View details

Related Article

make a comment
No comments available at the moment
Official customer service team

To solve your worries - 24 hours online professional service