{% extends "resources/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Health Config - {{ resource.name }} - Pychestrate Resources{% endblock %} {% block content %}
{{ ui.error_summary(errors, error_labels) }}
{% if config and config.probe_command %}
This check used a command probe ({{ config.probe_command }}), which is no longer run: command probes executed on the Pychestrate server, not on the device. Enter a probe URL below to re-enable the check.
{% endif %}

The device's HTTP(S) health endpoint; a 2xx response counts as healthy. The Pychestrate server calls it directly, so loopback and link-local addresses are refused.

{{ ui.field_error(errors, 'probe_url') }}
{{ ui.field_error(errors, 'interval_seconds') }}
{{ ui.field_error(errors, 'timeout_seconds') }}

Number of consecutive failures before marking unhealthy

{{ ui.field_error(errors, 'failure_threshold') }}

Number of consecutive successes before marking healthy

{{ ui.field_error(errors, 'success_threshold') }}
Cancel
{% endblock %}