Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix, winget 安装 heartbeat

查看 heartbeat 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install heartbeat

local Homebrew formula metadata

Windows

Windows Package Manager已验证 · 92%
winget install --id HeartbeatChat.Heartbeat -e

Windows Package Manager source index · HeartbeatChat.Heartbeat · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Lightweight Shipper for Uptime Monitoring

命令和别名

  • heartbeat

历史

项目历史与用法

Elastic Heartbeat is a lightweight Beat for uptime monitoring. It runs active probes against HTTP, TCP, and ICMP targets and ships availability and response-time events into the Elastic Stack.

项目历史

Heartbeat belongs to Elastic Beats, a family of lightweight Go data shippers for Elasticsearch and Logstash. The Beats repository was created in 2014, and Heartbeat later joined Filebeat, Metricbeat, Packetbeat, Winlogbeat, and related Beats as the service-availability member of that family.

Elastic's November 2018 announcement says Heartbeat was introduced in beta in January 2017 and reached general availability with Elastic Stack 6.5. The same post presents Heartbeat as a lightweight shipper designed for uptime monitoring, configured by a list of URLs or endpoints to check and report to Elasticsearch.

The Heartbeat reference describes the core model: install a lightweight daemon on a remote server, define monitors, schedule checks, and send events about whether services are reachable. Over time, Heartbeat became tied to Kibana's Uptime experience and later to Elastic's broader observability and synthetic-monitoring story.

采用历史

Heartbeat adoption followed Elastic Stack operators who wanted uptime data in the same Elasticsearch and Kibana environment as logs, metrics, packet data, and APM traces. The launch article emphasizes combining Heartbeat with Metricbeat, Filebeat, and APM to triage outages from one operational data store.

The official product page positions Heartbeat for testing services from inside or outside a network, pinging ICMP, TCP, and HTTP targets, using TLS, authentication, proxies, and dynamically loaded monitor definitions. That made it useful for infrastructure teams already standardized on Elastic ingestion and dashboards.

Elastic later moved many ingestion workflows toward Elastic Agent and Synthetic Monitoring, but the traditional Heartbeat binary and heartbeat.yml workflow remain documented for lightweight TCP, HTTP, and ICMP monitors configured by operators.

使用方式

Operators configure `heartbeat.yml` with monitor entries, each declaring a type such as icmp, tcp, or http, a set of hosts or URLs, and a schedule. Heartbeat periodically probes each target and sends events to Elasticsearch or another configured output.

Common workflows include checking whether a website returns an expected status code or body, verifying that a TCP service accepts a connection or payload exchange, confirming host reachability by ICMP, loading dashboards, and alerting on availability or latency changes in Kibana.

The command-line package also includes setup and test commands shared by Beats, plus keystore support for secrets. The batch's curated config and credentials paths reflect Elastic's documented directory layout conventions for heartbeat.yml and heartbeat.keystore.

为什么软件包爱好者会关心

Heartbeat is package-significant because it is an observability agent: admins expect it to install cleanly, run as a service, read config from predictable paths, and keep secrets in a keystore. Those operational details are as important as the executable itself.

In package-manager terms, it is also part of the Elastic Beats era, when small single-purpose shippers were packaged independently. Installing only Heartbeat gave an operator uptime probes without deploying the whole Elastic Agent stack or writing custom monitoring scripts.

时间线

  • 2014-02: Elastic Beats repository created.
  • 2017-01: Heartbeat introduced in beta according to Elastic's GA announcement.
  • 2018-11: Elastic Stack 6.5 announced Heartbeat general availability.
  • 2018-11: Elastic Uptime solution launched based on Heartbeat.
  • 2019: Beats changelog entries show Heartbeat-specific uptime and SSL metadata fixes in the 6.8 series.
  • 2021: Beats changelog entries show Heartbeat synthetics and browser-monitoring work in the 7.x series.
  • 2024: Elastic docs preserve the Heartbeat reference alongside migration guidance to Elastic Agent.

