Solstice Disk Suite Plugin?

Tony Green tgreen at bandcamp.tv
Tue Dec 7 23:57:54 CET 2004


On 08/12/2004, at 9:02 AM, Emmett Hogan wrote:
> Hi Folks,
>
> I was just wondering if anyone had an SDS plug-in for checking 
> stripe/mirror status? (Using metastat)
>
> I thought I had seen on someplace, but I cannot find it anymore. :-(
>
> Just thought I'd ask before "rolling my own".

Put this in snmpd.conf
exec .1.3.6.1.4.1.4502.1.10 w /usr/local/script/raid-check


This is the command definition :
# 'check_raid' command definition
define command{
     command_name    check_raid
     command_line    /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ 
-C $ARG1$ -o .1.3.6.1.4.1.4502.1.10.100.1 -c 0 -l "RAID Failure"
     }


This is the service definition:
define service{
     use                     generic-service
     host_name               nts-p
     service_description     RAID
     contact_groups          ops
     check_command           check_raid!public
}


This is the script:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raid-check
Type: application/octet-stream
Size: 3814 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041208/5550d59d/attachment.obj>
-------------- next part --------------


Works on Sol9 and has hooks in for all raid types on our machines 
(hardware - 3500's and software)

you can also run 'raid-check -v' from the CLI to get a verbose output 
as to why it failed etc.

HTH

Greeno
-- 
Tony Green <tgreen at bandcamp.tv>


More information about the Users mailing list