Skip to content

henkjan/nagios-plugin-check_raid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nagios plugin to check current server's RAID status

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

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 sudo.

Plugin can install neccessary sudo rules (detected for your system), when invoked with -S argument.
You need to be root user and it will add required lines to the sudoers file.

Currently supported:
- Adaptec AAC RAID via aaccli or afacli or arcconf
- AIX software RAID via lsvg
- HP/Compaq Smart Array via cciss_vol_status (hpsa supported too)
- HP Smart Array Controllers and MSA Controllers via hpacucli (see
  hapacucli readme)
- HP Smart Array (MSA1500) via serial line
- Linux 3ware SATA RAID via tw_cli
- Linux DPT/I2O hardware RAID controllers via /proc/scsi/dpt_i2o
- Linux GDTH hardware RAID controllers via /proc/scsi/gdth
- Linux LSI MegaRaid hardware RAID via CmdTool2
- Linux LSI MegaRaid hardware RAID via megarc
- Linux LSI MegaRaid hardware RAID via /proc/megaraid
- Linux MegaIDE hardware RAID controllers via /proc/megaide
- Linux MPT hardware RAID via mpt-status
- Linux software RAID (md) via /proc/mdstat
- 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: http://cciss.sourceforge.net/
- megarc-scsi: LSI Logic MegaRAID Linux MegaRC utility
- mpt-status: LSI RAID controllers - http://www.red-bean.com/~mab/mpt-status.html
- tw_cli-9xxx: 3ware SATA RAID controllers - http://www.3ware.com/

Project entry in Nagios Exchange: http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/RAID-Controllers/check_raid/details

License: GPL v2

(c) 2004-2006 Steve Shipway, university of auckland,
http://www.steveshipway.org/forum/viewtopic.php?f=20&t=417&p=3211
Steve Shipway Thanks M Carmier for megaraid section.

(c) 2009-2012 Elan Ruusamäe <[email protected]>

About

Nagios plugin to check current server's RAID status

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%