public interface Alert extends Externalizable
An alert
has a unique alert id (getAlertUid()
) and is fired by one of the alert beans, and
aggregated with other alerts of the same (getGroupUid()
).
An unresolved alert
is an alert that indicates a problematic situation that needs attention. An alert bean can
trigger more than one unresolved alert if the problem persists (with the same alert group UID). A
resolved alert (AlertStatus.RESOLVED
) is an alert that indicates that the
situation was resolved, or is no longer in need of attention.
Each alert has descriptive
information of the alert (getDescription()
), data and time of the alert (getTimestamp()
), and configuration properties together with runtime properties the alert bean
exposes (see getProperties()
).
The source component for which the alert was
triggered (see getComponentUid()
) can be correlated to one of the components using the
Admin.getGridComponentByUID(String)
if this component has not yet been terminated.
Modifier and Type | Method and Description |
---|---|
String |
getAlertUid() |
String |
getComponentDescription()
Description of the component: host - [Host IP] GSC - [GSC Name] on [Host
IP] LUS - LUS on [Host IP] GSM - GSM on [Host IP] PU instance -
[PU name] [Partition number] [Primary or backup] on [Host IP] Mirror - Mirror on
[Host IP] EDS - EDS on [Host IP]
|
String |
getComponentUid() |
Map<String,String> |
getConfig() |
String |
getDescription() |
String |
getGroupUid() |
String |
getName() |
Map<String,String> |
getProperties() |
AlertSeverity |
getSeverity() |
AlertStatus |
getStatus() |
long |
getTimestamp() |
readExternal, writeExternal
String getName()
String getDescription()
long getTimestamp()
AlertSeverity getSeverity()
AlertStatus getStatus()
String getAlertUid()
String getGroupUid()
String getComponentUid()
String getComponentDescription()
getComponentUid()
.Map<String,String> getConfig()
Copyright © GigaSpaces.