网站监控服务——Uptime Kuma

2024-02-07 网络技术 0

1.前言

这篇文章将介绍一个网站监控程序uptime-kuma,简单易用,而且功能强大!

项目地址:https://github.com/louislam/uptime-kuma

特点:

  • Monitoring uptime for HTTP(s) / TCP / HTTP(s) Keyword / Ping / DNS Record / Push / Steam Game Server / Docker Containers

  • Fancy, Reactive, Fast UI/UX

  • Notifications via Telegram, Discord, Gotify, Slack, Pushover, Email (SMTP), and 90+ notification services, click here for the full list

  • 20 second intervals

  • Multi Languages

  • Multiple status pages

  • Map status pages to specific domains

  • Ping chart

  • Certificate info

  • Proxy support

  • 2FA support

2.准备

云服务器

系统为Ubuntu20.04,使用docker安装uptime-kuma。

所以需要先安装好docker。

3.安装docker

snap install docker


4.开始部署

安装完毕docker以后,我们使用官方的一行代码进行部署:

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


部署完毕以后,即可通过IP:3001进行访问。

5.反向代理

如果你用一个域名,可以进行反向代理

6.使用

设置完毕用户名和密码之后,即可进入后台设置需要监控的网站。