www/gatus: proposal for a Gatus plugin
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- php, sqlite, yaml
- 领域
- devops, infrastructure
调研方向
Review the linked draft at https://github.com/larizzo/plugins/tree/gatus/www/gatus and the existing plugin patterns it follows, then check how www/gatus is added to the ports build in opnsense/tools. The requested scope is service controls, a services widget, and setup of /var/db/gatus for SQLite storage, with endpoints and listener settings left in /usr/local/etc/gatus.yaml. Done means the plugin is integrated and those behaviors work; the proposer says they will maintain it.
由索引模型根据 Issue 内容生成。
描述
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
There is no plugin for active health checks of LAN services with a status page and
history. Monit covers some of it but its checks are hard to set up from the GUI and it
keeps no history. Running the checks on the firewall has the advantage that they keep
working when the server that hosts everything else is down.
Describe the solution you'd like
A small plugin for Gatus (https://gatus.io), which is already in ports as www/gatus
(amd64 and aarch64). It would only manage the service: enable/disable, log level, an
opt-in to run as root for ICMP checks, the services widget, and a setup script that
creates /var/db/gatus for SQLite storage.
Endpoints, alerting and the web listener stay in /usr/local/etc/gatus.yaml, as Gatus
documents them, rather than being modelled in the GUI, similar to CrowdSec's YAML files
and Caddy's caddy.d imports. The page notes that the file is not part of the
configuration backup.
It needs www/gatus added to the ports build in opnsense/tools.
Draft, tested on 26.7.7 (amd64): https://github.com/larizzo/plugins/tree/gatus/www/gatus.
I will maintain the plugin.
Describe alternatives you've considered
- Uptime Kuma: Node.js and a much bigger footprint, not in ports.
- Monit: no history or status page.
Additional context
Tested on 26.7.7 (amd64) with the FreeBSD package. As www, HTTP/TCP/DNS checks work but
ICMP checks fail (no raw sockets), as the port's pkg-message says, hence the opt-in.
Gatus binds 0.0.0.0:8080 by default, which the CrowdSec LAPI also uses, so the page
points users to the web section of the YAML.
- 主要语言
- PHP
- 星标
- 1.2k
- 派生
- 926
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 25
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
opnsense/plugins 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
opnsense/plugins#5976 · 1 条评论 ·
维护者通常 1 天内回复
-
net/haproxy: IPv6 literal in real server "Source address" generates an invalid `source` directive未关闭incomplete
难度 2/5 1-3 小时 新手友好度 68/100
opnsense/plugins#5973 · 1 条评论 ·
维护者通常 1 天内回复
-
[dns/ddclient] Support hiding unused standard fields per service (optional_hiding)可能已有人在做 @bringha1 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120s可能已有人在做 @mhatipog 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 84/100
-
area/import type/enhancement when/later
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
parime/glpi-iso27001-management#1165 ·
维护者通常 1 天内回复
-
15.0
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 82/100