export const columns = [
  {
    dataIndex: 'id',
    title: 'ID',
    width: 80,
    slotName: 'id',
  },
  {
    dataIndex: 'server_identity',
    title: '唯一标识',
    width: 150,
  },
  {
    dataIndex: 'name',
    title: '名称',
    width: 150,
  },
  {
    dataIndex: 'host',
    title: '主机地址',
    width: 150,
  },
  {
    dataIndex: 'ip_address',
    title: 'IP 地址',
    width: 150,
  },
  {
    dataIndex: 'os',
    title: '操作系统',
    width: 120,
  },
  {
    dataIndex: 'os_version',
    title: '系统版本',
    width: 100,
  },
  {
    dataIndex: 'kernel',
    title: '内核',
    width: 80,
  },
  {
    dataIndex: 'server_type',
    title: '类型',
    width: 100,
  },
  {
    dataIndex: 'location',
    title: '位置',
    width: 150,
  },
  {
    dataIndex: 'tags',
    title: '标签',
    width: 150,
  },
  {
    dataIndex: 'remote_access',
    title: '远程访问',
    width: 100,
    slotName: 'remote_access',
  },
  {
    dataIndex: 'remote_port',
    title: '远程端口',
    width: 100,
  },
  {
    dataIndex: 'agent_config',
    title: 'Agent 配置',
    width: 100,
    slotName: 'agent_config',
  },
  {
    dataIndex: 'collect_on',
    title: '数据采集',
    width: 100,
    slotName: 'data_collection',
  },
  {
    dataIndex: 'collect_interval',
    title: '采集间隔',
    width: 100,
  },
  {
    dataIndex: 'cpu_state',
    title: 'CPU使用率',
    width: 150,
    slotName: 'cpu',
  },
  {
    dataIndex: 'memory_state',
    title: '内存使用率',
    width: 150,
    slotName: 'memory',
  },
  {
    dataIndex: 'disk_state',
    title: '硬盘使用率',
    width: 150,
    slotName: 'disk',
  },
  {
    dataIndex: 'status',
    title: '状态',
    width: 100,
    slotName: 'status',
  },
  {
    dataIndex: 'last_check_time',
    title: '最后检查',
    width: 180,
    slotName: 'last_check_time',
  },
  {
    dataIndex: 'actions',
    title: '操作',
    width: 180,
    fixed: 'right' as const,
    slotName: 'actions',
  },
]
