Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .