Harden production workflows and agent admission
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
hostname = "agent-flap"
|
||||
agent_id = "agent-03"
|
||||
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,4 +21,4 @@ name = "Flapping check (oscillates ok/critical)"
|
||||
command = "/opt/monlet/checks/flap.sh"
|
||||
interval = "10s"
|
||||
timeout = "3s"
|
||||
dedupe_key = "agent-flap:flap"
|
||||
dedupe_key = "agent-03:flap"
|
||||
|
||||
Reference in New Issue
Block a user