Skip to main content

host-check-service

host-check-service watches disk usage on the paths you choose and publishes alert.normalized. Usage at the warning threshold, then critical, opens disk_space_high; a drop recovers it. A path that cannot be measured opens disk_path_unavailable. Run one instance per host.

Framework options (kontiki.*) are documented with Kontiki. Restart the service after a YAML change. Paths are measured inside the process: mount each host directory on the path listed in the config.

host_check

Key Default Description
host_check.host (required) Stable alias stored on the alert and used in alert_id.
host_check.paths (required) Non-empty list of absolute paths to measure.
host_check.warning_used_percent 90 Used-percent threshold for severity warning (1..100).
host_check.critical_used_percent 95 Used-percent threshold for severity critical. Must be at least warning_used_percent.
host_check.category kontiki.host Alert category on alert.normalized.
host_check.poll_interval_seconds (required) Seconds between disk polls. Shipped configs use 30.
host_check.alert_ttl_hours unset TTL hours written on expires_at. Omit or null leaves alerts without an expiry.
host_check:
  host: local
  category: kontiki.host
  poll_interval_seconds: 30
  warning_used_percent: 90
  critical_used_percent: 95
  paths:
    - /

RPC list_open_alerts returns the open disk snapshots for this instance (disk_space_high, disk_path_unavailable), sorted by alert_id.

When publish raises AmqpDisconnectedError, that alert.normalized attempt is skipped.

Run

The broker and the registry come from stack/common.services.yaml.

docker run --rm \
  -v "$PWD/stack:/stack:ro" \
  -v "$PWD/config:/config:ro" \
  ghcr.io/kontiki-org/host-check-service:1.1.0 \
  --config /stack/common.services.yaml \
  --config /config/host-check.yaml

From a checkout:

poetry run host-check-service \
  --config stack/common.services.yaml \
  --config config/host-check.yaml

Metadata

Release files for host-check-service 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for host-check-service 1.1.0
File Interpreter ABI Platform Actions
host_check_service-1.1.0-py3-none-any.whl Python 3 none any Details for host_check_service-1.1.0-py3-none-any.whl

Release files / host_check_service-1.1.0-py3-none-any.whl

Download URL host_check_service-1.1.0-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eefa047d14f7d89f42b59ecc15b961c7bef45a0447428383e0755cb61fe9a88b
BLAKE2b-256 checksum
How to use checksums
b1c82e8b1708a77a7866d2818e4320d03f9d3be5a1b91e257d637d94d2fd6ccf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for host-check-service 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for host_check_service-1.1.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page