Use the fmadm list-alert command to list all alerts that have not been cleared. See Displaying Information About Alerts for example output from the fmadm list-alert command.
Similar to faults, alerts can be repaired implicitly or explicitly. Because alerts do not necessarily represent problems that must be fixed, alerts are said to be cleared rather than repaired. An alert that is cleared is no longer active and no longer displayed by the fmadm list or fmadm list-alert commands.
An implicit clear occurs when the alert clears with no administrative action. For example, an alert that an FRU has been removed is automatically cleared by an alert that the same FRU has been added, and an alert that an FRU has been added automatically clears after 30 seconds.
Use the fmadm clear command to notify the Fault Manager that the specified alert event should be cleared.
The fmadm clear command requires one of the following arguments:
fmadm clear UUID | location | class@resource
For the following examples, refer to the output from the fmadm list-alert command in Displaying Information About Alerts.
In the following example, UUID is the value of the EVENT-ID field at the top of the fmadm list-alert output:
# fmadm clear a7921317-8ba2-4ab1-b1c3-b0fb8822c000
In the following example, location is the value of the FRU Location field in the fmadm list-alert output. This location is also referred to as the label.
# fmadm clear "/SUN-Storage-J4410.1051QCQ08A/HDD13" fmadm: cleared alert /SUN-Storage-J4410.1051QCQ08A/HDD13
In the following example, class is the value of the Problem class field of the suspect, and resource is the value of the resource FMRI, which can be found using the fmdump -vu UUID command as shown in Example 3, fmdump Fault Reports. Note that the command line in this example is artificially divided to improve readability.
# fmadm clear alert.oracle.solaris.fmd.fru-monitor.fru-remove@ hc://:chassis-mfg=SUN:chassis-name=SUN-Storage-J4410:chassis-part=3753659 :chassis-serial=1051QCQ08A:fru-mfg=SEAGATE:fru-name=ST330057SSUN300G :fru-serial=001117G1LC1S--------6SJ1LC1S:fru-part=SEAGATE-ST330057SSUN300G :fru-revision=0B25:devid=id1,sd@n5000c5003a26c717/ses-enclosure=0/bay=13/disk=0