Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_drbd9

Current Version
0.1
Last Release Date
2016-06-12
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
BSD
Hits
8114
Files:
FileDescription
check_drbd9.plcheck_drbd9.pl v0.1
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin checks the status of DRBD resources for DRBD 8.4 and DRBD 9.0. The plugin can be configured to provide just the short text output or with long text output which provides details of affected resources.
The plugins use output from the following sources to determine the state of each resource:

* `/proc/drbd`
* `/usr/sbin/drbdadm sh-resources`
* `/usr/sbin/drbdetup events2 --now --statistics`

The following DRBD kernel modules and DRBD Utilities are supported:

* DRBD 8.4.x with drbd-utils 8.9.6
* DRBD 9.0.x with drbd-utils 8.9.6

This package contains the following scripts:

* check_drbd9.pl - Checks DRBD resources
* dump_drbd9.pl - Dumps resource information (used for debugging)

Script Usage
------------

Usage: check_drbd9.pl [OPTIONS]
OPTIONS:
-c state change specified state to 'CRIT' (example: SyncSource)
-d pattern same as '-i', added for compatibility with legacy check
-h display this message
-i pattern include resource name or resource minor (default: all)
-l list all OKAY resources after CRIT and WARN resources
-o state change specified state to 'OKAY' (example: StandAlone)
-q quiet output
-t display terse details
-V display program version
-v display OKAY resources
-w state change specified state to 'WARN' (example: SyncTarget)
-x pattern exclude resource name or resource minor