init monlet repo with stage 0-2 (docs, contract, agent MVP)

This commit is contained in:
Stanislav Rossovskii
2026-05-26 16:41:27 +04:00
commit dcea096327
42 changed files with 3183 additions and 0 deletions

22
agent/config.example.toml Normal file
View File

@@ -0,0 +1,22 @@
agent_id = "example-host-01"
hostname = "example-host-01"
mode = "hybrid"
state_dir = "/var/lib/monlet-agent"
[server]
url = "http://127.0.0.1:8000"
token = "replace-me"
heartbeat_interval = "30s"
batch_interval = "10s"
[metrics]
enabled = true
listen = "127.0.0.1:9465"
[[checks]]
id = "disk_root"
name = "Root disk usage"
command = ["/usr/local/lib/monlet/check_disk_root.sh"]
interval = "60s"
timeout = "10s"
notification_owner = "server"