Service control, diagnostics and logs

The installer provides the management command /usr/local/bin/netzmonitor. Run management actions with sudo or as root:

Command

Purpose

sudo netzmonitor status

Display the service status.

sudo netzmonitor start

Start the service.

sudo netzmonitor stop

Shut down the service gracefully.

sudo netzmonitor restart

Restart the service, for example after changing the port, certificate or concurrency.

sudo netzmonitor doctor

Display Python and SQLite information, detect the required SSH/SNMP/database clients and run a local ping self-test.

sudo netzmonitor password

Reset the password for admin.

sudo netzmonitor backup /root/sicherung.sqlite3

Create a consistent database backup in a new file.

The application log is located at /var/lib/netzmonitor/netzmonitor.log. With systemd, further information is available in the journal:

sudo journalctl -u netzmonitor -n 50

When running without systemd, you can also find startup information in /var/lib/netzmonitor/startup.log. Use Check error in the interface and these logs to distinguish a monitoring server error from an actual fault in the target system. The doctor command is a basic local test and does not replace a connection test to a specific target device.