Implement Monlet MVP stack and UI updates

This commit is contained in:
Stanislav Rossovskii
2026-05-27 10:01:59 +04:00
parent dcea096327
commit edc51e9c59
145 changed files with 15618 additions and 248 deletions

View File

@@ -1,9 +1,12 @@
agent_id = "example-host-01"
hostname = "example-host-01"
mode = "hybrid"
state_dir = "/var/lib/monlet-agent"
[labels]
env = "prod"
role = "api"
[server]
enabled = true
url = "http://127.0.0.1:8000"
token = "replace-me"
heartbeat_interval = "30s"
@@ -16,7 +19,8 @@ listen = "127.0.0.1:9465"
[[checks]]
id = "disk_root"
name = "Root disk usage"
command = ["/usr/local/lib/monlet/check_disk_root.sh"]
command = '''
/usr/local/lib/monlet/check_disk_root.sh
'''
interval = "60s"
timeout = "10s"
notification_owner = "server"