Skip to content

156 - Server Inventory

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

maml
{
  servers: [
    {
      hostname: "api-7"
      ip: "142.253.102.66"
      os: "Ubuntu 22.04"
      cpu_cores: 2
      memory_gb: 64
      status: "running"
    }

    {
      hostname: "cache-8"
      ip: "60.8.41.236"
      os: "Debian 12"
      cpu_cores: 4
      memory_gb: 4
      status: "maintenance"
    }

    {
      hostname: "db-8"
      ip: "142.166.125.28"
      os: "Alpine 3.19"
      cpu_cores: 8
      memory_gb: 64
      status: "maintenance"
    }

    {
      hostname: "api-5"
      ip: "239.34.163.91"
      os: "Alpine 3.19"
      cpu_cores: 16
      memory_gb: 16
      status: "stopped"
    }
  ]
}

See Also