Metadata-Version: 2.4
Name: hegemony-probe-net
Version: 0.59.1
Summary: Network reachability probes (tcp/icmp/http/dns) for Hegemony
License-Expression: AGPL-3.0-or-later
License-File: LICENSE-AGPL-3.0-or-later.txt
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Systems Administration
Requires-Dist: hegemony-step-sdk>=1.1,<2
Requires-Dist: httpx>=0.27.0
Requires-Python: >=3.11
Project-URL: Homepage, https://hegemony.sh
Project-URL: Documentation, https://hegemony.sh
Project-URL: Source, https://github.com/hegemony-sh/hegemony-step-plugins
Project-URL: Issues, https://github.com/hegemony-sh/hegemony-step-plugins/issues
Project-URL: Changelog, https://github.com/hegemony-sh/hegemony-step-plugins/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: 2025-2026 Rexonix s.r.o.
SPDX-FileContributor: Jakub Trávník <jakub.travnik@gmail.com>

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# hegemony-probe-net

Network reachability probes for [Hegemony](https://github.com/hegemony-sh/hegemony).

Registers under the `hegemony.probes` entry-point group. Each probe implements
one `check_type` and is consumed by **both** the background `MonitorManager`
tick loop and the one-shot `probe.*` step handlers (through
`HandlerServices.run_probe`) — a single implementation serves both surfaces.

| `probe_id`     | Implementation                                        |
|----------------|-------------------------------------------------------|
| `tcp_connect`  | `asyncio.open_connection`, reports `connect_ms`       |
| `icmp_ping`    | system `ping`, reports rtt/jitter/packet-loss         |
| `http_health`  | `httpx` GET, ok on status < 400, no redirects         |
| `dns_resolve`  | stdlib `getaddrinfo`, reports resolved address count  |

Probe ids are a small global vocabulary (they appear in monitor configs and run
histories) and — unlike step-handler ids — are not namespaced per wheel.
