Uptime Kuma

Uptime Kuma 是一款易于使用的自托管监控工具。

功能

  • 监控 HTTP(s) / TCP / HTTP(s) 关键字 / HTTP(s) Json 查询 / Ping / DNS 记录 / 推送 / Steam 游戏服务器 / Docker 容器的正常运行时间
  • 精美、反应灵敏、快速的 UI/UX
  • 通过 Telegram、Discord、Gotify、Slack、Pushover、电子邮件 (SMTP) 和90 多种通知服务发送通知,点击此处查看完整列表
  • 20 秒间隔
  • 多种语言
  • 多个状态页面
  • 将状态页面映射到特定域
  • Ping 图表
  • 证书信息
  • 代理支持
  • 2FA 支持

尝试一下!

演示服务器(地点:德国法兰克福):https://demo.kuma.pet/start-demo

这是一个临时的现场演示,所有数据将在 10 分钟后删除。由Uptime Kuma 赞助商赞助。

Docker 快速启动

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

Uptime Kuma 目前正在 http://0.0.0.0:3001 上运行。

不支持NFS(网络文件系统)等文件系统。请映射到本地目录或卷。

如果您想要限制对本地主机的暴露(而不向其他用户公开端口或使用反向代理),您可以像这样公开端口:

docker run -d --restart=always -p 127.0.0.1:3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

非 Docker

要求:

  • 平台
    • ✅ 主要 Linux 发行版,例如 Debian、Ubuntu、CentOS、Fedora 和 ArchLinux 等。
    • ✅ Windows 10 (x64)、Windows Server 2012 R2 (x64) 或更高版本
  • ❌ Replit/Heroku
  • Node.js 18 / 20.4
  • npm 9
  • Git
  • pm2-用于在后台运行 Uptime Kuma
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup

# Option 1. Try it
node server/server.js

# (Recommended) Option 2. Run in the background using PM2
# Install PM2 if you don't have it:
npm install pm2 -g && pm2 install pm2-logrotate

# Start Server
pm2 start server/server.js --name uptime-kuma

Uptime Kuma 现已在 http://localhost:3001 上运行

更多有用的 PM2 命令

# If you want to see the current console output
pm2 monit

# If you want to add it to startup
pm2 save && pm2 startup
作者:Jeebiz  创建时间:2024-06-12 09:24
最后编辑:Jeebiz  更新时间:2024-08-20 17:39