www/gatus: proposal for a Gatus plugin
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- php, sqlite, yaml
- Ambito
- devops, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PHP
- Stelle
- 1.2k
- Fork
- 926
- Merge medio
- 1g 10h
- PR unite (30g)
- 25
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opnsense/plugins
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
opnsense/plugins#5976 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
net/haproxy: IPv6 literal in real server "Source address" generates an invalid `source` directiveApertaincomplete
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
opnsense/plugins#5973 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[dns/ddclient] Support hiding unused standard fields per service (optional_hiding)Forse già presa @bringha1 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120sForse già presa @mhatipog l’ha presa 9 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di opnsense/plugins
Issue simili
-
15.0
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
open-telemetry/opentelemetry-php-distro#176 ·
I maintainer di solito rispondono entro 2 giorni
-
No Code Attached Yet
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
joomla/joomla-cms#48941 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage Platform(Default)
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug new
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
moodle-an-hochschulen/moodle-theme_boost_union#1500 ·
I maintainer di solito rispondono entro 1 giorno