Nagios Check Plugin: FreeBSD Gmirror / geom(4) Software RAID

Nagios Exchange Project Page


rev191 snapshot: check_raid_gmirror.pl.in

Example run (w/ & w/o verbose mode):

$ sudo /path/check_raid_gmirror
Total GMs: 1 | Total GMs Degraded: 0

$ sudo /path/check_raid_gmirror.pl  -v
Total GMs: 1 | Total Members: 2 | Total GMs Degraded: 0 | GM0:(ad8: COMPLETE ad10: COMPLETE)
Run it as an NRPE remote check in nrpe.conf(5):
command[check_raid_gmirror]=/usr/local/cf/check_raid_gmirror.pl $ARG1$
And checkcommands.cfg(5) / services.cfg(5) locally or as NRPE:

define command {
        command_name    check_raid_gmirror_local
        command_line    /usr/local/cf/check_raid_gmirror.pl -v
       }


define command {
        command_name    check_raid_gmirror
        command_line    $USER1$/check_nrpe2 -H $HOSTADDRESS$ -c check_raid_gmirror -a "$ARG1$"
       }

Screenshot in action of Nagios Web Interface

ChangeLog

Contact Me: bseklecki@collaborativefusion.com