Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am hoping to run a program when a hard drive fails. I am using Mega-raid software on a windows server 2008.

I was thinking of using windows event viewer, to run a program when an event comes in on the application log.

However I am unsure what event ID is used.

Or if there is an easier way please help.

Thanks in advance.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can look up all the megaRAID event ID's in the MegaRAID user's manual from LSI.

Specifically check out Appendix A: Events and Messages.

I'd suspect you mainly want to monitor events 249-252 to get changes in the status of the RAID (Optimal vs. Degraded vs. Offline), but there are several others that you also may want to monitor that can help identify problems with the RAID/volumes/drives before a full failure.

Additionally, you can get the MegaRAID Storage Manager from LSI, and it can be setup to email you on RAID events (amongst other things, like SNMP).

share|improve this answer
    
thank you very much for this. I have set up a scheduled task with three triggers looking at the application Log, Hope this does the trick! –  Leigh Jun 11 '13 at 10:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.