Harden production workflows and agent admission

This commit is contained in:
Stanislav Rossovskii
2026-05-28 14:19:27 +04:00
parent a2e88b4e76
commit 37b1a1d6d6
109 changed files with 4927 additions and 894 deletions

View File

@@ -1,4 +1,4 @@
hostname = "agent-timeout"
agent_id = "agent-04"
state_dir = "/var/lib/monlet-agent"
[labels]
@@ -8,7 +8,6 @@ role = "showcase"
[server]
enabled = true
url = "http://server:8000"
token = "monlet-dev-token"
heartbeat_interval = "5s"
batch_interval = "3s"
@@ -22,7 +21,7 @@ name = "Healthy probe"
command = "/opt/monlet/checks/exit_0.sh"
interval = "10s"
timeout = "3s"
dedupe_key = "agent-timeout:ok_probe"
dedupe_key = "agent-04:ok_probe"
[[checks]]
id = "slow_probe"
@@ -30,4 +29,4 @@ name = "Probe that exceeds the timeout"
command = "/opt/monlet/checks/sleep_long.sh"
interval = "10s"
timeout = "2s"
dedupe_key = "agent-timeout:slow_probe"
dedupe_key = "agent-04:slow_probe"