{
  "ok": true,
  "api_version": "1",
  "schema_version": "1.1",
  "role": "agent",
  "node_id": "ruvds",
  "name": "RUVDS",
  "host": "ruvds-c2l5d",
  "os": "Ubuntu 20.04.6 LTS",
  "url": "https://server-ruvds.habitbits.app",
  "time_utc": "2026-11-03T20:05:30+00:00",
  "server_uptime": "259d 0h 34m",
  "monitor_uptime": "2h 4m",
  "cpu_percent": 0,
  "cpu_count": 1,
  "load": {
    "1m": 0.25,
    "5m": 0.42,
    "15m": 0.42
  },
  "load_per_core": {
    "1m": 0.25,
    "5m": 0.42,
    "15m": 0.42
  },
  "memory": {
    "total": 927858688,
    "used": 658186240,
    "available": 269672448,
    "percent": 70.9,
    "swap": {
      "total": 993239040,
      "used": 93159424,
      "free": 900079616,
      "percent": 9.4
    },
    "pressure": {
      "some": {
        "avg10": 0.53,
        "avg60": 0.62,
        "avg300": 0.58,
        "total": 34418212799
      },
      "full": {
        "avg10": 0.5,
        "avg60": 0.48,
        "avg300": 0.38,
        "total": 27087093810
      }
    }
  },
  "disks": [
    {
      "path": "/",
      "total": 20955348992,
      "used": 9890340864,
      "free": 9974595584,
      "percent": 47.2,
      "inodes": {
        "total": 1310720,
        "used": 264492,
        "free": 1046228,
        "percent": 20.2
      }
    }
  ],
  "network": [
    {
      "iface": "docker0",
      "rx": 596696195,
      "tx": 1343057838
    },
    {
      "iface": "br-e5436d6e0c3f",
      "rx": 201986455,
      "tx": 64226954
    },
    {
      "iface": "tun77",
      "rx": 1305513,
      "tx": 7260942
    },
    {
      "iface": "eth0",
      "rx": 337582879698,
      "tx": 383107131558
    },
    {
      "iface": "tailscale0",
      "rx": 23825328584,
      "tx": 9611277679
    }
  ],
  "top_processes": [
    {
      "pid": 3463537,
      "name": "tailscaled",
      "rss": 143388672
    },
    {
      "pid": 214,
      "name": "systemd-journal",
      "rss": 84672512
    },
    {
      "pid": 612,
      "name": "dockerd",
      "rss": 51900416
    },
    {
      "pid": 125853,
      "name": "xray",
      "rss": 50946048
    },
    {
      "pid": 1935539,
      "name": "nginx",
      "rss": 33431552
    },
    {
      "pid": 2065047,
      "name": "python",
      "rss": 27881472
    },
    {
      "pid": 3708408,
      "name": "python",
      "rss": 27361280
    },
    {
      "pid": 503,
      "name": "containerd",
      "rss": 26144768
    }
  ],
  "docker": [
    {
      "id": "c26f6cc5dc4b",
      "name": "server-monitor-agent",
      "image": "server-control-server-agent",
      "state": "running",
      "status": "Up 2 hours (healthy)",
      "ports": "",
      "raw_ports": [],
      "health": "healthy",
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 3.19,
        "memory_working_set": 24317952,
        "memory_limit": 100663296,
        "memory_percent": 24.2,
        "pids": 7,
        "sampled_at": "2026-11-03T20:05:13.24619389Z"
      },
      "metric_errors": [],
      "started_at": "2026-11-03T18:00:58.277541839Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "0e644c339969",
      "name": "smartmark-cz-egress",
      "image": "ghcr.io/xtls/xray-core@sha256:45338c4df61fda061c47ce62aafda6c5d7d59cbdefc33f2e335d8b0c748b748a",
      "state": "running",
      "status": "Up 11 hours",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 0.0,
        "memory_working_set": 8511488,
        "memory_limit": 67108864,
        "memory_percent": 12.7,
        "pids": 7,
        "sampled_at": "2026-11-03T20:05:13.28581783Z"
      },
      "metric_errors": [],
      "started_at": "2026-11-03T09:06:52.806631723Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "9d61b10220fd",
      "name": "vpn-jobs",
      "image": "ruvds-vpn-stack:20260924-ru-direct",
      "state": "running",
      "status": "Up 5 weeks (healthy)",
      "ports": "",
      "raw_ports": [],
      "health": "healthy",
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 2.89,
        "memory_working_set": 17936384,
        "memory_limit": 167772160,
        "memory_percent": 10.7,
        "pids": 1,
        "sampled_at": "2026-11-03T20:05:13.284470991Z"
      },
      "metric_errors": [],
      "started_at": "2026-09-24T17:58:09.441728857Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "0b3680e608c5",
      "name": "vpn-monitor",
      "image": "ruvds-vpn-stack:20260924-ru-direct",
      "state": "running",
      "status": "Up 5 weeks (healthy)",
      "ports": "",
      "raw_ports": [],
      "health": "healthy",
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 3.32,
        "memory_working_set": 45420544,
        "memory_limit": 167772160,
        "memory_percent": 27.1,
        "pids": 3,
        "sampled_at": "2026-11-03T20:05:13.245023757Z"
      },
      "metric_errors": [],
      "started_at": "2026-09-24T17:57:59.552360562Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "45f3103639c9",
      "name": "vpn-connect",
      "image": "ruvds-vpn-stack:20260924-ru-direct",
      "state": "running",
      "status": "Up 5 weeks (healthy)",
      "ports": "",
      "raw_ports": [],
      "health": "healthy",
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 4.68,
        "memory_working_set": 12541952,
        "memory_limit": 167772160,
        "memory_percent": 7.5,
        "pids": 1,
        "sampled_at": "2026-11-03T20:05:13.290227657Z"
      },
      "metric_errors": [],
      "started_at": "2026-09-24T17:57:59.786312202Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "87421a61d7e4",
      "name": "vpn-chain",
      "image": "ruvds-vpn-stack:20260923-1",
      "state": "running",
      "status": "Up 5 weeks (healthy)",
      "ports": "",
      "raw_ports": [],
      "health": "healthy",
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": {
        "cpu_percent_one_core": 5.63,
        "memory_working_set": 51458048,
        "memory_limit": 167772160,
        "memory_percent": 30.7,
        "pids": 18,
        "sampled_at": "2026-11-03T20:05:13.294974693Z"
      },
      "metric_errors": [],
      "started_at": "2026-09-23T19:34:07.84287684Z",
      "finished_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "b6e6b4a91cfe",
      "name": "server-link-tor",
      "image": "server-link-tor:fast",
      "state": "exited",
      "status": "Exited (137) 2 days ago",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 137,
      "resources": null,
      "metric_errors": [],
      "started_at": "2026-09-21T22:08:27.43772604Z",
      "finished_at": "2026-11-01T13:45:08.80930863Z"
    },
    {
      "id": "13b92a977648",
      "name": "wizardly_morse",
      "image": "sha256:4b9f721bae00fed6d0c5698ee0fd5d7a4fc085ffd97e61acc1c36845c0ef55ec",
      "state": "exited",
      "status": "Exited (127) 6 weeks ago",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 127,
      "resources": null,
      "metric_errors": [],
      "started_at": "2026-09-21T21:48:54.64352796Z",
      "finished_at": "2026-09-21T21:48:57.750631848Z"
    },
    {
      "id": "2b8ab048914a",
      "name": "distracted_sammet",
      "image": "sha256:bf7f4568d95723d2148bb19c688526d1404ef3302ef024bc1513ad8f533d46c8",
      "state": "exited",
      "status": "Exited (137) 6 weeks ago",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 137,
      "resources": null,
      "metric_errors": [],
      "started_at": "2026-09-21T21:29:52.475397469Z",
      "finished_at": "2026-09-21T21:34:36.011667979Z"
    },
    {
      "id": "3bb1906dd195",
      "name": "vpn-chain-before-stack-20260923-223303",
      "image": "ghcr.io/xtls/xray-core:26.9.9@sha256:45338c4df61fda061c47ce62aafda6c5d7d59cbdefc33f2e335d8b0c748b748a",
      "state": "exited",
      "status": "Exited (0) 5 weeks ago",
      "ports": "",
      "raw_ports": [],
      "health": null,
      "restart_count": 0,
      "oom_killed": false,
      "exit_code": 0,
      "resources": null,
      "metric_errors": [],
      "started_at": "2026-09-21T21:38:45.135342001Z",
      "finished_at": "2026-09-23T19:33:41.442561598Z"
    }
  ],
  "docker_collection": {
    "status": "available",
    "sampled_at": "2026-11-03T20:05:13+00:00",
    "cache_seconds": 20,
    "restart_count_scope": "container_lifetime",
    "oom_scope": "last_container_state",
    "errors": []
  },
  "collection_duration_ms": 119,
  "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": 4,
    "stopped_with_nonzero_exit": 3,
    "pending_health_checks": 0
  }
}