Komari 和 哪吒 服务器探针部署
GitHub:
一键安装脚本
curl -fsSL https://raw.githubusercontent.com/komari-monitor/komari/main/install-komari.sh -o install-komari.sh
chmod +x install-komari.sh
sudo ./install-komari.sh
Docker 部署
创建数据目录:
mkdir -p ./data
运行 Docker 容器:
docker run -d \
-p 25774:25774 \
-v $(pwd)/data:/app/data \
--name komari \
ghcr.io/komari-monitor/komari:latest
查看默认用户名和密码:
docker logs komari
在浏览器中访问 http://<your_server_ip>:25774
哪吒探针
官方文档:
curl -L https://raw.githubusercontent.com/nezhahq/scripts/refs/heads/main/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
以1panel Docker安装为例,安装完成后按提示输入以下信息:
- 请输入暴露端口: (默认 8008) 9527
- 请指定安装命令中预设的 nezha-agent 连接地址 :123.123.123.123:9527
- 是否希望通过 TLS 连接 Agent?(影响安装命令)[y/N] N
- 登录后台,默认用户名密码 admin / admin
美化默认主题
<script>
window.CustomBackgroundImage="https://xx.png"; /* 页面背景图 */
window.CustomLogo = "https://xx.png"; /* 自定义Logo */
window.ShowNetTransfer = "true"; /* 卡片显示上下行流量 */
window.DisableAnimatedMan = "true"; /* 关掉动画人物插图 */
window.CustomIllustration = 'https://xx.png'; /*替换人物插图。如果需要关闭请把上面一行取消注释 */
window.CustomDesc ="MJJ:白嫖至上,技术先行"; /* 自定义描述 */
</script>
公开备注设置
}
"billingDataMod": {
"startDate": "2024-10-14T00:00:00+08:00",
"endDate": "2025-10-14T00:00:00+08:00",
"autoRenewal": "1",
"cycle": " 年",
"amount": "$ 30.00 USD"
},
"planDataMod": {
"bandwidth": "10 G",
"trafficVol": "1.5 TB/月",
"trafficType": "2",
"IPv4": "1",
"IPv6": "1",
"networkRoute": "11周年活动",
"extra": "IIJ"
}
}
那爪主题 (去掉地图)
<style>
.world-map-box {
display: none !important;
}
</style>
三网网络延迟
TCP-Ping IPv4 地址
- 深圳电信:202.96.134.133
- 深圳移动:120.196.165.24
- 深圳联通:210.21.196.6