{
  "dashboard": {
    "title": "Proxmox Node Details",
    "tags": ["proxmox", "node", "infrastructure"],
    "timezone": "browser",
    "schemaVersion": 16,
    "version": 1,
    "refresh": "30s",
    "panels": [
      {
        "id": 1,
        "title": "Node Status",
        "type": "stat",
        "targets": [
          {
            "expr": "up{job=\"pve_exporter\",instance=~\"$node\"}",
            "legendFormat": "{{instance}}"
          }
        ],
        "gridPos": {"h": 4, "w": 6, "x": 0, "y": 0}
      },
      {
        "id": 2,
        "title": "CPU Usage",
        "type": "gauge",
        "targets": [
          {
            "expr": "pve_node_cpu_usage{node=~\"$node\"}",
            "legendFormat": "{{node}}"
          }
        ],
        "gridPos": {"h": 4, "w": 6, "x": 6, "y": 0}
      },
      {
        "id": 3,
        "title": "Memory Usage",
        "type": "gauge",
        "targets": [
          {
            "expr": "pve_node_memory_usage{node=~\"$node\"}",
            "legendFormat": "{{node}}"
          }
        ],
        "gridPos": {"h": 4, "w": 6, "x": 12, "y": 0}
      },
      {
        "id": 4,
        "title": "CPU Usage Over Time",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_node_cpu_usage{node=~\"$node\"}",
            "legendFormat": "{{node}}"
          }
        ],
        "gridPos": {"h": 8, "w": 12, "x": 0, "y": 4}
      },
      {
        "id": 5,
        "title": "Memory Usage Over Time",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_node_memory_usage{node=~\"$node\"}",
            "legendFormat": "{{node}}"
          }
        ],
        "gridPos": {"h": 8, "w": 12, "x": 12, "y": 4}
      },
      {
        "id": 6,
        "title": "Storage Usage by Pool",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_storage_usage{node=~\"$node\"}",
            "legendFormat": "{{storage}}"
          }
        ],
        "gridPos": {"h": 8, "w": 12, "x": 0, "y": 12}
      },
      {
        "id": 7,
        "title": "Network I/O",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_node_net_in{node=~\"$node\"}",
            "legendFormat": "{{node}} - In"
          },
          {
            "expr": "pve_node_net_out{node=~\"$node\"}",
            "legendFormat": "{{node}} - Out"
          }
        ],
        "gridPos": {"h": 8, "w": 12, "x": 12, "y": 12}
      },
      {
        "id": 8,
        "title": "Disk I/O",
        "type": "graph",
        "targets": [
          {
            "expr": "pve_node_disk_read{node=~\"$node\"}",
            "legendFormat": "{{node}} - Read"
          },
          {
            "expr": "pve_node_disk_write{node=~\"$node\"}",
            "legendFormat": "{{node}} - Write"
          }
        ],
        "gridPos": {"h": 8, "w": 24, "x": 0, "y": 20}
      }
    ],
    "templating": {
      "list": [
        {
          "name": "node",
          "type": "query",
          "query": "label_values(pve_node_info, node)",
          "current": {
            "text": "All",
            "value": "$__all"
          },
          "options": []
        }
      ]
    }
  }
}

