1
0
Fork 0

feat(gatus): add gatus application with version 5.34.0

- add version-specific directory with config, docker-compose, and data files
- add main application data.yml with metadata and multi-language descriptions
- add logo image for the application
- add README files in both Chinese and English with configuration and usage instructions
This commit is contained in:
pooneyy 2026-01-13 22:03:06 +08:00
parent 00ef969156
commit c2c0604caf
No known key found for this signature in database
7 changed files with 165 additions and 0 deletions

View File

@ -0,0 +1,50 @@
storage:
type: sqlite
path: /data/data.db
metrics: true
ui:
title: Health Dashboard ǀ Gatus
description: System Monitoring Dashboard
header: Example Company
link: https://example.org
buttons:
- name: Home
link: https://example.org
endpoints:
- name: back-end
group: core
url: "https://example.org/"
interval: 5m
conditions:
- "[STATUS] == 200"
- "[CERTIFICATE_EXPIRATION] > 48h"
- name: monitoring
group: internal
url: "https://example.org/"
interval: 5m
conditions:
- "[STATUS] == 200"
- name: nas
group: internal
url: "https://example.org/"
interval: 5m
conditions:
- "[STATUS] == 200"
- name: example-dns-query
url: "8.8.8.8" # Address of the DNS server to use
interval: 5m
dns:
query-name: "example.com"
query-type: "A"
conditions:
- "[BODY] == 93.184.215.14"
- "[DNS_RCODE] == NOERROR"
- name: icmp-ping
url: "icmp://example.org"
interval: 1m
conditions:
- "[CONNECTED] == true"

View File

@ -0,0 +1,30 @@
additionalProperties:
formFields:
- default: 8080
envKey: PANEL_APP_PORT_HTTP
labelZh: HTTP 端口
labelEn: HTTP Port
label:
zh: HTTP 端口
zh-Hant: HTTP 連接埠
en: HTTP Port
ja: HTTP ポート
ko: HTTP 포트
ms: Port HTTP
pt-br: Porta HTTP
ru: HTTP Порт
tr: HTTP Portu
description:
zh: "设置应用的 HTTP 访问端口,有效范围: 1-65535"
zh-Hant: "設定應用程式的 HTTP 存取連接埠,有效範圍: 1-65535"
en: "Set the HTTP access port for the application, valid range: 1-65535"
ja: "アプリケーションのHTTPアクセスポートを設定します。有効範囲: 1-65535"
ko: "애플리케이션의 HTTP 접근 포트를 설정합니다. 유효 범위: 1-65535"
ms: "Tetapkan port akses HTTP untuk aplikasi, julat sah: 1-65535"
pt-br: "Defina a porta de acesso HTTP para o aplicativo, intervalo válido: 1-65535"
ru: "Установите порт доступа HTTP для приложения, допустимый диапазон: 1-65535"
tr: "Uygulama için HTTP erişim portunu ayarlayın, geçerli aralık: 1-65535"
required: true
type: number
edit: true
rule: paramPort

View File

@ -0,0 +1,16 @@
services:
gatus:
image: twinproduction/gatus:v5.34.0
ports:
- ${PANEL_APP_PORT_HTTP}:8080
volumes:
- ./config:/config
- ./data:/data/
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
labels:
createdBy: Apps
networks:
1panel-network:
external: true

19
apps/gatus/README.md Normal file
View File

@ -0,0 +1,19 @@
## 配置和使用说明
安装完后须前往 `应用安装目录/config/config.yml` 完成配置。配置文件参考[文档](https://github.com/TwiN/gatus#configuration)
## 产品介绍
Gatus 是一款面向开发者的健康状态仪表板,支持通过 HTTP、ICMP、TCP 甚至 DNS 查询来监测您的服务,并能基于状态码、响应时间、证书有效期、响应内容等多项指标设定条件来评估查询结果。
每项健康检查均可配置告警功能,支持 Slack、Teams、PagerDuty、Discord、Twilio 等多种通知渠道。
## 主要功能
- **高度灵活的健康检查条件**:尽管在某些场景下仅检查响应状态便已足够,但 Gatus 更进一步,允许您对响应时间、响应体乃至 IP 地址设置条件。
- **能够利用 Gatus 进行用户验收测试**:得益于前述功能,您可以借助该应用创建自动化的用户验收测试。
- **配置极为简便**:不仅配置设计尽可能易于阅读,添加新服务或新监控端点也极其简单。
- **告警功能**:虽然美观的可视化仪表板有助于追踪应用状态,但您可能并不希望整日紧盯屏幕。因此,系统已内置支持通过 Slack、Mattermost、Messagebird、PagerDuty、Twilio、Google Chat 和 Teams 发送通知,并支持根据需求配置自定义告警提供商——无论是选用其他服务商,还是接入用于管理自动回滚的自定义应用。
- **低占用**:与大多数 Go 应用程序一样,该应用所需的资源占用极小。
- **徽章**
- **深色模式**

19
apps/gatus/README_en.md Normal file
View File

@ -0,0 +1,19 @@
## Configuration and Usage Instructions
After installation, you must go to `application installation directory/config/config.yml` to complete the configuration. For the configuration file, refer to the [documentation](https://github.com/TwiN/gatus#configuration).
## Introduction
Gatus is a developer-oriented health dashboard that gives you the ability to monitor your services using HTTP, ICMP, TCP, and even DNS queries as well as evaluate the result of said queries by using a list of conditions on values like the status code, the response time, the certificate expiration, the body and many others.
The icing on top is that each of these health checks can be paired with alerting via Slack, Teams, PagerDuty, Discord, Twilio and many more.
## Features
- **Highly flexible health check conditions**: While checking the response status may be enough for some use cases, Gatus goes much further and allows you to add conditions on the response time, the response body and even the IP address.
- **Ability to use Gatus for user acceptance tests**: Thanks to the point above, you can leverage this application to create automated user acceptance tests.
- **Very easy to configure**: Not only is the configuration designed to be as readable as possible, it's also extremely easy to add a new service or a new endpoint to monitor.
- **Alerting**: While having a pretty visual dashboard is useful to keep track of the state of your application(s), you probably don't want to stare at it all day. Thus, notifications via Slack, Mattermost, Messagebird, PagerDuty, Twilio, Google chat and Teams are supported out of the box with the ability to configure a custom alerting provider for any needs you might have, whether it be a different provider or a custom application that manages automated rollbacks.
- **Low resource consumption**: As with most Go applications, the resource footprint that this application requires is negligibly small.
- **Badges**
- **Dark mode**

31
apps/gatus/data.yml Normal file
View File

@ -0,0 +1,31 @@
name: Gatus
tags:
- 实用工具
title: 面向开发者的健康监控面板
description: 面向开发者的健康监控面板
additionalProperties:
key: gatus
name: Gatus
tags:
- Tool
shortDescZh: 面向开发者的健康监控面板
shortDescEn: Developer-oriented health dashboard
description:
en: Developer-oriented health dashboard
zh: 面向开发者的健康监控面板
zh-Hant: 面向開發者的健康監控面板
ja: 開発者向けヘルスダッシュボード
ms: Papan pemuka kesihatan berorientasikan pembangun
pt-br: Painel de saúde orientado a desenvolvedores
ru: Информационная панель состояния для разработчиков
ko: 개발자 지향 헬스 대시보드
type: website
crossVersionUpdate: true
limit: 0
website: https://gatus.io
github: https://github.com/TwiN/gatus
document: https://gatus.io/docs
architectures:
- amd64
- arm64
- arm/v7

BIN
apps/gatus/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB