rev191 snapshot: check_raid_gmirror.pl.in
$ 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
04/10/07: Init
Contact Me: bseklecki@collaborativefusion.com