selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

hertzbeat logo

Self-host hertzbeat

v1.9.1

Agentless metrics, logs, and alerting monitoring platform

ReleaseOpen SourceApache-2.0
Updated18 minutes ago
LanguageJava
Setup difficultyEasy
Stars
7 469
CPU
2 CPU cores
RAM
4GB RAM
Storage
10GB disk space
Ports
1157 (Web UI and API), 1158 (Manager/collector transport (cluster mode)), 14317 (OTLP/gRPC log ingestion)
Docker
apache/hertzbeat
Install with Docker
HertzBeat dashboard overviewFeature demo of the monitoring UIMonitoring status viewAdvanced features screen of the app UI

What is hertzbeat?

hertzbeat alternatives

Should you self-host hertzbeat?

hertzbeat scores 68/100 on selfhost.directory (how scoring works) and ranks #23 of 105 in Monitoring & observability. It has 7 469 GitHub stars, +43 in the last 30 days.

It shipped 3 stable releases in the past year. The latest, v1.9.1, came out on 17 November 2026. New versions land roughly every 5 months.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Java.

Its closest alternative on selfhost.directory is prometheus (92/100, 67 665 stars). It scores higher overall, so compare the two before you pick. See hertzbeat vs prometheus side by side.

Features

  • Agentless monitoring
  • AI-Powered Analysis
  • Built-In MCP Server
  • Centralized alerting
  • Custom monitoring templates
  • End-to-end encryption of sensitive data
  • External alert source integration
  • Horizontal scaling with collector clusters
  • Log collection via OTLP
  • Multi-channel alert notifications
  • Pluggable time-series storageBundled H2 by default; a TSDB is needed for history charts.
  • Prometheus compatibility
  • Status Page
  • Unified metrics collection

hertzbeat README

How to install hertzbeat

Install hertzbeat with Docker

Environment variables
HERTZBEAT_COLLECTOR_MYSQL_QUERY_ENGINE

docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat apache/hertzbeat

Access http://localhost:1157 to start, default account: admin/hertzbeat

Minimum environment with no external service dependencies; docs recommend Docker Compose, package, or Kubernetes for production.

How to configure hertzbeat

  • HERTZBEAT_COLLECTOR_MYSQL_QUERY_ENGINEOverride the MySQL-compatible monitoring query path used by the built-in collector.

    values: auto, jdbc, r2dbc

  • HERTZBEAT_BIND_ADDRESS127.0.0.1Bind the web/API listener (1157) and manager/collector transport (1158) to loopback for a local quick start. Set this to a reachable manager address only when remote access is required and network controls are ready.
  • HERTZBEAT_OTLP_BIND_ADDRESSBind OTLP/gRPC ingestion (14317) separately so enabling a remote Collector does not also expose telemetry ingestion. Change this only for trusted OTLP senders.
  • IDENTITYUnique identity name for a HertzBeat collector in a cluster.
  • MODEpublicCollector running mode: public cluster or private cloud-edge.

    values: public, private

hertzbeat releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Where can I get help?

The project points to its documentation site, GitHub issues, and its community contact page.

How do I add my first monitor?

Log in to the web UI, choose Monitors → New Monitor, pick a monitoring type, enter the target's IP, port, and credentials, then confirm.

What database does HertzBeat use?

It ships with an embedded H2 database by default; for production you can point metadata at MySQL or PostgreSQL and time-series data at VictoriaMetrics, IoTDB, TDengine, or InfluxDB.

How do I upgrade HertzBeat?

For Docker, stop and remove the container, pull the latest image, and run it again with the same options.

Can I change the default password?

Yes, after the first login you can change it under Settings and Account Management.

How do I verify HertzBeat is running?

Check the container with docker ps, then open the web UI on port 1157 and log in with the default administrator account.

What ports does HertzBeat use?

Port 1157 serves the web UI and API, and 1158 handles collector communication in cluster mode.

What are HertzBeat's system requirements?

At minimum 2 CPU cores, 4GB RAM, and 10GB disk space, plus Docker 20.10+ or Java 25+, on Linux, macOS, or Windows via Docker/WSL.

More in Metrics

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…