{
  "dashboard": {
    "title": "Proxmox Cluster Overview",
    "tags": ["proxmox", "infrastructure"],
    "timezone": "browser",
    "schemaVersion": 16,
    "version": 1,
    "refresh": "30s",
    "panels": [
      {
        "id": 1,
        "title": "Cluster Nodes Status",
        "type": "stat",
        "targets": [
          {
            "expr": "up{job=\"pve_exporter\"}",
            "legendFormat": "{{instance}}"
          }
        ],
        "gridPos": {"h": 4, "w": 6, "x": 0, "y": 0}
      },
      {
        "id": 2,
        "title": "Total VMs",
        "type": "stat",
        "targets": [
          {
            "expr": "count(pve_vm_info)",
            "legendFormat": "VMs"
          }
        ],
        "gridPos": {"h": 4, "w": 6, "x": 6, "y": 0}
      },
      {
        "id": 3,
        "title": "Running VMs",
        "type": "stat",
        "targets": [
          {
            "expr": "count(pve_vm_info{status=\"running\"})",
            "legendFormat": "Running"
          }
        ],
        "gridPos": {"h": 4, "w": 6, "x": 12, "y": 0}
      },
      {
        "id": 4,
        "title": "CPU Usage by Node",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_node_cpu_usage",
            "legendFormat": "{{node}}"
          }
        ],
        "gridPos": {"h": 8, "w": 12, "x": 0, "y": 4}
      },
      {
        "id": 5,
        "title": "Memory Usage by Node",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_node_memory_usage",
            "legendFormat": "{{node}}"
          }
        ],
        "gridPos": {"h": 8, "w": 12, "x": 12, "y": 4}
      },
      {
        "id": 6,
        "title": "Storage Usage",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_storage_usage",
            "legendFormat": "{{storage}}"
          }
        ],
        "gridPos": {"h": 8, "w": 24, "x": 0, "y": 12}
      }
    ]
  }
}

