Subscribe

Can Operations Manager alert on assigning a disk when it has been replaced?

It appears that Operations Manager has the following disk events:

Event Name                                    Severity     Class

------------------------------------------- ------------ -----------------

disks:no-spares                               Warning      disk.spares

disks:none-failed                             Normal       disk.failed

disks:none-reconstructing                     Normal       disk.reconstruct

disks:some-failed                             Error        disk.failed

disks:some-reconstructing                     Warning      disk.reconstruct

disks:spares-available                        Normal       disk.spares

I would like to create have an alarm/event that when a failed disk is replaced, it will generate an alarm for the Storage Admin to assign the drive.  What typically happens is that the Storage Admin sometimes forgets to assign a replaced disk.

Can Operations Manager alert on assigning a disk when it has been replaced?

Hello 1jimpross,

     With the dfm version 4.0.2 the event related to disks are the following.

disks:no-spares                               Warning      disk.spares

disks:none-failed                             Normal       disk.failed

disks:none-reconstructing                     Normal       disk.reconstruct

disks:some-failed                             Error        disk.failed

disks:some-reconstructing                     Warning      disk.reconstruct

disks:spares-available                        Normal       disk.spares

user-disk-space-quota-almost-full             Warning      userquota.kbytes

user-disk-space-quota-full                    Error        userquota.kbytes

user-disk-space-quota-ok                      Normal       userquota.kbytes

user-disk-space-soft-limit-exceeded           Warning      userquota.kbytes.soft.limit

user-disk-space-soft-limit-not-exceeded       Normal       userquota.kbytes.soft.limit

I assume you need alarms/events generated when a one(or all) the failed disks get replaced. Now AFAIK there is no such event and DFM doesn't support creating custom events as of now. But I think for your case you don't even need that, it can be worked out without that too.Not exactlybut not too far either. I haven't myself tried it, but it look fine at the moment.

If you create 2 alarms each one for the normal event disks:none-failed and error event disks:some-failed it should cover your case.

1. If some disks ( lets say 2 failed), you'll get alarm due event disks:some-failed and you'll know which are the failed disks.

2. If you replace 1 failed disk with a good one, you'll still be alarmed with the event disks:some-failed, but will only show the 1 failed disk. You can see the history and conclude that the other failed disk got replaced.

3. If both the failed disks have got replaced, the you'll get an alarm for the event disks:none-failed. Now you can confirm that both the failed disks got replaced with the good ones.

You can create the alarms by the command "dfm alarm create" or the web UI.

Let me know if this worked for you. I myself will try it.

warm regards,

Abhishek

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.