ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a disk monitoring script?

SOLVED
Go to solution
kamalnathan
Occasional Advisor

How to write a disk monitoring script?

I have a HP Proliant DL360 server with internal disk array(2 disk).
Its RAID. and its hotswapable.

Qustion : How to monitor/report Hard disk failure? I'm using LFS(Linux).
I want to write a error message in the log file, in the event of disk failure. what is the simple method to do it?

I'm using open source LFS(Linux) operating system.

unfortunatly /var/log/messages is not getting any updates on disk failure. can I upgrade the cciss.c file for it and recompile the kernel?

Or is there is any utlities that i can install to monitor the disk failure?

Will HP Insight (SIM) will help or can i able to get a monitoring program?

Thanks.
3 REPLIES
renarios
Trusted Contributor

Re: How to write a disk monitoring script?

Hi Nathan,

I've just read an article about mdadm. Take a look at on http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html. Maybe it's the answer to your question.

Cheers,

Renarios
Nothing is more successfull as failure
Stan Hubble
Advisor

Re: How to write a disk monitoring script?

for the above link to work you need to remove the period at the end of the url.

renarios
Trusted Contributor
Solution

Re: How to write a disk monitoring script?

Sorry for my typo. Here it is again:

http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html

Cheers,
Renarios
Nothing is more successfull as failure