// 站点拨测 — HTTP / PING / DNS / TCP / WebSocket 等协议主动监控 import { Card, CardContent } from '@/components/ui/card'; import { Globe, Wifi, Server, Mail, ArrowUpDown } from 'lucide-react'; const probeTypes = [ { icon: Globe, name: 'HTTP(S)', color: 'text-blue-400', desc: 'URL 状态码 & 响应时间' }, { icon: ArrowUpDown, name: 'PING', color: 'text-emerald-400', desc: 'ICMP 连通性 & 延迟' }, { icon: Wifi, name: 'WebSocket', color: 'text-purple-400', desc: 'WS/WSS 连接心跳' }, { icon: Globe, name: 'DNS', color: 'text-cyan-400', desc: '域名解析延迟 & 结果验证' }, { icon: Server, name: 'TCP', color: 'text-orange-400', desc: '端口连通性检测' }, { icon: Server, name: 'UDP', color: 'text-yellow-400', desc: '端口连通性检测' }, { icon: Mail, name: 'SMTP', color: 'text-pink-400', desc: '邮件服务连通性' }, { icon: Mail, name: 'POP3', color: 'text-indigo-400', desc: '邮件接收服务' }, { icon: Globe, name: 'FTP', color: 'text-teal-400', desc: '文件传输服务' }, ]; export function SiteMonitor() { return (
{/* Probe Type Grid */}
{probeTypes.map((p) => (

{p.name}

{p.desc}

))}
{/* Summary */}

拨测任务概览

{['总任务数', '正常', '异常', '可用率'].map((label) => (

{label}

--

))}
); }