Skip to content

1254 - Server Inventory

Infrastructure server inventory. This is an example of a MAML document.

maml
{
  servers: [
    {
      hostname: "cache-9"
      ip: "161.161.188.199"
      os: "Ubuntu 22.04"
      cpu_cores: 16
      memory_gb: 8
      status: "maintenance"
    }

    {
      hostname: "worker-5"
      ip: "94.194.194.44"
      os: "Amazon Linux 2023"
      cpu_cores: 16
      memory_gb: 4
      status: "maintenance"
    }

    {
      hostname: "web-8"
      ip: "242.147.105.106"
      os: "Alpine 3.19"
      cpu_cores: 8
      memory_gb: 4
      status: "stopped"
    }

    {
      hostname: "web-1"
      ip: "195.122.124.57"
      os: "Alpine 3.19"
      cpu_cores: 16
      memory_gb: 4
      status: "running"
    }

    {
      hostname: "web-7"
      ip: "235.252.52.159"
      os: "Alpine 3.19"
      cpu_cores: 8
      memory_gb: 8
      status: "maintenance"
    }

    {
      hostname: "worker-8"
      ip: "200.243.179.129"
      os: "Ubuntu 22.04"
      cpu_cores: 4
      memory_gb: 4
      status: "maintenance"
    }
  ]
}

See Also