PERC Monitoring Script
Ricardo Stella
stella at rider.edu
Thu Dec 4 14:18:05 CST 2008
These scripts are originally built for BigBrother, so that's another
option for you to monitor your boxes.
Martin Flemming wrote:
> Of if you use Hobbit/Xymon ....
>
>
> Date: Thu, 13 Nov 2008 16:16:25 +0100 (CET)
> From: Martin Flemming <martin.flemming at desy.de>
> To: "linux-poweredge at dell.com" <linux-poweredge at dell.com>
> Subject: RE: OMSA on RHEL
>
>
> For hobbit is pretty easy ...
>
> i've got two client-side scripts
>
> bb-omsa-raid.sh
> openmanage.sh
>
> you find them under www.deadcat.net
> e.g.
> http://www.deadcat.net/viewfile.php?fileid=500
>
> which do have to enable in
>
> [openmanage]
> ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
> CMD /usr/lib/hobbit/client/ext/openmanage.sh
> LOGFILE $HOBBITCLIENTHOME/logs/openmanage
> INTERVAL 5m
>
> [raid]
> ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
> CMD /usr/lib/hobbit/client/ext/bb-omsa-raid.sh
> LOGFILE $HOBBITCLIENTHOME/logs/bb-omsa-raid
> INTERVAL 5m
>
> cheers,
> martin
>
> On Thu, 4 Dec 2008, Philippe Michel wrote:
>
>
>>> 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.
>>
>> _______________________________________________
>> Linux-PowerEdge mailing list
>> Linux-PowerEdge at dell.com
>> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
>> Please read the FAQ at http://lists.us.dell.com/faq
>>
>>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
>
--
°(((=((===°°°(((===========================================
More information about the Linux-PowerEdge
mailing list