PERC Monitoring Script
Philippe Michel
Philippe.Michel at thalesgroup.com
Thu Dec 4 11:06:30 CST 2008
> I have a PE850 with a PERC4 in it running Ubuntu which is attached to a
> PowerVault 220S. I'm wondering if anyone on this list has a shell
> script (perl, bash, etc) that can be run as cron job that will send me
> an e-mail when it detects something wrong with the either PERC, the PV
> or one of its arrays.
>
> I'm not a coding guru which is why I'm asking. Forgive me if this has
> been asked before.
An appropriate Nagios plugin could be a good start. For instance,
check_dell_omreport.pl available at www.nagiosexchange.org outputs
something like :
OK: Controller0=Ok/Ready [ Battery0=Ok/Ready Vdisk0=Ok/Ready
[1:0=Ok/Online 1:1=Ok/Online 1:2=Ok/Online ] Vdisk1=Ok/Ready
[1:3=Ok/Online 1:4=Ok/Online 1:5=Ok/Online 1:8=Ok/Online ] ]
Controller1=Ok/Ready [ Battery1=Ok/Ready Vdisk0=Ok/Ready
[0:0:0=Ok/Online 0:0:1=Ok/Online ] ]
You could add a wrapper to mail you this output if the first characters
are not "OK:" or just setup Nagios to get this and a lot more.
More information about the Linux-PowerEdge
mailing list