Skip to content

1341 - Server Inventory

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

maml
{
  servers: [
    {
      hostname: "db-2"
      ip: "194.120.46.70"
      os: "Amazon Linux 2023"
      cpu_cores: 2
      memory_gb: 8
      status: "running"
    }

    {
      hostname: "web-3"
      ip: "167.50.88.33"
      os: "Debian 12"
      cpu_cores: 2
      memory_gb: 8
      status: "maintenance"
    }

    {
      hostname: "db-2"
      ip: "159.251.110.132"
      os: "Alpine 3.19"
      cpu_cores: 8
      memory_gb: 8
      status: "running"
    }

    {
      hostname: "web-1"
      ip: "2.185.54.241"
      os: "Amazon Linux 2023"
      cpu_cores: 16
      memory_gb: 8
      status: "running"
    }
  ]
}

See Also