Usage
$ check_drbd [-d ] [-e expect] [-p proc] [-r role] [-o states] [-w states] [-c states] [--debug]
Options:
-d STRING [default: 0. Example: 0,1,2 ]
-p STRING [default: /proc/drbd. Use '-' for stdin]
-e STRING [Must be this connected state. Example: Connected]
-r STRING [Must be this node state. Example: Primary]
-o STRING [Change value to OK. Example: StandAlone]
-w STRING [Change value to WARNING. Example: SyncingAll]
-c STRING [Change value to CRITICAL. Example: Inconsistent,WFConnection]
Example Output
DRBD OK: Device 0 Primary Connected Consistent
Notes:
- Version 0.5.x should work with DRBD 0.6, 0.7, 8.0, 8.2, and 8.3
- All versions require perl.
- If DRBD is running on remote host, plugin may require check_by_ssh, nrpe, or nsca.
- Use the --debug option to understand what effects the options have.
ChangeLog:
0.5.3
- Added support for drbd 8.3 connection states
0.5.2
- Added support for drbd 8.2 connection states (patch from Norbert Tretkowski)
0.5.1
- Added support for monitoring multiple devices at once
0.5
- Added support for drbd 8.0
0.4.1
- Code cleanup, no new features
Copyright
by Brandon Lee Poyner bpoyner / CCAC.edu