Check manual page of drbdMay 02. 2012
drbdAuthor: Lars Michelsen License: GPL Distribution: official part of Check_MK Supported Agents: Linux This check uses the contents of /proc/drbd as sent by the Check_MK linux
agent. The check analyzes the "Connection State", "Disk State" and "Roles of
the single nodes.
The check takes a snapshot from the state during the inventory and compares
it with the state during the checks. If some of the values differ from the
inventorized values a CRITICAL state will be shown.
ItemThe name of the DRBD device e.g. drbd0
Check parameters
Performance dataNone. InventoryEach configured DRBD device will result in one service during inventory. All
devices with the connection state "Unconfigured" are skipped.
Configuration variablesNone. Examplesmain.mk
# Set expected "cs" to "Connected", first node to primary and second to secondary
# and both nodes to up-to-date.
checks += [
( 'srvnd01', 'drbd', 'drbd0',
( [ 'Primary', 'Secondary' ], [ 'UpToDate', 'UpToDate' ] ) )
]
|
| |||||||||||||||||||||