The Nextcloud Monitor is a lightweight, multi-server desktop application built with Python and PyQt6. It provides a real-time, tabbed dashboard for checking the health and performance metrics of your Nextcloud instance(s).
Key Features
Real-time Monitoring: Get live metrics on CPU load, RAM usage, storage, and activity.
Multi-Server Support: Easily switch between different configured Nextcloud instances.
Theming & UX: Includes Light and Dark themes, and an adjustable data refresh rate.
Detailed Views: Separate tabs for System Health, Storage Overview, and Raw Data (for debugging).
Quick Setup
To run the monitor, follow these three steps. You must have Python 3.x installed.
1. Install Libraries
Install the necessary Python packages using pip:
pip install requests PyQt6
2. Create Configuration File
First on the server you will need to make a serverinfo token
Most installs:
sudo -E -u www-data php occ config:app:set serverinfo token --value f8g4b5n2m1j6h7d2 <---obviously change this to your own password/passphrase
snap install:
nextcloud.occ config:app:set serverinfo token --value f8g4b5n2m1j6h7d2 <---obviously change this to your own password/passphrase
if you need a super secure passphrase you can use gobytego passphrase generator
Create a plain text file named ncmonitor.txt in the application's folder. This file must contain your Nextcloud Base URL and your NC-Token on separate lines:
Example
https://my-private-cloud.org
f8g4b5n2m1j6h7d2
if you have multiple servers you can make multiple files: ncmonitor.server1.txt, ncmonitor_server2.txt, etc. just has to start with "ncmonitor" and end in ".txt"
3. Run the Monitor
Execute the Python script directly, or run the provided Windows executable:
python ncmonitor_qt.py