Monitorare Forgejo / Gitea con DumbMonit
Health check, repository, user and organisation counts, scheduled tasks running on time, Actions runners online or not.
DocumentazioneSito ufficiale: Forgejo
Le descrizioni sono in inglese, come nel prodotto. Le etichette della pagina seguono la tua lingua.
Cosa controlla DumbMonit
Forgejo and Gitea share the same REST API, so DumbMonit reads both with one collector: whether the instance answers, its health check, how many repositories, accounts and organisations it holds, whether its scheduled tasks (repository checks, cleanups, the update checker) still run on their own interval, and whether its Actions runners are online.
Uso tipico. Forge: health check, scheduled tasks, Actions runners, repository/account counts
Esempi
- Forgejo
- Gitea
Come si collega
Cosa serve
- Access tokenA site administrator's access token, sent as "Authorization: token …". A token without admin rights still works, but only the version and the account's own repositories are read.
Porte di rete da aprire
3000/TCPAPI (HTTP, default)443/TCPOnly with the https scheme behind a reverse proxy
Passaggi di configurazione: Create an access token in Forgejo or Gitea
On a site administrator account, open avatar → Settings → Applications → Generate New Token.
Name it as follows and tick only the scopes listed below.
dumbmonitGenerate the token and copy it: Forgejo shows it only once.
In DumbMonit, enter the server's address and paste the token.
Attenzione. Forgejo and Gitea have no read-only administrator role, so the token can do whatever its account can: use a dedicated bot account, not your own.