Harden production workflows and agent admission
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user