Related projects

  • Filebeat, Metricbeat, Packetbeat, Winlogbeat, Auditbeat, and Functionbeat are sibling Beats in the Elastic repository.
  • Elasticsearch stores Heartbeat events, while Kibana provides dashboards, Uptime views, alerting, and visualization.
  • Logstash can be used as an output path between Beats and Elasticsearch.
  • Elastic Agent and Synthetic Monitoring are related successors or broader deployment models for many use cases.
  • Metricbeat and APM are often combined with Heartbeat data during outage triage.

来源

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/heartbeat/heartbeat.yml
Unix
{path.config}/heartbeat.yml{path.home}/heartbeat.yml{extract.path}/heartbeat.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
/var/lib/heartbeat/heartbeat.keystore
Unix
{path.data}/heartbeat.keystore

可执行文件

已安装的可执行文件

命令类型暴露范围备注
heartbeatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本9.4.4
管理器更新时间2026-07-23
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/elastic/beats

安装元数据

软件包元数据

软件包键brew:heartbeat
版本9.4.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/heartbeat
主页https://www.elastic.co/beats/heartbeat
仓库https://github.com/elastic/beats
上游文档https://www.elastic.co/docs/reference/beats/heartbeat
许可证Apache-2.0
源码归档https://github.com/elastic/beats.git
最后更新2026-07-23T07:28:54Z
Pulseupdated
构建依赖go, mage
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameheartbeat
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

heartbeat 1:3.0.6-17

Subsystem for High-Availability Linux

http://www.linux-ha.org/

sudo apt install heartbeat
  • Section: admin
  • Architecture: amd64
  • 20 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Heartbeat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heartbeat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heartbeat-dev 1:3.0.6-17

Subsystem for High-Availability Linux - development files

http://www.linux-ha.org/

sudo apt install heartbeat-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: heartbeat
  • 1 依赖
  • normalized package name match
  • 匹配方式:Heartbeat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heartbeat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheartbeat2-dev 1:3.0.6-17

Subsystem for High-Availability Linux (development files)

http://www.linux-ha.org/

sudo apt install libheartbeat2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: heartbeat
  • 1 依赖
  • normalized package name match
  • 匹配方式:Heartbeat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheartbeat2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheartbeat2t64 1:3.0.6-17

Subsystem for High-Availability Linux (libraries)

http://www.linux-ha.org/

sudo apt install libheartbeat2t64
  • Section: libs
  • Architecture: amd64
  • Source Package: heartbeat
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Heartbeat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheartbeat2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

heartbeat

nix profile install nixpkgs#heartbeat
  • normalized package name match
  • 匹配方式:Heartbeat
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: heartbeat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

heartbeat 1:3.0.6-14.1ubuntu2

Subsystem for High-Availability Linux

http://www.linux-ha.org/

sudo apt install heartbeat
  • Section: universe/admin
  • Architecture: amd64
  • 19 依赖
  • 1 提供
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Heartbeat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: heartbeat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

heartbeat-dev 1:3.0.6-14.1ubuntu2

Subsystem for High-Availability Linux - development files

http://www.linux-ha.org/

sudo apt install heartbeat-dev
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: heartbeat
  • 1 依赖
  • normalized package name match
  • 匹配方式:Heartbeat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: heartbeat-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libheartbeat2-dev 1:3.0.6-14.1ubuntu2

Subsystem for High-Availability Linux (development files)

http://www.linux-ha.org/

sudo apt install libheartbeat2-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: heartbeat
  • 1 依赖
  • normalized package name match
  • 匹配方式:Heartbeat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libheartbeat2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libheartbeat2t64 1:3.0.6-14.1ubuntu2

Subsystem for High-Availability Linux (libraries)

http://www.linux-ha.org/

sudo apt install libheartbeat2t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: heartbeat
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Heartbeat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libheartbeat2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
winget95%

HeartbeatChat.Heartbeat

winget install --id HeartbeatChat.Heartbeat -e
  • normalized package name match
  • 匹配方式:Heartbeat
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: HeartbeatChat.Heartbeat from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment