Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Document shipped availability probe coverage

pulse-triage[bot]3e66f042a526
diff --git a/docs/API.md b/docs/API.md
index 7de7f4d590..b3a090c556 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -1397,7 +1397,7 @@ These routes manage Docker / Podman telemetry and container actions reported by
## Availability Checks
Agentless availability checks monitor endpoint-only devices and services with
-ICMP ping, TCP port, HTTP, or HTTPS probes. They are managed from
+ICMP ping, TCP port, UDP, HTTP, or HTTPS probes. They are managed from
**Settings -> Monitoring -> Availability checks** and are also exposed through
the API for automation.
@@ -1415,14 +1415,20 @@ Target payload fields:
- `name` - Display name.
- `targetKind` - `machine`, `service`, or `device`; defaults to `service`.
- `address` - Hostname, IP address, or URL.
-- `protocol` - `icmp`, `tcp`, `http`, or `https`. The input alias `ping` is accepted and is stored/returned as canonical `icmp`.
-- `port` - Required for `tcp`, optional for `http`/`https`, and omitted for `icmp`.
+- `protocol` - `icmp`, `tcp`, `udp`, `http`, or `https`. The input alias `ping` is accepted and is stored/returned as canonical `icmp`.
+- `port` - Required for `tcp`/`udp`, optional for `http`/`https`, and omitted for `icmp`.
- `path` - Optional HTTP path.
+- `udpMode` - For UDP, `response_required` (default) or `open_or_filtered`. The latter reports silence as indeterminate and fails only on an explicit rejection.
+- `udpRequest` - UTF-8 request bytes, up to 512 bytes. Required by `response_required`; optional in `open_or_filtered` mode.
+- `udpExpectedResponse` - Optional exact UTF-8 response, up to 4096 bytes.
- `enabled` - Whether the target is scheduled.
- `pollIntervalSeconds` - Minimum 10 seconds; defaults to 60.
- `timeoutMillis` - Minimum 250 milliseconds; defaults to 2000.
- `failureThreshold` - Number of consecutive failures before alerting; defaults to 2.
- `linkedResourceId` - Optional resource id hint for attaching the probe facet to an existing resource.
+- `certificateMonitoringDisabled` - Explicit HTTPS-only opt-out; certificate validity monitoring is enabled by default.
+- `certificateExpiryWarningDays` - HTTPS certificate expiry warning window; defaults to 30 days.
+- `probeAgentId` - Optional registered host-agent ID that runs the check instead of the Pulse server; requires the Pro `external_probe` entitlement. Send an explicit empty string on update to return the check to local execution.
An explicit `linkedResourceId` is authoritative and fails closed when it
cannot resolve. Without it, Pulse correlates only on one exact normalized IP
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md
index dc54c8f39c..436c4c911d 100644
--- a/docs/CONFIGURATION.md
+++ b/docs/CONFIGURATION.md
@@ -473,14 +473,20 @@ Supported protocols:
| `icmp` | Ping-only reachability for devices, computers, and appliances | `address` |
| `ping` | API input alias for `icmp`; saved targets return `icmp` | `address` |
| `tcp` | A reachable port such as MQTT, SSH, or a custom service | `address`, `port` |
+| `udp` | A request/response UDP service, or an open-or-filtered observation | `address`, `port`, UDP result policy |
| `http` / `https` | Web UI or health endpoint availability | `address`, optional `port`, optional `path` |
Saved targets include `name`, `targetKind` (`machine`, `service`, or
`device`), `address`, `protocol`, `enabled`, polling interval, timeout,
-failure threshold, and an optional `linkedResourceId`. ICMP ping is the
-default probe for new targets. Availability targets publish
-`network-endpoint` resources and can raise downtime alerts after the configured
-failure threshold.
+failure threshold, and an optional `linkedResourceId`. UDP targets select
+`response_required` (send up to 512 UTF-8 bytes and require a response) or
+`open_or_filtered` (silence is indeterminate, not proof of reachability); an
+optional expected response must match exactly. HTTPS targets monitor
+certificate validity by default and warn 30 days before expiry unless the
+target overrides or disables that check. ICMP ping is the default probe for
+new targets. Availability targets publish `network-endpoint` resources and can
+raise downtime alerts after the configured failure threshold and certificate
+alerts inside the configured expiry window.
Example API payload for simple ping monitoring:
diff --git a/frontend-modern/public/docs/API.md b/frontend-modern/public/docs/API.md
index 7de7f4d590..b3a090c556 100644
--- a/frontend-modern/public/docs/API.md
+++ b/frontend-modern/public/docs/API.md
@@ -1397,7 +1397,7 @@ These routes manage Docker / Podman telemetry and container actions reported by
## Availability Checks
Agentless availability checks monitor endpoint-only devices and services with
-ICMP ping, TCP port, HTTP, or HTTPS probes. They are managed from
+ICMP ping, TCP port, UDP, HTTP, or HTTPS probes. They are managed from
**Settings -> Monitoring -> Availability checks** and are also exposed through
the API for automation.
@@ -1415,14 +1415,20 @@ Target payload fields:
- `name` - Display name.
- `targetKind` - `machine`, `service`, or `device`; defaults to `service`.
- `address` - Hostname, IP address, or URL.
-- `protocol` - `icmp`, `tcp`, `http`, or `https`. The input alias `ping` is accepted and is stored/returned as canonical `icmp`.
-- `port` - Required for `tcp`, optional for `http`/`https`, and omitted for `icmp`.
+- `protocol` - `icmp`, `tcp`, `udp`, `http`, or `https`. The input alias `ping` is accepted and is stored/returned as canonical `icmp`.
+- `port` - Required for `tcp`/`udp`, optional for `http`/`https`, and omitted for `icmp`.
- `path` - Optional HTTP path.
+- `udpMode` - For UDP, `response_required` (default) or `open_or_filtered`. The latter reports silence as indeterminate and fails only on an explicit rejection.
+- `udpRequest` - UTF-8 request bytes, up to 512 bytes. Required by `response_required`; optional in `open_or_filtered` mode.
+- `udpExpectedResponse` - Optional exact UTF-8 response, up to 4096 bytes.
- `enabled` - Whether the target is scheduled.
- `pollIntervalSeconds` - Minimum 10 seconds; defaults to 60.
- `timeoutMillis` - Minimum 250 milliseconds; defaults to 2000.
- `failureThreshold` - Number of consecutive failures before alerting; defaults to 2.
- `linkedResourceId` - Optional resource id hint for attaching the probe facet to an existing resource.
+- `certificateMonitoringDisabled` - Explicit HTTPS-only opt-out; certificate validity monitoring is enabled by default.
+- `certificateExpiryWarningDays` - HTTPS certificate expiry warning window; defaults to 30 days.
+- `probeAgentId` - Optional registered host-agent ID that runs the check instead of the Pulse server; requires the Pro `external_probe` entitlement. Send an explicit empty string on update to return the check to local execution.
An explicit `linkedResourceId` is authoritative and fails closed when it
cannot resolve. Without it, Pulse correlates only on one exact normalized IP
diff --git a/frontend-modern/public/docs/CONFIGURATION.md b/frontend-modern/public/docs/CONFIGURATION.md
index dc54c8f39c..436c4c911d 100644
--- a/frontend-modern/public/docs/CONFIGURATION.md
+++ b/frontend-modern/public/docs/CONFIGURATION.md
@@ -473,14 +473,20 @@ Supported protocols:
| `icmp` | Ping-only reachability for devices, computers, and appliances | `address` |
| `ping` | API input alias for `icmp`; saved targets return `icmp` | `address` |
| `tcp` | A reachable port such as MQTT, SSH, or a custom service | `address`, `port` |
+| `udp` | A request/response UDP service, or an open-or-filtered observation | `address`, `port`, UDP result policy |
| `http` / `https` | Web UI or health endpoint availability | `address`, optional `port`, optional `path` |
Saved targets include `name`, `targetKind` (`machine`, `service`, or
`device`), `address`, `protocol`, `enabled`, polling interval, timeout,
-failure threshold, and an optional `linkedResourceId`. ICMP ping is the
-default probe for new targets. Availability targets publish
-`network-endpoint` resources and can raise downtime alerts after the configured
-failure threshold.
+failure threshold, and an optional `linkedResourceId`. UDP targets select
+`response_required` (send up to 512 UTF-8 bytes and require a response) or
+`open_or_filtered` (silence is indeterminate, not proof of reachability); an
+optional expected response must match exactly. HTTPS targets monitor
+certificate validity by default and warn 30 days before expiry unless the
+target overrides or disables that check. ICMP ping is the default probe for
+new targets. Availability targets publish `network-endpoint` resources and can
+raise downtime alerts after the configured failure threshold and certificate
+alerts inside the configured expiry window.
Example API payload for simple ping monitoring:
diff --git a/scripts/release_control/documentation_currentness_test.py b/scripts/release_control/documentation_currentness_test.py
index 66f12d61b7..1551127600 100644
--- a/scripts/release_control/documentation_currentness_test.py
+++ b/scripts/release_control/documentation_currentness_test.py
@@ -257,6 +257,33 @@ class DocumentationCurrentnessTest(unittest.TestCase):
for fragment in expected_fragments:
self.assertIn(fragment, prose)
+ def test_availability_docs_include_runtime_protocols_and_controls(self) -> None:
+ for rel in (
+ "docs/CONFIGURATION.md",
+ "frontend-modern/public/docs/CONFIGURATION.md",
+ ):
+ content = normalize_prose(read(rel))
+ self.assertIn("| `udp` |", content, msg=f"{rel} omits UDP availability checks")
+ self.assertIn("`response_required`", content)
+ self.assertIn("`open_or_filtered`", content)
+ self.assertIn("certificate validity by default", content)
+ self.assertIn("warn 30 days before expiry", content)
+
+ for rel in (
+ "docs/API.md",
+ "frontend-modern/public/docs/API.md",
+ ):
+ content = normalize_prose(read(rel))
+ for field in (
+ "`udpMode`",
+ "`udpRequest`",
+ "`udpExpectedResponse`",
+ "`certificateMonitoringDisabled`",
+ "`certificateExpiryWarningDays`",
+ "`probeAgentId`",
+ ):
+ self.assertIn(field, content, msg=f"{rel} omits {field}")
+
def test_webhook_docs_make_ntfy_service_picker_discoverable(self) -> None:
webhook_doc = normalize_prose(read("docs/WEBHOOKS.md"))