Implement Monlet MVP stack and UI updates
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user