{
  "ok": true,
  "api_version": "1",
  "schema_version": "1.1",
  "role": "agent",
  "node_id": "alcal-kz",
  "name": "Alcal KZ",
  "host": "108750.vm",
  "os": "Ubuntu 24.04.3 LTS",
  "url": "https://kz.habitbits.app",
  "time_utc": "2026-11-03T19:58:35+00:00",
  "server_uptime": "29d 10h 54m",
  "monitor_uptime": "1h 51m",
  "cpu_percent": 36.4,
  "cpu_count": 1,
  "load": {
    "1m": 0.12,
    "5m": 0.03,
    "15m": 0.01
  },
  "load_per_core": {
    "1m": 0.12,
    "5m": 0.03,
    "15m": 0.01
  },
  "memory": {
    "total": 1008189440,
    "used": 459591680,
    "available": 548597760,
    "percent": 45.6,
    "swap": {
      "total": 2684346368,
      "used": 125046784,
      "free": 2559299584,
      "percent": 4.7
    },
    "pressure": {
      "some": {
        "avg10": 0.0,
        "avg60": 0.0,
        "avg300": 0.0,
        "total": 67479703
      },
      "full": {
        "avg10": 0.0,
        "avg60": 0.0,
        "avg300": 0.0,
        "total": 39419304
      }
    }
  },
  "disks": [
    {
      "path": "/",
      "total": 21044416512,
      "used": 13119586304,
      "free": 6834487296,
      "percent": 62.3,
      "inodes": {
        "total": 1310720,
        "used": 374970,
        "free": 935750,
        "percent": 28.6
      }
    }
  ],
  "network": [
    {
      "iface": "ens3",
      "rx": 38887617396,
      "tx": 36142464655
    },
    {
      "iface": "tailscale0",
      "rx": 8789236393,
      "tx": 21259999951
    },
    {
      "iface": "amn0",
      "rx": 1389737592,
      "tx": 1403049624
    },
    {
      "iface": "docker0",
      "rx": 196,
      "tx": 526
    },
    {
      "iface": "veth8660cd3",
      "rx": 1407896136,
      "tx": 1393348734
    },
    {
      "iface": "vethf92b60f",
      "rx": 9580370,
      "tx": 9841463
    },
    {
      "iface": "veth2306687",
      "rx": 126,
      "tx": 49510
    },
    {
      "iface": "veth23b213a",
      "rx": 126,
      "tx": 49342
    }
  ],
  "top_processes": [
    {
      "pid": 1159,
      "name": "dockerd",
      "rss": 59985920
    },
    {
      "pid": 665,
      "name": "tailscaled",
      "rss": 46383104
    },
    {
      "pid": 1028,
      "name": "systemd-journal",
      "rss": 40787968
    },
    {
      "pid": 3223624,
      "name": "fwupd",
      "rss": 35446784
    },
    {
      "pid": 2185056,
      "name": "python3",
      "rss": 31203328
    },
    {
      "pid": 1029,
      "name": "multipathd",
      "rss": 27820032
    },
    {
      "pid": 1093,
      "name": "containerd",
      "rss": 25309184
    },
    {
      "pid": 1675,
      "name": "caddy",
      "rss": 23928832
    }
  ],
  "docker": [
    {
      "id": "924e66aa9ca2",
      "name": "mtproto-proxy",
      "image": "nineseconds/mtg:2",
      "state": "created",
      "status": "Created",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 128,
      "resources": null,
      "metric_errors": [],
      "started_at": "0001-01-01T00:00:00Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "d7e304d365e6",
      "name": "server-link-exit",
      "image": "ghcr.io/xtls/xray-core@sha256:45338c4df61fda061c47ce62aafda6c5d7d59cbdefc33f2e335d8b0c748b748a",
      "state": "running",
      "status": "Up 4 weeks",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 0.23,
        "memory_working_set": 14417920,
        "memory_limit": 134217728,
        "memory_percent": 10.7,
        "pids": 8,
        "sampled_at": "2026-11-03T19:58:10.624658897Z"
      },
      "metric_errors": [],
      "started_at": "2026-10-05T09:04:28.412113941Z",
      "finished_at": "2026-10-05T09:04:22.811733733Z"
    },
    {
      "id": "6ac414a8d9be",
      "name": "alcal-edge",
      "image": "nginx:1.27-alpine",
      "state": "running",
      "status": "Up 4 weeks",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 0.01,
        "memory_working_set": 1531904,
        "memory_limit": 1008189440,
        "memory_percent": 0.2,
        "pids": 2,
        "sampled_at": "2026-11-03T19:58:10.624481147Z"
      },
      "metric_errors": [],
      "started_at": "2026-10-05T09:04:27.754078265Z",
      "finished_at": "2026-10-05T09:04:22.811881635Z"
    },
    {
      "id": "686758c122f2",
      "name": "alcal-caddy",
      "image": "caddy:2",
      "state": "running",
      "status": "Up 4 weeks",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 0.04,
        "memory_working_set": 22151168,
        "memory_limit": 1008189440,
        "memory_percent": 2.2,
        "pids": 10,
        "sampled_at": "2026-11-03T19:58:10.626082565Z"
      },
      "metric_errors": [],
      "started_at": "2026-10-05T09:04:28.113922391Z",
      "finished_at": "2026-10-05T09:04:22.813247831Z"
    },
    {
      "id": "4f4e16ce63db",
      "name": "amnezia-xray",
      "image": "amnezia-xray",
      "state": "running",
      "status": "Up 4 weeks",
      "ports": "4430->4430/tcp, 4430->4430/tcp",
      "raw_ports": [
        {
          "IP": "0.0.0.0",
          "PrivatePort": 4430,
          "PublicPort": 4430,
          "Type": "tcp"
        },
        {
          "IP": "::",
          "PrivatePort": 4430,
          "PublicPort": 4430,
          "Type": "tcp"
        }
      ],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 0.0,
        "memory_working_set": 5718016,
        "memory_limit": 1008189440,
        "memory_percent": 0.6,
        "pids": 9,
        "sampled_at": "2026-11-03T19:58:10.627731592Z"
      },
      "metric_errors": [],
      "started_at": "2026-10-05T09:04:28.30281009Z",
      "finished_at": "2026-10-05T09:04:22.767397661Z"
    },
    {
      "id": "f4c4b36c1fc9",
      "name": "dreamy_edison",
      "image": "sha256:c66d0ba602763302f0dae392eef5fda893abec6ac54a8e923895bb0fc731c485",
      "state": "exited",
      "status": "Exited (1) 6 months ago",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 1,
      "resources": null,
      "metric_errors": [],
      "started_at": "2026-04-21T15:01:40.22826629Z",
      "finished_at": "2026-04-21T15:06:42.071399525Z"
    },
    {
      "id": "79cf1d98da57",
      "name": "amnezia-awg",
      "image": "amnezia-awg",
      "state": "running",
      "status": "Up 4 weeks",
      "ports": "43890->43890/udp, 43890->43890/udp",
      "raw_ports": [
        {
          "IP": "0.0.0.0",
          "PrivatePort": 43890,
          "PublicPort": 43890,
          "Type": "udp"
        },
        {
          "IP": "::",
          "PrivatePort": 43890,
          "PublicPort": 43890,
          "Type": "udp"
        }
      ],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 0.02,
        "memory_working_set": 4808704,
        "memory_limit": 1008189440,
        "memory_percent": 0.5,
        "pids": 13,
        "sampled_at": "2026-11-03T19:58:10.637230339Z"
      },
      "metric_errors": [],
      "started_at": "2026-10-05T09:04:28.34088646Z",
      "finished_at": "2026-10-05T09:04:22.811263503Z"
    }
  ],
  "docker_collection": {
    "status": "available",
    "sampled_at": "2026-11-03T19:58:10+00:00",
    "cache_seconds": 20,
    "restart_count_scope": "container_lifetime",
    "oom_scope": "last_container_state",
    "errors": []
  },
  "collection_duration_ms": 116,
  "limitations": [
    "Restart counts cover container lifetime; OOM flag describes last state, not OOM event history.",
    "Container CPU needs two samples; null means warming up or unavailable.",
    "Stopped containers are inventory; expected-running service policy is not configured.",
    "Systemd service health and logs are not collected by the JSON agent."
  ],
  "collection": {
    "partial": false,
    "errors": []
  },
  "health": {
    "status": "healthy",
    "issues": [],
    "scope": "host_resources_and_active_containers",
    "stopped_containers": 2,
    "stopped_with_nonzero_exit": 2,
    "pending_health_checks": 0
  }
}