Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 13:44:33 +0100
From:      =?ISO-8859-1?Q?S=F8ren_Klintrup?= <soren@klintrup.dk>
To:        freebsd-proliant@freebsd.org
Subject:   HP Proliant SmartArray nagios check
Message-ID:  <45D1B2B1.3070703@klintrup.dk>

next in thread | raw e-mail | index | archive | help
Hi,

I've written a small shellscript, which will check any smartarray volume 
in the system, and output the state of the volumes to stdout, as well as 
exit with non-zero errorlevel in case of degraded/rebuilding raid, as 
per the nagios specs.

The script is easily rewritten to perform other tasks in case of 
problems with the raids, like emailing, snmp-oid, being part of daily 
checks or whatever, we use nagios with nrpe for this purpose.

The script itself runs on a bare FreeBSD without any kind of HP 
support-tools, it uses camcontrol to get the device information.

More information at http://www.klintrup.dk/soren/proliant/

Comments/patches/ideas are welcome :-)

Regards,

Søren Klintrup



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D1B2B1.3070703>