all-in-one/community-containers/nextcloud-exporter/readme.md
Benjamin Brahmer 71090c045f add note about install
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2025-09-10 18:40:17 +02:00

1.5 KiB

Prometheus Nextcloud Exporter

A Prometheus exporter that collects metrics from your Nextcloud instance for monitoring and alerting.

How to install

See the Community Containers documentation for instructions on how to install this in your Nextcloud All-in-One setup.

What it does

  • Monitors user activity, file counts, and storage usage
  • Tracks system health, database size, and app statistics
  • Exposes metrics on port 9205 for Prometheus to scrape
  • Uses Nextcloud's serverinfo API with secure token authentication

Use cases

  • Monitor Nextcloud performance and capacity
  • Set up alerts for system issues or resource limits
  • Create dashboards showing usage trends and system health
  • Track active users and storage growth over time

Prometheus Configuration

Add this to your prometheus.yml to scrape the exporter:

scrape_configs:
  - job_name: 'nextcloud'
    scrape_interval: 90s
    static_configs:
      - targets: ['your-nextcloud-domain.com:9205']
    metrics_path: /metrics
    scheme: http

Replace your-nextcloud-domain.com with your actual Nextcloud domain.

Notes

Repository

https://github.com/xperimental/nextcloud-exporter

Maintainer

https://github.com/grotax