drbd-reactor.prometheus(5)

DRBD-REACTOR.PROMETHEUS(5) File Formats Manual DRBD-REACTOR.PROMETHEUS(5)

NAME

drbd-reactor.prometheusdrbd-reactor prometheus plugin

DESCRIPTION

drbd-reactor.prometheus is the prometheus plugin for drbd-reactor(1).

This plugin provides a prometheus compatible http endpoint serving DRBD metrics.

METRICS

  • drbdreactor_up gauge: Boolean indicating whether or not drbdreactor is running. Always 1
  • drbd_kernel_version gauge: Version of the loaded DRBD kernel module and DRBD utils
  • drbd_connection_apinflight_bytes gauge: Number of application requests in flight (not completed)
  • drbd_connection_congested gauge: Boolean whether the TCP send buffer of the data connection is more than 80% filled
  • drbd_connection_rsinflight_bytes gauge: Number of resync requests in flight
  • drbd_connection_state gauge: DRBD connection state
  • drbd_device_alsuspended gauge: Boolean whether the Activity-Log is suspended
  • drbd_device_alwrites_total counter: Number of updates of the activity log area of the meta data
  • drbd_device_bmwrites_total counter: Number of updates of the bitmap area of the meta data
  • drbd_device_client gauge: Boolean whether this device is a client (i.e., intentional diskless)
  • drbd_device_lowerpending gauge: Number of open requests to the local I/O sub-system issued by DRBD
  • drbd_device_quorum gauge: Boolean if this device has DRBD quorum
  • drbd_device_read_bytes_total counter: Net data read from local hard disk
  • drbd_device_size_bytes gauge: Device size in bytes
  • drbd_device_state gauge: DRBD device state
  • drbd_device_unintentionaldiskless gauge: Boolean whether the devices is unintentional diskless
  • drbd_device_upperpending gauge: Number of block I/O requests forwarded to DRBD, but not yet answered by DRBD.
  • drbd_device_written_bytes_total counter: Net data written on local disk
  • drbd_peerdevice_outofsync_bytes gauge: Number of bytes currently out of sync with this peer, according to the bitmap that DRBD has for it
  • drbd_peerdevice_sent_bytes: Number of bytes currently sent to this peer
  • drbd_peerdevice_received_bytes: Number of bytes currently received from this peer
  • drbd_resource_maypromote gauge: Boolean whether the resource may be promoted to Primary
  • drbd_resource_promotionscore gauge: The promotion score (higher is better) for the resource
  • drbd_resource_resources gauge: Number of resources
  • drbd_resource_role gauge: DRBD role of the resource
  • drbd_resource_suspended gauge: Boolean whether the resource is suspended

EXAMPLES

Configure an exporter also generating enums on the standard port.

[[log]]
level = "debug"

# Enable a prometheus exporter
[[prometheus]]
enums = true

AUTHORS

The drbd-reactor(1) program was written by the following authors:
Roland Kammerer <rck@linbit.com>
Moritz Wanzenböck <moritz.wanzenboeck@linbit.com>

July 22, 2026 Linux 6.12.85-6.12-alt1