check_icp

check_icp

This simple Nagios plugin checks the status of an ICP SATA RAID controller ICP9047MA. Written in shell scripting language (bash) Script was developed for ICP Vortex RAID Adapter ICP9047MA, BIOS 11564, ISM v5.1. Tested under Linux with one controller and one logical RAID5 device. Optional Hot-Spare check is restricted to one dedicated disk.

Usage:

check_icp < CONTROLLER# > < LD# > < CHANNEL# > < HOTSPARE# >

Example:

check_icp 1 1 0 3

CHANNEL# and HOTSPARE# are only needed for Hot-Spare check. Script must run as root (or with sudo).

Requirements:

ICP Storage Manager (ISM) must be installed including arcconf tool. Also arcconf must be run as root or with sudo.