Need help with nagios-plugin-check_raid?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

132 Stars 84 Forks 1.2K Commits 35 Opened issues


Nagios/Icinga/Sensu plugin to check current server's RAID status ⛺

Services available


Need anything else?

Contributors list

Nagios/Icinga/Sensu plugin to check current server's RAID status

This plugin checks all RAID volumes (hardware and software) that can be identified.

While written originally for Nagios, it's known to work also with: - Icinga - Sensu

This is supposed to be a general plugin to run via NRPE. It checks for the various RAID systems, and verifies they are working correctly.

Some checks require root permission, that is acomplished using

. Neccessary
rules (detected for your system), can be installed when
is invoked with
argument. You need to be
user and it will add required lines to the sudo config file.

Build Status

Reporting bugs

IMPORTANT: See what is needed for your reported Issue to be worked on or Pull Request to be accepted.

Failure to do so means I will just have to ignore your Issue or Pull Request and will eventually close with no resolution. Currently there are too many of such tickets.


Download latest release from releases page

next step would be to setup system

./ -S

run with

to preview the sudo rules.

Plugin should be ready to be run:


for some RAIDs there's need to install extra tools, see Supported RAIDs


To obtain latest development version of the plugin source, grab tarball or do a git checkout:

git clone --depth=8

to build self-contained fatpacked
, invoke
make pack
, otherwise use
in project root to run the plugin in source tree.


./ [-p|--plugin ] [-w|--warnonly]
./ -S
./ -l

Command line arguments

-V  --version           Print check_raid version
-d                      Produce some debug output
-S  --sudoers           Configure /etc/sudoers file
-W  --warnonly          Don't send CRITICAL status
-p  --plugin   Force the use of selected plugins, comma separated
    --noraid=STATE      Set status as STATE if RAID volumes are not found. Defaults to `UNKNOWN`
    --resync=STATE      Set status as STATE if RAID is in resync state. Defaults to `WARNING`
    --check=STATE       Set status as STATE if RAID is in check state. Defaults to `OK`
    --cache-fail=STATE  Set status as STATE if Write Cache is present but disabled. Defaults to `WARNING`
    --bbulearn=STATE    Return STATE if Backup Battery Unit (BBU) learning cycle is in progress. Defaults to `WARNING`
    --bbu-monitoring    Enable experimental monitoring of the BBU status
-l  --list-plugins      Lists active plugins

can be one of:

Supported RAIDs

Supported RAIDs that can be checked:

  • Adaptec AAC RAID via
  • AIX software RAID via
  • HP/Compaq Smart Array via
    (hpsa supported too)
  • HP Smart Array Controllers and MSA Controllers with
  • HP Smart Array (MSA1500) via serial line
  • Linux 3ware SATA RAID via
  • Linux Device Mapper RAID via dmraid
  • Linux DPT/I2O hardware RAID controllers via
  • Linux GDTH hardware RAID controllers via
  • Linux LSI MegaRaid hardware RAID via CmdTool2
  • Linux LSI MegaRaid hardware RAID via megarc
  • Linux LSI MegaRaid hardware RAID via
  • Linux Device Mapper
  • Linux MegaIDE hardware RAID controllers via
  • Linux MPT hardware RAID via mpt-status
  • Linux software RAID (md) via
  • LSI Logic MegaRAID SAS series via MegaCli
  • LSI MegaRaid via lsraid
  • Serveraid IPS via ipssend
  • Solaris software RAID via metastat

You might need to install following tools depending on your raid:

  • CmdTool2
    : CmdTool2 SAS RAID Management Utility
  • arcconf
    : Adaptec uniform command line interface
  • cciss_vol_status
  • dmraid
    : Device Mapper RAID command line interface
  • megarc-scsi
    : LSI Logic MegaRAID Linux MegaRC utility
  • mpt-status
    : LSI RAID controllers -
  • tw_cli-9xxx
    : 3ware SATA RAID controllers -

Project entry in Nagios Exchange:


License: GPL v2

(c) 2004-2006 Steve Shipway (code up to version 2.1), university of auckland, Steve Shipway Thanks M Carmier for megaraid section.

(c) 2009-2019 Elan Ruusamäe [email protected] (maintainer from version 2.1 and upwards)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.