一些图片:
#Selfhosted #Selfhosting #Gatus #Monitor #Horizon #Pixelfed #Laravel #Mastodon
@dbtechyt
Recently I have found: Gatus
A simple status page solution. There are many like this out there but Gatus is very simple to configure (just a YAML configuration file) and it's very easy to deploy, just a Docker image or single Go binary, as you like.
It offers a nice status page without any bloat but still let you configure checks beyond classic ping or HTTP get checks.
One of such extras is checking the expiration time of a TLS certificate sent by the monitored HTTP server. Very handy and super easy to configure.
(The developer provides Gatus as FOSS but also as a hosted solution in case you do not want to deploy it yourself)
#Gatus #SelfHosting #Status-Page #uptime
更改- name 和 - group 都会导致对应的持久化记录清空,所以谨慎修改名称和分组,否则需要到数据库内修改
不优雅的做法:
在vscode修改config.yaml
rm config/config.yaml
复制vscode内config.yaml内容
nano config/config.yaml
docker restart gatus
优雅的做法:
在SFTP文件管理页面/home/jay/docker/monitor/gatus/config/,(第一次选择打开方式vscode)双击文件,完成编辑,Ctrl S保存,回到termius的SFTP页面,点击Upload,回到终端,docker restart gatus
优雅在哪?()
1. 搭建配置Gatus、Grafana、Prometheus ✅
Gatus抓取网站健康信息&展示 https://gatus.feddit.social
Prometheus存储Gatus检查结果 https://prometheus.feddit.social/query?g0.expr=gatus_results_total&g0.show_tree=0&g0.tab=graph&g0.range_input=1h&g0.res_type=auto&g0.res_density=medium&g0.display_mode=lines&g0.show_exemplars=0 (访客可见)
主要参考https://github.com/TwiN/gatus/tree/master/.examples/docker-compose-grafana-prometheus 和https://github.com/TwiN/gatus/tree/master/.examples/docker-compose-sqlite-storage
实现Gatus、Grafana、Prometheus协同和数据持久化
Switched my uptime monitoring tool from UptimeKuma to gatus. It is much more light weight yet gets the job done. It also requires setting up endpoints using config file instead of the UI which can be a pro or con based on your tastes. I like it so far.
It is using less than 10MiB memory compared to UptimeKuma which was using about 150MiB.
Project page: https://github.com/TwiN/gatus
Wow, the latest (or recent - I hadn't updated in a while...) version of #Gatus is fantastic!
External Endpoint heartbeat alerts (effectively the same as other software's "Push" monitors), which I've been a requester for, are awesome!
But what I didn't realize is that Gatus now supports #SSHTunnelling ! I can remove my clunky self-written rubbish from production and put everything in Gatus - fantastic!