# -*- coding: utf-8 -*-
"""
display_names.py — KEY→中文显示名映射

移植参考脚本 Get-DisplayName 的核心子集部分。
仅包含本期涉及的 system(01/02/03/04) + docker-basic + mysql-basic + redis-basic。
"""

from typing import Dict

DISPLAY_NAMES: Dict[str, str] = {
    # ---- 01 系统基础信息 ----
    "HOSTNAME": "主机名",
    "OS_VERSION": "操作系统版本",
    "KERNEL_VERSION": "内核版本",
    "UPTIME_DAYS": "运行天数",
    "LOAD_1MIN": "1分钟负载",
    "LOAD_5MIN": "5分钟负载",
    "LOAD_15MIN": "15分钟负载",
    "CPU_CORES": "CPU核心数",
    "ARCHITECTURE": "系统架构",
    "NUMA_NODES": "NUMA节点数",
    "NUMA_STATUS": "NUMA状态",
    "BOOT_TIME": "启动时间",
    "MEMORY_TOTAL": "总内存",
    "SWAP_TOTAL": "总交换空间",
    "ULIMIT_INFO": "系统资源限制",
    "KERNEL_CMDLINE": "内核启动参数",
    "FS_FILE_MAX": "文件描述符最大值",
    "INOTIFY_MAX_WATCHES": "inotify最大监听数",
    "NET_SOMAXCONN": "监听队列最大长度",
    "TCP_FIN_TIMEOUT": "TCP FIN超时时间",
    "TCP_KEEPALIVE_TIME": "TCP KeepAlive时间",

    # ---- 02 CPU检测 ----
    "CPU_USAGE": "CPU使用率",
    "CPU_USER": "CPU用户态使用率",
    "CPU_SYSTEM": "CPU系统态使用率",
    "CPU_PER_CORE": "各核心CPU使用率",
    "CPU_TOP10_PROCESSES": "CPU占用TOP10进程",
    "CPU_CONTEXT_SWITCHES": "CPU上下文切换次数",
    "CPU_INTERRUPTS": "CPU中断次数",
    "IRQ_DETAIL": "中断详情",
    "SOFTIRQS": "软中断统计",
    "SCHEDULER_RUNQUEUE": "调度器运行队列长度",
    "SCHEDULER_PROCS_RUNNING": "调度器可运行进程数",
    "SCHEDULER_BLOCKED_STATUS": "调度器阻塞状态",
    "CPU_AFFINITY_SAMPLE": "CPU亲和性示例",
    "CPU_STATUS": "CPU状态",

    # ---- 03 内存检测 ----
    "MEMORY_USED": "已用内存",
    "MEMORY_FREE": "空闲内存",
    "MEMORY_TOTAL": "总内存",
    "MEMORY_BUFFERS": "内存缓冲区",
    "MEMORY_CACHED": "内存缓存",
    "MEMORY_USAGE": "内存使用率",
    "MEMORY_TOP5_PROCESSES": "内存占用TOP5进程",
    "MEMORY_PRESSURE": "内存压力",
    "MEMORY_PRESSURE_AVG10": "内存压力(avg10)",
    "MEMORY_PRESSURE_AVG60": "内存压力(avg60)",
    "SWAP_USED": "已用交换空间",
    "SWAP_USAGE": "交换空间使用率",
    "SWAP_STATUS": "交换空间状态",
    "SLAB_TOTAL": "Slab缓存总量",
    "SLAB_RECLAIMABLE": "可回收Slab缓存",
    "HUGEPAGES_TOTAL": "大页总数",
    "HUGEPAGES_FREE": "空闲大页数",
    "HUGEPAGES_SIZE": "大页大小",
    "TRANSPARENT_HUGEPAGE": "透明大页状态",
    "VM_PSWPIN": "换入页面数",
    "VM_PSWPOUT": "换出页面数",
    "MEMORY_STATUS": "内存状态",

    # ---- 04 磁盘检测 ----
    "DISK_USAGE": "磁盘使用率",
    "DISK_PARTITIONS": "磁盘分区信息",
    "DISK_IO_STATUS": "磁盘IO状态",
    "DISK_READ_SPEED": "磁盘读取速度",
    "DISK_WRITE_SPEED": "磁盘写入速度",
    "DISK_SMART_STATUS": "磁盘SMART状态",
    "DISK_LATENCY": "磁盘延迟",
    "DISK_SPEED_TEST": "磁盘速度测试",
    "RAID_DEVICES": "RAID设备",
    "RAID_STATUS": "RAID状态",
    "LVM_VOLUMES": "LVM卷信息",
    "LVM_STATUS": "LVM状态",
    "REMOTE_MOUNTS": "远程挂载点",
    "REMOTE_MOUNTS_COUNT": "远程挂载数量",

    # ---- 20 Docker基础 ----
    "DOCKER_SERVICE_STATUS": "Docker服务状态",
    "DOCKER_SERVICE_LEVEL": "Docker服务等级",
    "CONTAINER_TOTAL": "容器总数",
    "CONTAINER_RUNNING": "运行中容器数",
    "CONTAINER_STOPPED": "已停止容器数",
    "DOCKER_IMAGES_SIZE": "Docker镜像总大小",
    "DOCKER_CONTAINERS_SIZE": "Docker容器总大小",
    "DOCKER_VOLUMES_SIZE": "Docker卷总大小",
    "DOCKER_LARGE_LOGS": "大日志容器数",
    "DOCKER_NETWORKS": "Docker网络数",

    # ---- 22 MySQL基础 ----
    "MYSQL_CONTAINER_STATUS": "MySQL容器状态",
    "MYSQL_CONTAINER_LEVEL": "MySQL容器等级",
    "MYSQL_VERSION": "MySQL版本",
    "MYSQL_CONNECTED": "MySQL连接状态",
    "MYSQL_CONNECTION_LEVEL": "MySQL连接等级",
    "MYSQL_UPTIME_DAYS": "MySQL运行天数",
    "MYSQL_CONNECTIONS_CURRENT": "MySQL当前连接数",
    "MYSQL_CONNECTIONS_MAX": "MySQL最大连接数",
    "MYSQL_CONNECTIONS_USAGE": "MySQL连接使用率",
    "MYSQL_CONNECTIONS_LEVEL": "MySQL连接等级",
    "MYSQL_THREADS_RUNNING": "MySQL活跃线程数",
    "MYSQL_SLOW_QUERIES": "MySQL慢查询数",
    "MYSQL_SLOW_QUERY_TIME": "MySQL慢查询阈值",
    "MYSQL_SLOW_QUERY_LEVEL": "MySQL慢查询等级",
    "MYSQL_SLAVE_IO": "MySQL从库IO线程",
    "MYSQL_SLAVE_SQL": "MySQL从库SQL线程",
    "MYSQL_SLAVE_DELAY": "MySQL主从延迟",
    "MYSQL_SLAVE_DELAY_LEVEL": "MySQL主从延迟等级",
    "MYSQL_REPLICATION_STATUS": "MySQL复制状态",
    "MYSQL_OPEN_TABLES": "MySQL打开表数",
    "MYSQL_TABLE_CACHE": "MySQL表缓存",
    "MYSQL_TABLE_USAGE": "MySQL表缓存使用率",
    "MYSQL_INNODB_BUFFER_POOL": "MySQL InnoDB缓冲池",
    "MYSQL_INNODB_HIT_RATE": "MySQL InnoDB命中率",
    "MYSQL_INNODB_HIT_LEVEL": "MySQL InnoDB命中等级",
    "MYSQL_CHARSET": "MySQL字符集",
    "MYSQL_COLLATION": "MySQL排序规则",

    # ---- 24 Redis基础 ----
    "REDIS_CONTAINER_STATUS": "Redis容器状态",
    "REDIS_CONTAINER_LEVEL": "Redis容器等级",
    "REDIS_VERSION": "Redis版本",
    "REDIS_CONNECTED": "Redis连接状态",
    "REDIS_CONNECTION_LEVEL": "Redis连接等级",
    "REDIS_UPTIME_DAYS": "Redis运行天数",
    "REDIS_KEYS": "Redis键数量",
    "REDIS_KEYS_LEVEL": "Redis键数量等级",
    "REDIS_MEMORY_USED": "Redis内存使用",
    "REDIS_MEMORY_MAX": "Redis最大内存",
    "REDIS_MEMORY_USAGE": "Redis内存使用率",
    "REDIS_MEMORY_LEVEL": "Redis内存等级",
    "REDIS_MEM_FRAGMENTATION": "Redis内存碎片率",
    "REDIS_MEM_FRAG_LEVEL": "Redis内存碎片等级",
    "REDIS_CLIENTS": "Redis客户端数",
    "REDIS_CLIENTS_USAGE": "Redis客户端使用率",
    "REDIS_CLIENTS_LEVEL": "Redis客户端等级",
    "REDIS_BLOCKED_CLIENTS": "Redis阻塞客户端数",
    "REDIS_OPS_PER_SEC": "Redis每秒操作数",
    "REDIS_HIT_RATE": "Redis缓存命中率",
    "REDIS_HIT_RATE_LEVEL": "Redis命中率等级",
    "REDIS_ROLE": "Redis角色",
    "REDIS_SLAVES": "Redis从库数",
    "REDIS_MASTER_LINK": "Redis主库连接",
    "REDIS_REPLICATION_LEVEL": "Redis复制等级",
    "REDIS_RDB_AGE": "Redis RDB年龄",
    "REDIS_AOF": "Redis AOF状态",
    "REDIS_TOTAL_CONNECTIONS": "Redis总连接数",
    "REDIS_TOTAL_COMMANDS": "Redis总命令数",

    # ---- 05 OOM和内核异常检测 ----
    "OOM_COUNT": "OOM事件总数",
    "OOM_RECENT_DAYS": "近7天OOM事件",
    "OOM_STATUS": "OOM状态",
    "CORE_DUMP_COUNT": "Core dump文件数",
    "CORE_DUMP_STATUS": "Core dump状态",
    "READONLY_FS_COUNT": "只读文件系统数",
    "READONLY_FS_STATUS": "只读文件系统状态",
    "KERNEL_ERRORS": "内核错误数",
    "KERNEL_STATUS": "内核状态",
    "SOFT_LOCKUP_COUNT": "软锁定事件数",
    "SOFT_LOCKUP_STATUS": "软锁定状态",
    "HARDWARE_ERRORS": "硬件错误数",
    "HARDWARE_STATUS": "硬件状态",
    "MCE_DEVICE": "MCE设备",

    # ---- 06 进程检测 ----
    "PROCESS_COUNT": "进程总数",
    "THREAD_COUNT": "线程总数",
    "THREAD_STATUS": "线程状态",
    "FD_ALLOCATED": "已分配文件描述符",
    "FD_MAXIMUM": "最大文件描述符",
    "FD_STATUS": "文件描述符状态",
    "FD_USAGE": "文件描述符使用率",
    "ZOMBIE_COUNT": "僵尸进程数",
    "ZOMBIE_STATUS": "僵尸进程状态",
    "ORPHAN_COUNT": "孤儿进程数",
    "PROCESS_ORPHAN_COUNT": "孤儿进程数",
    "PROCESS_ORPHAN_STATUS": "孤儿进程状态",
    "UNINTERRUPTIBLE_COUNT": "不可中断进程数",
    "UNINTERRUPTIBLE_STATUS": "不可中断进程状态",
    "UNINTERRUPTIBLE_PROCESSES": "不可中断进程列表",
    "PROCESS_TOP10_CPU": "CPU占用TOP10进程",
    "PROCESS_TOP10_MEMORY": "内存占用TOP10进程",
    "PROCESS_CONNECTIONS_TOP5": "连接数TOP5进程",
    "PROCESS_OPEN_FILES_TOP5": "打开文件数TOP5进程",
    "PROCESS_EXE_PATHS_TOP10": "可执行路径TOP10",
    "PROCESS_LONGEST_RUNNING": "最长运行进程",

    # ---- 07 网络检测 ----
    "NET_INTERFACE_TOTAL": "网卡总数",
    "NET_INTERFACE_UP": "活动网卡数",
    "NET_INTERFACE_STATUS": "网卡状态",
    "NET_HOSTNAME": "网络主机名",
    "NET_GATEWAY": "网关地址",
    "NET_GATEWAY_STATUS": "网关状态",
    "GATEWAY_PING_STATUS": "网关Ping状态",
    "DNS_RESOLUTION": "DNS解析状态",
    "NET_TRAFFIC": "网络流量",
    "NET_BANDWIDTH_DETAIL": "带宽详情",
    "NET_ERRORS": "网络错误数",
    "NET_ERRORS_STATUS": "网络错误状态",
    "ROUTES_COUNT": "路由条目数",
    "ARP_COUNT": "ARP条目数",
    "ARP_ENTRIES": "ARP表项",
    "TCP_ESTABLISHED": "TCP已建立连接数",
    "TCP_TIME_WAIT": "TCP TIME_WAIT数",
    "TCP_TIME_WAIT_STATUS": "TCP TIME_WAIT状态",
    "TCP_CLOSE_WAIT": "TCP CLOSE_WAIT数",
    "TCP_CLOSE_WAIT_STATUS": "TCP CLOSE_WAIT状态",
    "TCP_TW_RECYCLE": "TCP TW回收",
    "TCP_TW_REUSE": "TCP TW复用",
    "TCP_FIN_TIMEOUT_PARAM": "TCP FIN超时参数",
    "TCP_EXT_STATS": "TCP扩展统计",
    "LISTEN_QUEUE_BACKLOG": "监听队列积压",
    "SOCKET_STATS": "Socket统计",
    "IPV6_PORTS": "IPv6端口数",
    "CONTAINER_NETWORK_TO_EMQX": "容器到EMQX网络",
    "LOAD_RATIO": "负载比率",
    "LOAD_CORES": "负载核心数",
    "LOAD_STATUS": "负载状态",

    # ---- 11 计划任务检测 ----
    "CRONTAB_COUNT": "Crontab任务数",
    "CRONTAB_LIST": "Crontab任务列表",
    "CRONTAB_STATUS": "Crontab状态",
    "CRONTAB_LEVEL": "Crontab等级",
    "ETC_CRONTAB_ENTRIES": "/etc/crontab条目",
    "SYSTEM_CRON_COUNT": "系统Cron任务数",
    "CROND_SERVICE": "Crond服务状态",
    "CROND_STATUS": "Crond状态",
    "CROND_LEVEL": "Crond等级",
    "CRON_ERRORS_24H": "24小时Cron错误",
    "CRON_LOGS_LEVEL": "Cron日志等级",
    "ANACRON_COUNT": "Anacron任务数",
    "ANACRON_STATUS": "Anacron状态",
    "SYSTEMD_TIMERS": "Systemd定时器数",
    "SYSTEMD_TIMERS_ACTIVE": "活跃Systemd定时器数",
    "SYSTEMD_TIMERS_LEVEL": "Systemd定时器等级",
    "AT_JOBS": "At任务数",
    "AT_JOBS_LEVEL": "At任务等级",

    # ---- 12 端口检测 ----
    "PORT_TOTAL": "端口总数",
    "PORT_LISTENING": "监听端口数",
    "PORT_LISTENING_COUNT": "监听端口数",
    "PORT_DOWN": "未监听端口数",
    "PORT_CRITICAL_DOWN": "关键未监听端口数",
    "PORT_OVERALL_STATUS": "端口总体状态",
    "PORT_USAGE_LEVEL": "端口使用等级",
    "PORT_REUSE_COUNT": "端口复用数",
    "PRIVILEGED_PORTS": "特权端口",

    # ---- 21 Docker深度检测 ----
    "DOCKER_VERSION": "Docker版本",
    "DOCKER_API_VERSION": "Docker API版本",
    "DOCKER_STORAGE_DRIVER": "Docker存储驱动",
    "DOCKER_IMAGES_COUNT": "Docker镜像数",
    "DOCKER_IMAGES_DANGLING": "悬空镜像数",
    "DOCKER_IMAGES_TOP5": "Docker镜像TOP5",
    "DOCKER_NETWORK_COUNT": "Docker网络数",
    "DOCKER_NETWORK_BRIDGE": "Docker Bridge网络数",
    "DOCKER_NETWORK_OVERLAY": "Docker Overlay网络数",
    "DOCKER_NETWORK_LIST": "Docker网络列表",
    "DOCKER_VOLUMES_COUNT": "Docker卷数",
    "DOCKER_VOLUMES_LIST": "Docker卷列表",
    "DOCKER_BUILD_CACHE": "Docker构建缓存",
    "DOCKER_DAEMON_CPU": "Docker守护进程CPU",
    "DOCKER_DAEMON_MEM": "Docker守护进程内存",
    "DOCKER_EVENTS_ERROR": "Docker错误事件",
    "DOCKER_EVENTS_WARN": "Docker警告事件",
    "DOCKER_EVENTS_LEVEL": "Docker事件等级",

    # ---- 37 UStorage容器监测 ----
    "USTORAGE_CONTAINER_NAME": "UStorage容器名",
    "USTORAGE_CONTAINER_STATUS": "UStorage容器状态",
    "USTORAGE_CONTAINER_LEVEL": "UStorage容器等级",
    "USTORAGE_RESTART_COUNT": "UStorage重启次数",
    "USTORAGE_RESTART_LEVEL": "UStorage重启等级",
    "USTORAGE_UPTIME_SECONDS": "UStorage运行时长(秒)",
    "USTORAGE_CPU_USAGE": "UStorage CPU使用率",
    "USTORAGE_MEMORY_USAGE": "UStorage内存使用",
    "USTORAGE_MEMORY_PERCENT": "UStorage内存使用率",
    "USTORAGE_NET_IO": "UStorage网络IO",
    "USTORAGE_BLOCK_IO": "UStorage磁盘IO",
    "USTORAGE_CONTAINER_IP": "UStorage容器IP",
    "USTORAGE_SERVICE_PORT": "UStorage服务端口",
    "USTORAGE_HEALTH_CHECK": "UStorage健康检查",
    "USTORAGE_RESPONSE_TIME": "UStorage响应时间",
    "USTORAGE_HEALTH_LEVEL": "UStorage健康等级",
    "USTORAGE_DATA_SIZE": "UStorage数据大小",
    "USTORAGE_DISK_USAGE": "UStorage磁盘使用率",
    "USTORAGE_DISK_LEVEL": "UStorage磁盘等级",
    "USTORAGE_INODE_USAGE": "UStorage Inode使用率",
    "USTORAGE_LOG_SIZE": "UStorage日志大小",
    "USTORAGE_LOG_LEVEL": "UStorage日志等级",

    # ---- 38 UTracker容器监测 ----
    "UTRACKER_CONTAINER_NAME": "UTracker容器名",
    "UTRACKER_CONTAINER_STATUS": "UTracker容器状态",
    "UTRACKER_CONTAINER_LEVEL": "UTracker容器等级",
    "UTRACKER_RESTART_COUNT": "UTracker重启次数",
    "UTRACKER_RESTART_LEVEL": "UTracker重启等级",
    "UTRACKER_UPTIME_SECONDS": "UTracker运行时长(秒)",
    "UTRACKER_CPU_USAGE": "UTracker CPU使用率",
    "UTRACKER_MEMORY_USAGE": "UTracker内存使用",
    "UTRACKER_MEMORY_PERCENT": "UTracker内存使用率",
    "UTRACKER_NET_IO": "UTracker网络IO",
    "UTRACKER_BLOCK_IO": "UTracker磁盘IO",
    "UTRACKER_CONTAINER_IP": "UTracker容器IP",
    "UTRACKER_SERVICE_PORT": "UTracker服务端口",
    "UTRACKER_HEALTH_CHECK": "UTracker健康检查",
    "UTRACKER_RESPONSE_TIME": "UTracker响应时间",
    "UTRACKER_HEALTH_LEVEL": "UTracker健康等级",
    "UTRACKER_PROCESS_COUNT": "UTracker进程数",
    "UTRACKER_THREAD_COUNT": "UTracker线程数",
    "UTRACKER_FD_COUNT": "UTracker文件描述符数",
    "UTRACKER_TCP_ESTABLISHED": "UTracker TCP已建立连接",
    "UTRACKER_TCP_TIME_WAIT": "UTracker TCP TIME_WAIT",
    "UTRACKER_TCP_CLOSE_WAIT": "UTracker TCP CLOSE_WAIT",
    "UTRACKER_TCP_LEVEL": "UTracker TCP连接等级",
    "UTRACKER_DISK_USAGE": "UTracker磁盘使用率",
    "UTRACKER_DISK_LEVEL": "UTracker磁盘等级",
    "UTRACKER_LOG_SIZE": "UTracker日志大小",
    "UTRACKER_LOG_LEVEL": "UTracker日志等级",

    # ---- 26 EMQX基础检测 ----
    "EMQX_CONTAINER_STATUS": "EMQX容器状态",
    "EMQX_CONTAINER_LEVEL": "EMQX容器等级",
    "EMQX_VERSION": "EMQX版本",
    "EMQX_STATUS": "EMQX状态",
    "EMQX_STATUS_LEVEL": "EMQX状态等级",
    "EMQX_CLIENTS": "EMQX客户端数",
    "EMQX_SESSIONS": "EMQX会话数",
    "EMQX_SUBSCRIPTIONS": "EMQX订阅数",
    "EMQX_TOPICS": "EMQX主题数",
    "EMQX_ROUTES": "EMQX路由数",
    "EMQX_LISTENERS": "EMQX监听器数",
    "EMQX_CLUSTER": "EMQX集群状态",

    # ---- 27 EMQX深度检测 ----
    "EMQX_CONTAINER": "EMQX容器名",
    "EMQX_BROKER_VERSION": "EMQX Broker版本",
    "EMQX_NODE_STATUS": "EMQX节点状态",
    "EMQX_NODE_LEVEL": "EMQX节点等级",
    "EMQX_CLIENTS_TOTAL": "EMQX客户端总数",
    "EMQX_CLIENTS_CONNECTED": "EMQX已连接客户端",
    "EMQX_CLIENTS_DISCONNECTED": "EMQX已断开客户端",
    "EMQX_MAX_CLIENTS": "EMQX最大客户端数",
    "EMQX_SUBSCRIPTIONS_TOTAL": "EMQX订阅总数",
    "EMQX_TOP_TOPICS": "EMQX热门主题",
    "EMQX_MESSAGES_SENT": "EMQX发送消息数",
    "EMQX_MESSAGES_RECEIVED": "EMQX接收消息数",
    "EMQX_TOPICS_TOTAL": "EMQX主题总数",
    "EMQX_TOP5_TOPICS": "EMQX TOP5主题",
    "EMQX_ROUTES_TOTAL": "EMQX路由总数",
    "EMQX_LISTENERS_COUNT": "EMQX监听器数量",
    "EMQX_LISTENER_PORTS": "EMQX监听端口",
    "EMQX_CLUSTER_MODE": "EMQX集群模式",
    "EMQX_CLUSTER_NODES": "EMQX集群节点数",
    "EMQX_MAX_CONNECTIONS": "EMQX最大连接数",
    "EMQX_CONN_USAGE": "EMQX连接使用率",
    "EMQX_CONN_LEVEL": "EMQX连接等级",
    "EMQX_MEMORY_USAGE": "EMQX内存使用率",
    "EMQX_SESSIONS_TOTAL": "EMQX会话总数",
    "EMQX_SESSIONS_ACTIVE": "EMQX活跃会话",
    "EMQX_SESSIONS_INACTIVE": "EMQX非活跃会话",
    "EMQX_PLUGINS_LOADED": "EMQX已加载插件",
    "EMQX_PLUGINS_COUNT": "EMQX插件数",
    "EMQX_RULES_COUNT": "EMQX规则数",
    "EMQX_ALARMS_COUNT": "EMQX告警数",
    "EMQX_ALARMS_LEVEL": "EMQX告警等级",
    "EMQX_ALARMS_DETAIL": "EMQX告警详情",
    "EMQX_PACKETS_CONN": "EMQX连接包数",
    "EMQX_PACKETS_RECV": "EMQX接收包数",
    "EMQX_PACKETS_SENT": "EMQX发送包数",
    "EMQX_DASHBOARD_STATUS": "EMQX Dashboard状态",
    "EMQX_DASHBOARD_LEVEL": "EMQX Dashboard等级",
    "EMQX_DASHBOARD_URL": "EMQX Dashboard地址",
    "EMQX_DASHBOARD_VERSION": "EMQX Dashboard版本",

    # ---- 28 Java应用检测 ----
    "JAVA_CONTAINER_STATUS": "Java容器状态",
    "JAVA_CONTAINER_LEVEL": "Java容器等级",
    "JAVA_CONTAINER": "Java容器名",
    "JAVA_VERSION": "Java版本",
    "JAVA_PID": "Java进程PID",
    "JAVA_VM_SIZE": "JVM虚拟内存",
    "JAVA_VM_RSS": "JVM物理内存",
    "JAVA_THREADS": "Java线程数",
    "JAVA_HEAP_CAPACITY": "JVM堆容量",
    "JAVA_HEAP_USED": "JVM堆使用",
    "JAVA_HEAP_PERCENT": "JVM堆使用率",
    "JAVA_HEAP_LEVEL": "JVM堆等级",
    "JAVA_FULL_GC": "Full GC次数",
    "JAVA_YOUNG_GC": "Young GC次数",
    "JAVA_GC_LEVEL": "GC状态等级",
    "JAVA_THREAD_COUNT": "Java线程数",
    "JAVA_THREAD_LEVEL": "线程数等级",
    "JAVA_LOG_ERRORS": "Java日志错误数",
    "JAVA_LOG_LEVEL": "Java日志等级",
    "SPRINGBOOT_ACTUATOR": "SpringBoot Actuator",
    "SPRINGBOOT_HEALTH_STATUS": "SpringBoot健康状态",
    "SPRINGBOOT_HEALTH_LEVEL": "SpringBoot健康等级",
    "JAVA_CPU_USAGE": "Java CPU使用率",
    "JAVA_MEMORY_USAGE": "Java内存使用",
    "JAVA_MEMORY_PERCENT": "Java内存使用率",
    "JAVA_PROCESS_COUNT": "Java容器进程总数",
    "JAVA_PROCESS_LIST": "Java容器进程列表",
    "JAVA_PROCESSES_DETAIL": "Java进程详情",

    # ---- 29 Python应用检测 ----
    "PYTHON_CONTAINER_STATUS": "Python容器状态",
    "PYTHON_CONTAINER_LEVEL": "Python容器等级",
    "PYTHON_VERSION": "Python版本",
    "PYTHON_PROCESSES": "Python进程数",
    "PYTHON_PROCESS_COUNT": "Python容器进程总数",
    "PYTHON_PROCESS_LIST": "Python容器进程列表",
    "PYTHON_PROCESSES_DETAIL": "Python进程详情",
    "PYTHON_MEMORY": "Python内存使用",
    "PYTHON_CPU": "Python CPU使用",
    "PYTHON_LOG_ERRORS": "Python日志错误数",
    "PYTHON_LOG_LEVEL": "Python日志等级",

    # ---- 30 Nginx基础检测 ----
    "NGINX_CONTAINER_STATUS": "Nginx容器状态",
    "NGINX_CONTAINER_LEVEL": "Nginx容器等级",
    "NGINX_VERSION": "Nginx版本",
    "NGINX_CONFIG": "Nginx配置状态",
    "NGINX_STATUS": "Nginx状态页",
    "NGINX_MEMORY": "Nginx内存使用",

    # ---- 31 Nacos基础检测 ----
    "NACOS_CONTAINER_STATUS": "Nacos容器状态",
    "NACOS_CONTAINER_LEVEL": "Nacos容器等级",
    "NACOS_HEALTH": "Nacos健康状态",
    "NACOS_MEMORY": "Nacos内存使用",
    "NACOS_SERVICES_COUNT": "Nacos服务数",

    # ---- 33 应用日志分析 ----
    "APP_LOG_ERRORS_24H": "应用日志错误(24h)",
    "APP_LOG_LEVEL": "应用日志等级",
    "CONTAINER_LOG_ERRORS_TOTAL": "容器日志错误总数",
    "CONTAINER_LOG_LEVEL": "容器日志等级",
    "SYSLOG_ERRORS": "系统日志错误",

    # ---- 34 Nginx深度检测 ----
    "NGINX_ACTIVE_CONNECTIONS": "Nginx活跃连接",
    "NGINX_ACCEPTED_CONNECTIONS": "Nginx已接受连接",
    "NGINX_HANDLED_CONNECTIONS": "Nginx已处理连接",
    "NGINX_REQUESTS_TOTAL": "Nginx总请求数",
    "NGINX_PID": "Nginx进程PID",
    "NGINX_PROCESSES": "Nginx进程数",
    "NGINX_LISTENING_PORTS": "Nginx监听端口",
    "NGINX_CONFIG_STATUS": "Nginx配置状态",
    "NGINX_CONFIG_LEVEL": "Nginx配置等级",
    "NGINX_CONFIG_ERROR": "Nginx配置错误",
    "NGINX_WORKER_PROCESSES": "Nginx Worker进程数",
    "NGINX_WORKER_CONNECTIONS": "Nginx Worker连接数",
    "NGINX_ACCESS_LOG_SIZE": "Nginx访问日志大小",
    "NGINX_ERROR_LOG_SIZE": "Nginx错误日志大小",
    "NGINX_RECENT_ERRORS": "Nginx最近错误数",
    "NGINX_SSL_ENABLED": "Nginx SSL启用",
    "NGINX_SSL_CERT_EXPIRY": "Nginx SSL证书过期",
    "NGINX_CACHE_ENABLED": "Nginx缓存启用",
    "NGINX_CACHE_PATH": "Nginx缓存路径",
    "NGINX_UPSTREAM_COUNT": "Nginx Upstream数",
    "NGINX_UPSTREAMS": "Nginx Upstream列表",
    "NGINX_SERVER_BLOCKS": "Nginx Server块数",
    "NGINX_STATUS_2XX": "Nginx 2XX响应",
    "NGINX_STATUS_3XX": "Nginx 3XX响应",
    "NGINX_STATUS_4XX": "Nginx 4XX响应",
    "NGINX_STATUS_5XX": "Nginx 5XX响应",
    "NGINX_ERROR_RATE": "Nginx错误率",
    "NGINX_UPTIME_DAYS": "Nginx运行天数",
    "NGINX_CPU_USAGE": "Nginx CPU使用率",
    "NGINX_MEMORY_USAGE": "Nginx内存使用",
    "NGINX_MEMORY_PERCENT": "Nginx内存使用率",

    # ---- 35 Nacos深度检测 ----
    "NACOS_VERSION": "Nacos版本",
    "NACOS_NAMESPACES": "Nacos命名空间数",
    "NACOS_INSTANCES_COUNT": "Nacos实例数",
    "NACOS_HEALTHY_INSTANCES": "Nacos健康实例",
    "NACOS_HEALTH_RATE": "Nacos健康率",
    "NACOS_CONFIGS_COUNT": "Nacos配置数",
    "NACOS_RAFT_MODE": "Nacos Raft模式",
    "NACOS_RAFT_ROLE": "Nacos Raft角色",
    "NACOS_RAFT_NODES": "Nacos Raft节点数",
    "NACOS_HEALTH_STATUS": "Nacos健康状态",
    "NACOS_HEALTH_LEVEL": "Nacos健康等级",
    "NACOS_HEAP_USAGE": "Nacos堆使用率",
    "NACOS_LOG_SIZE": "Nacos日志大小",
    "NACOS_RECENT_ERRORS": "Nacos最近错误",
    "NACOS_CPU_USAGE": "Nacos CPU使用率",
    "NACOS_MEMORY_USAGE": "Nacos内存使用",
    "NACOS_MEMORY_PERCENT": "Nacos内存使用率",

    # ---- 40 综合诊断 ----
    "DIAG_LOAD_1MIN": "诊断-1分钟负载",
    "DIAG_LOAD_PER_CPU": "诊断-单核负载",
    "DIAG_LOAD_LEVEL": "诊断-负载等级",
    "DIAG_MEMORY_USAGE": "诊断-内存使用率",
    "DIAG_MEMORY_TOTAL": "诊断-总内存",
    "DIAG_MEMORY_USED": "诊断-已用内存",
    "DIAG_MEMORY_FREE": "诊断-可用内存",
    "DIAG_MEMORY_LEVEL": "诊断-内存等级",
    "DIAG_DISK_USAGE": "诊断-磁盘使用率",
    "DIAG_DISK_LEVEL": "诊断-磁盘等级",
    "DIAG_DOCKER_TOTAL": "诊断-Docker总数",
    "DIAG_DOCKER_RUNNING": "诊断-Docker运行数",
    "DIAG_DOCKER_STOPPED": "诊断-Docker停止数",
    "DIAG_DOCKER_LEVEL": "诊断-Docker等级",
    "DIAG_OOM_ISSUES": "诊断-OOM问题数",
    "DIAG_DISK_ISSUES": "诊断-磁盘问题数",
    "DIAG_TOTAL_ISSUES": "诊断-总问题数",
    "DIAG_STABILITY_LEVEL": "诊断-稳定性等级",
    "DIAG_GATEWAY": "诊断-网关地址",
    "DIAG_GATEWAY_STATUS": "诊断-网关状态",
    "DIAG_NETWORK_LEVEL": "诊断-网络等级",
    "DIAG_DNS_STATUS": "诊断-DNS状态",
    "DIAG_HEALTH_SCORE": "诊断-健康评分",
    "DIAG_HEALTH_LEVEL": "诊断-健康等级",

    # ---- 43 安全合规 ----
    "AUTH_FAILURES_24H": "认证失败次数(24h)",
    "AUTH_FAILURES_LEVEL": "认证失败等级",
    "CURRENT_USERS_COUNT": "当前用户数",
    "CURRENT_USERS": "当前用户列表",
    "FIREWALL_STATUS": "防火墙状态",
    "IPTABLES_STATUS": "iptables状态",
    "IPTABLES_RULES_COUNT": "iptables规则数",
    "OPEN_PORTS_COUNT": "开放端口数",
    "ABNORMAL_ACCOUNTS": "异常账户",
    "ABNORMAL_ACCOUNTS_LEVEL": "异常账户等级",
    "SSH_PERMIT_ROOT": "SSH允许root",
    "SSH_PASSWORD_AUTH": "SSH密码认证",
    "SSH_PORT": "SSH端口",
    "SSH_ROOT_LOGIN_LEVEL": "SSH root登录等级",
    "OPEN_TCP_PORTS": "开放TCP端口",
    "HIGH_RISK_PORTS": "高风险端口",
    "HIGH_RISK_PORTS_LEVEL": "高风险端口等级",
    "MAX_LOGIN_FAILURES": "最大登录失败数",
    "BRUTE_FORCE_IPS": "暴力破解IP",
    "BRUTE_FORCE_LEVEL": "暴力破解等级",

    # ---- 44 系统日志 ----
    "KERNEL_ERRORS_24H": "内核错误(24h)",
    "KERNEL_ERRORS_LEVEL": "内核错误等级",
    "DISK_ERRORS_24H": "磁盘错误(24h)",
    "DISK_ERRORS_LEVEL": "磁盘错误等级",
    "KERNEL_PANIC_COUNT": "内核Panic数",
    "KERNEL_OOPS_COUNT": "内核Oops数",
    "KERNEL_STABILITY_LEVEL": "内核稳定性等级",
    "SERVICE_CRASH_COUNT": "服务崩溃数",
    "CRASHED_SERVICES": "崩溃服务列表",
    "SERVICE_STABILITY_LEVEL": "服务稳定性等级",
    "SYSTEMD_FAILED_COUNT": "Systemd失败数",
    "SYSTEMD_FAILED_SERVICES": "Systemd失败服务",
    "SYSTEMD_FAILED_LEVEL": "Systemd失败等级",
    "OOM_KILLER_COUNT": "OOM Killer数",
    "OOM_LEVEL": "OOM等级",
    "LARGE_LOG_FILES": "大日志文件",
    "LARGE_LOG_FILES_LEVEL": "大日志文件等级",
    "MESSAGES_ERRORS_COUNT": "Messages错误数",
    "MESSAGES_WARNS_COUNT": "Messages警告数",
    "MESSAGES_LOG_SIZE": "Messages日志大小",

    # ---- 45 时间同步 ----
    "NTP_SERVICE_STATUS": "NTP服务状态",
    "NTP_SERVICE_LEVEL": "NTP服务等级",
    "SYSTEM_CLOCK_SYNC": "系统时钟同步",
    "SYSTEM_CLOCK_SYNC_LEVEL": "时钟同步等级",
    "NTP_DAEMON": "NTP守护进程",
    "NTP_SOURCES": "NTP时间源",
    "NTP_CURRENT_SOURCE": "NTP当前源",
    "NTP_OFFSET_MS": "NTP偏移量",
    "NTP_OFFSET_LEVEL": "NTP偏移等级",
    "SYSTEM_DATETIME": "系统时间",
    "SYSTEM_TIMESTAMP": "系统时间戳",
    "SYSTEM_TIMEZONE": "系统时区",
    "HTTPS_CERT_MIN_DAYS": "HTTPS证书剩余天数",
    "HTTPS_CERT_LEVEL": "HTTPS证书等级",
    "HTTPS_CERT_STATUS": "HTTPS证书状态",
    "SYSTEM_UPTIME_DAYS": "系统运行天数",

    # ---- 容器进程检测（动态KEY） ----
    "PROCESSES_mysql": "MySQL进程数",
    "PROCESSES_redis": "Redis进程数",
    "PROCESSES_emqx": "EMQX进程数",
    "PROCESSES_java": "Java进程数",
    "PROCESSES_nginx": "Nginx进程数",
    "PROCESSES_nacos": "Nacos进程数",
    "PROCESSES_python": "Python进程数",
    "PROCESSES_ustorage": "UStorage进程数",
    "PROCESSES_utracker": "UTracker进程数",
}
