Nextcloud-Exporter | scripts-underground Nextcloud-Exporter | scripts-underground
⚠️
WARNING: Executing scripts from the internet without understanding what they do can be dangerous. This is an open frontier — always review the code before running it.

Nextcloud-Exporter

addon monitoring
Runs inside an existing LXC container
bash -c "$(curl -fsSL https://raw.githubusercontent.com/scripts-underground/proxmox/main/scripts/addon/nextcloud-exporter.sh)"

Nextcloud-Exporter

Nextcloud-Exporter is a Prometheus exporter that scrapes the Nextcloud serverinfo API — storage, shares, users, apps and update information — and exposes the metrics over HTTP for scraping by Prometheus.

Notes

  • Runs inside an existing LXC container (Debian/Ubuntu only) — typically installed inside the Nextcloud LXC itself
  • Prompts for the Nextcloud URL and an auth token (or username/password) during install
  • Config: /etc/nextcloud-exporter.env — Metrics: http://<container-ip>:9205/metrics
  • Update with: update-nextcloud-exporter — Uninstall with: uninstall-nextcloud-exporter
  • Re-running the installer offers update/uninstall via the framework guard