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_raid

Current Version
4.0.2
Last Release Date
2016-03-14
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
151750
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!
Check all RAID volumes (hardware and software) that can be identified.

Probably compatible with all Nagios derivatives, just haven't tested on them

Download latest version from project homepage.
Some checks require root permission, that is acomplished using sudo.

If you call 'check_raid -S' as root it will attempt to add the required lines to the sudoers file in order for itself to work.

Supports:
- 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

Visit github page for latest version, including reporting bugs and to send pull requests!
Reviews (5)
I use this but i get this erros:

Unparsed[ Total cache memory: 96 MiB] at /usr/lib/nagios/plugins/check_cciss-1.12 line 1872, line 12.
Unparsed[ Cache Ratio: 50% Read / 50% Write] at /usr/lib/nagios/plugins/check_cciss-1.12 line 1872, line 13.
Unparsed[ Total cache memory: 96 MiB] at /usr/lib/nagios/plugins/check_cciss-1.12 line 1872, line 32.
Unparsed[ Cache Ratio: 50% Read / 50% Write] at /usr/lib/nagios/plugins/check_cciss-1.12 line 1872, line 33.
WARNING: cciss:[/dev/sda(Smart Array E200i): Volume 0 (RAID 0): OK, Drives(2): 1I-1-1,1I-1-2=OK, Cache: WriteCache:DISABLED ReadMem:48 MiB WriteMem:48 MiB]; hpacucli:[Smart Array E200i[OK, Cache: Temporarily Disabled, Battery: Failed (Replace Batteries/Capacitors)]: Array A(OK)[LUN1:OK]]

i hope can help
I am getting below error while running this plugin.

[root@nagios bin]# ./check_raid.pl
Can't locate App/Monitoring/Plugin/CheckRaid.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./check_raid.pl line 10.
BEGIN failed--compilation aborted at ./check_raid.pl line 10.
byhblicy, June 26, 2013
How to solve this problem?
[root@CLIENT01 libexec]# ./check_raid.pl
OK: megacli:[Volumes(1): NoName:Optimal; Devices(6): 12,13,10,09,11,08=Online]
[root@CLIENT01 libexec]# ./check_nrpe -H 172.30.0.46 -c check_raid.pl
OK: megacli:[Volumes(0): ; Devices(0): ]
Owner's reply

submit via github tracker!

I have patches for this plugin. How can I get them to the maintainer? charleshbaker A7 gmail D07 com
Owner's reply

submit via github tracker!

i took the base of this plugin code and added more raids support, rewritten with perl style too.

however i am not able to test all configurations so it could be broken (report problems back to me):

the code can be tracked from:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_raid/check_raid