Skip to content

1248 - Server Inventory

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

maml
{
  servers: [
    {
      hostname: "queue-7"
      ip: "92.240.125.23"
      os: "Debian 12"
      cpu_cores: 8
      memory_gb: 32
      status: "running"
    }

    {
      hostname: "worker-4"
      ip: "58.155.108.180"
      os: "Debian 12"
      cpu_cores: 16
      memory_gb: 32
      status: "maintenance"
    }

    {
      hostname: "api-2"
      ip: "93.91.31.228"
      os: "Amazon Linux 2023"
      cpu_cores: 8
      memory_gb: 4
      status: "stopped"
    }

    {
      hostname: "cache-3"
      ip: "159.134.27.229"
      os: "Alpine 3.19"
      cpu_cores: 16
      memory_gb: 16
      status: "maintenance"
    }

    {
      hostname: "worker-5"
      ip: "164.246.133.187"
      os: "Amazon Linux 2023"
      cpu_cores: 8
      memory_gb: 64
      status: "running"
    }

    {
      hostname: "web-2"
      ip: "35.29.125.244"
      os: "Alpine 3.19"
      cpu_cores: 2
      memory_gb: 8
      status: "stopped"
    }
  ]
}

See Also