1758297 Members
2108 Online
108868 Solutions
New Discussion юеВ

Failed disk monitoring

 
Donald C Nelson
Frequent Advisor

Failed disk monitoring

Does anyone have a script that can monitor if a disk has gone bad or in the process of failing? I know that there are monitoring software out there but some small companies do not want to purchase any kind of packages.
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Failed disk monitoring

HP offers EMS (event monitoring service) diagnostics for free:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE


Pete

Pete
Robert Salter
Respected Contributor

Re: Failed disk monitoring

Hi Donald,

Are you using LVM? If so you can run this out of cron;
/usr/sbin/vgdisplay -v |grep -e 'LV Name' -e 'LV Status'| grep -i stale

And then you can redirect the output to a file, email, both, etc.

Cheers,

robert
Time to smoke and joke
Donald C Nelson
Frequent Advisor

Re: Failed disk monitoring

Pete, how would I get EMS to send out the alerts and to where.
Pete Randall
Outstanding Contributor

Re: Failed disk monitoring

EMS emails alerts to root on the machine being monitored.


Pete

Pete
Donald C Nelson
Frequent Advisor

Re: Failed disk monitoring

Thanks Pete