IntegraçõesAplicativos auto-hospedados
Monitorar Nextcloud com o DumbMonit
Maintenance mode left on, a database upgrade waiting, Nextcloud and app updates, active users, free space, PHP OPcache.
DocumentaçãoSite oficial: Nextcloud
As descrições estão em inglês, como no produto. Os rótulos da página seguem o seu idioma.
O que o DumbMonit vigia
Whether Nextcloud is serving or stuck: maintenance mode left on, a database upgrade waiting after an update, Nextcloud and app updates, active users, free space for the data directory, the database size, and PHP's OPcache.
Uso típico. File sync: maintenance mode, pending upgrade, updates, active users, OPcache
Exemplos
- Nextcloud Server
- Nextcloud AIO
- Nextcloud Hub
Como se conecta
O que você precisa
- Monitoring token (NC-Token)The serverinfo token set with occ. It opens Nextcloud's statistics and nothing else.
Portas de rede a abrir
443/TCPAPI (HTTPS, default)80/TCPOnly with the http scheme option
Etapas de configuração: Create a monitoring token in Nextcloud
On the Nextcloud server, set a random token with occ as the web server user (in Docker: docker exec -u www-data, then the container name).
php occ config:app:set serverinfo token --value "$(openssl rand -hex 32)" php occ config:app:get serverinfo tokenIf occ says serverinfo is disabled, enable the Monitoring app: profile menu → Apps → Monitoring → Enable.
In DumbMonit, enter the address you open Nextcloud with and paste the token.
Atenção. Use an address listed in Nextcloud's trusted domains, or Nextcloud refuses the request.