Also see my Megaraid2 2.4 kernel plugin.
Also see my Perc3/Di plugin.
This driver uses LSI's megarc program to monitor RAID array status under a 2.6 Linux kernel. It has been tested on Dell Poweredge systems and Sunfire v40z systems running RHEL4.This script parses the output of megarc, which is a powerful RAID management program for Linux.
check_megaraid26.pl [2005-12-30]
This program must run with root privileges. One option is to use sudo for the nagios/nrpe user to read from the proc filesystem. Another option is to use a suid C program like this one to wrap your script in.