DumbMonit

集成自托管应用

用 DumbMonit 监控 Nextcloud

Maintenance mode left on, a database upgrade waiting, Nextcloud and app updates, active users, free space, PHP OPcache.

文档官方网站:Nextcloud

产品说明为英文,与产品内一致。页面标签使用您的语言。

DumbMonit 监控的内容

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.

典型用途. File sync: maintenance mode, pending upgrade, updates, active users, OPcache

示例

  • Nextcloud Server
  • Nextcloud AIO
  • Nextcloud Hub

连接方式

您需要准备

  • Monitoring token (NC-Token)The serverinfo token set with occ. It opens Nextcloud's statistics and nothing else.

需要开放的网络端口

  • 443/TCPAPI (HTTPS, default)
  • 80/TCPOnly with the http scheme option
设置步骤: Create a monitoring token in Nextcloud
  1. 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 token
  2. If occ says serverinfo is disabled, enable the Monitoring app: profile menu → Apps → Monitoring → Enable.

  3. In DumbMonit, enter the address you open Nextcloud with and paste the token.

注意. Use an address listed in Nextcloud's trusted domains, or Nextcloud refuses the request.