支持 HTTP/HTTPS/TCP/PING/DNS 监控,告警可以通过 Telegram,Emial,Discord,Slack 等通知。
特征
- 监控 HTTP(s) / TCP / HTTP(s) 关键字/Ping/DNS 记录/推送/Steam 游戏服务器/Docker 容器的正常运行时间
- 反应式的、快速的 UI/UX
- 通过 Telegram、Discord、Gotify、Slack、Pushover、电子邮件 (SMTP) 和90 多种通知服务进行通知
- 20秒间隔
- 多种语言
- 多个状态页面
- 将状态页面映射到特定域
- 平图
- 证书信息
- 代理支持
- 2FA支持
安装
Docker
Bash
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
非 Docker
所需工具:
- Node.js >= 14
- npm >= 7
- GIT
- pm2 - 用于在后台运行 Uptime Kuma
Bash
# Update your npm to the latest version
npm install npm -g
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 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上运行
# If you want to see the current console output
pm2 monit
# If you want to add it to startup
pm2 save && pm2 startup
如何更新
重新拉取最新的 docker 镜像并创建另一个具有相同卷的容器。
对于使用“How-to-use”命令安装 Uptime Kuma 的,可以通过以下方式更新:
docker pull louislam/uptime-kuma:1
docker stop uptime-kuma
docker rm uptime-kuma
# Default
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
# If you are not using default value
# docker run -d --restart=always -p <YOUR PORT>:3001 -v <YOUR VOLUME>:/app/data --name uptime-kuma louislam/uptime-kuma:1
PS:每发布一个新版本,都需要一些时间来构建docker镜像,如果还没有,请耐心等待。
Docker-Compose
cd "<YOUR docker-compose.yml DIRECTORY>"
docker pull louislam/uptime-kuma:1
docker stop uptime-kuma
docker-compose up -d --force-recreate
非 Docker
cd <uptime-kuma-directory>
# Update from git
git fetch --all
git checkout 1.21.1 --force
# Install dependencies and prebuilt
npm install --production
npm run download-dist
# Restart
pm2 restart uptime-kuma
更多截图
-END-
开源协议:MIT license
开源地址:https://github.com/louislam/uptime-kuma
本文暂时没有评论,来添加一个吧(●'◡'●)