Перейти к содержимому

qBittorrent (beta)

Это содержимое пока не доступно на вашем языке.

Whether qBittorrent is downloading: torrents in error or stalled, lost connectivity (closed port, VPN down), speeds, the free space of the download folder and the number of torrents by state.

From the DumbMonit server (or its relay agent) to the device:

PortProtocolPurpose
8080TCPWebUI (HTTP, default)
443TCPOnly with the https scheme behind a reverse proxy

The failure worth watching: torrents in error that never resume. A full disk or a moved folder puts torrents in error or missing-files state; qBittorrent keeps running and shows them only in its list. A closed port or a dropped VPN (“firewalled” or “disconnected”) stops everything just as quietly.

All metrics are prefixed dumbmonit_qbittorrent_.

MetricWhatLabels
version_infovalue 1version
connected1 while qBittorrent is connected to the network (0 when firewalled or disconnected)status
download_speed_bytes, upload_speed_bytescurrent speeds, bytes per second
free_space_bytesfree space where qBittorrent saves its downloads
dht_nodesDHT nodes known
torrents_totaltorrents in the list
torrentstorrents per groupstate (downloading, stalled_download, seeding, paused, queued, checking, error, other)
torrents_erroredtorrents in error or with missing files
torrent_errorvalue 1 for each torrent in error, at most 32torrent, state

The built-in rules that apply: qBittorrent torrents in error, qBittorrent disconnected, qBittorrent free space low, plus Monitor unreachable.

Give DumbMonit access to qBittorrent’s WebUI

Section titled “Give DumbMonit access to qBittorrent’s WebUI”
  1. In qBittorrent, open Tools → Options → Web UI and tick Web User Interface (Remote control).

  2. Under Authentication, set a user name and password named as follows, or allow DumbMonit’s address in the whitelisted IP subnets bypass.

    dumbmonit
  3. In DumbMonit, enter qBittorrent’s address and that user name and password, or choose No authentication for a bypassed address.

CredentialFields
User name / passwordThe WebUI account. DumbMonit opens a session with POST /api/v2/auth/login and reuses the cookie for the probe.
No authenticationFor an address qBittorrent lets in without a login (the whitelisted subnets option).

Address: a host name (qbittorrent.lan), host:port, or a full URL with a path prefix. Options: protocol (HTTP by default), port (8080), certificate check and request timeout (15 s).