Skip to main content

ShellHarbor Watchdog

A Python launcher and installable distribution of ShellHarbor Watchdog, the Linux one-shot Bash service monitor. This is not the unrelated watchdog Python filesystem-event library.

The package bundles the existing monitor, offline discovery tool, configuration example, and JSON Schema. It does not rewrite the monitoring engine, start a daemon, install system packages, register a scheduler, or download code at runtime.

Requirements

  • Python 3.11+ on Linux (including WSL).
  • Bash 4.3+, Mike Farah yq v4, curl, flock, and GNU coreutils on PATH.
  • Optional feature-specific tools remain required only for enabled features.

There are no Python runtime dependencies. Native Windows and macOS execution are not supported; installation alone does not make the Bash engine portable.

Installation

After the package has been published to PyPI:

python3 -m venv .venv
.venv/bin/python -m pip install shellharbor-watchdog
.venv/bin/shellharbor-watchdog --version

For a local checkout before publication:

python3 -m venv .venv
.venv/bin/python -m pip install .

Do not use pip install watchdog; that installs a different project.

Usage

Create and review your own YAML configuration, then pass its path explicitly:

shellharbor-watchdog validate -c /etc/watchdog/config.yaml
shellharbor-watchdog --dry-run -c /etc/watchdog/config.yaml
shellharbor-watchdog -c /etc/watchdog/config.yaml
shellharbor-watchdog status -c /etc/watchdog/config.yaml --json
shellharbor-watchdog notify-test -c /etc/watchdog/config.yaml --channel telegram

Or run as a Python module:

python -m shellharbor_watchdog validate -c /etc/watchdog/config.yaml
python -m shellharbor_watchdog status -c /etc/watchdog/config.yaml --json
python -m shellharbor_watchdog.discover --help
shellharbor-watchdog-discover --help

Arguments are forwarded literally without eval, shell=True, or a bash -c command string. The launcher replaces itself with Bash, preserving streams, signals, and the existing 0 / 1 / 2 exit codes. WATCHDOG_CONFIG remains supported; when it is unset or empty, the Python launchers use config.yaml in the caller's current directory. -c takes precedence. Package resources are never used as a writable configuration or state directory.

For cron/systemd, use the absolute installed executable path and an explicit -c path. Installing this package does not schedule monitoring automatically.

Configuration and features

The configuration reference and Wiki describe HTTP, TCP, command, disk, DNS, ping, TLS, remediation, notification routing, history, maintenance, Prometheus, and Kubernetes deployment. Existing YAML and state formats are unchanged. Keep secrets in the existing *_env fields, not in command-line arguments or committed configuration.

License

MIT. Source and issues.

Metadata

Release files for shellharbor-watchdog 1.7.9

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

Source distribution (sdist)

Source distribution for shellharbor-watchdog 1.7.9
File Size Uploaded Provenance Actions
shellharbor_watchdog-1.7.9.tar.gz 92.8 kB With provenance Details for shellharbor_watchdog-1.7.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shellharbor-watchdog 1.7.9
File Interpreter ABI Platform Actions
shellharbor_watchdog-1.7.9-py3-none-any.whl Python 3 none any Details for shellharbor_watchdog-1.7.9-py3-none-any.whl

Total release size: 189.6 kB

Release files / shellharbor_watchdog-1.7.9.tar.gz

Download URL shellharbor_watchdog-1.7.9.tar.gz
Size 92.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5f2b6f4d8c96c88ed8da5fa9a6579c7436eb7c633dea5f2fcf9a2001a75dc048
BLAKE2b-256 checksum
How to use checksums
e2063c4bc084e4d29e912988fb5979f71f6988e64279a699605929861481a613
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 Oct 23, 2026.

Transparency log

Release files / shellharbor_watchdog-1.7.9-py3-none-any.whl

Download URL shellharbor_watchdog-1.7.9-py3-none-any.whl
Size 96.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb29b50e8386939081b9a7821e9c112c493cb4a251e9cab018210ab8ccf9865e
BLAKE2b-256 checksum
How to use checksums
e7b3c01f732ec89f11af1b3a154cfee3ba9c6e886f46e47077c9cfa2a0795a41
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 Oct 23, 2026.

Transparency log

Security for shellharbor-watchdog 1.7.9

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for shellharbor_watchdog-1.7.9.tar.gz

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 Oct 23, 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.7.9 This release

2 release files 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