Class CpuUtilizationAlert
java.lang.Object
org.openspaces.admin.alert.alerts.AbstractAlert
org.openspaces.admin.alert.alerts.CpuUtilizationAlert
- All Implemented Interfaces:
Externalizable,Serializable,Alert
A CPU Utilization alert fired upon triggered CPU thresholds. The alert is raised when CPU crosses
a 'high' threshold for a specified period of time. The alert is resolved when CPU crosses a 'low'
threshold for a specified period of time.
These thresholds can be configured by using the
CpuUtilizationAlertConfigurer.
This alert will be received on the call to AlertTriggeredEventListener.alertTriggered(Alert) for registered listeners.
- Since:
- 8.0
- Author:
- Moran Avigdor
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe component UID is equivalent toOperatingSystem.getUid()The CPU utilization reading when this alert was fired.The host address of the machine that this alert corresponds to.The host name of the machine that this alert corresponds to.Methods inherited from class org.openspaces.admin.alert.alerts.AbstractAlert
getAlert, getAlertUid, getComponentDescription, getConfig, getDescription, getGroupUid, getName, getProperties, getSeverity, getStatus, getTimestamp, readExternal, toString, writeExternal
-
Field Details
-
HOST_ADDRESS
- See Also:
-
HOST_NAME
- See Also:
-
CPU_UTILIZATION
- See Also:
-
-
Constructor Details
-
CpuUtilizationAlert
public CpuUtilizationAlert()required by java.io.Externalizable -
CpuUtilizationAlert
-
-
Method Details
-
getComponentUid
The component UID is equivalent toOperatingSystem.getUid()- Specified by:
getComponentUidin interfaceAlert- Overrides:
getComponentUidin classAbstractAlert- Returns:
- Component UID - the unique identifier of the component associated with the alert.
-
getHostAddress
The host address of the machine that this alert corresponds to.- Returns:
- the host address; may be
null.
-
getHostName
The host name of the machine that this alert corresponds to.- Returns:
- the host name; may be
null.
-
getCpuUtilization
The CPU utilization reading when this alert was fired.- Returns:
- the CPU utilization; may be
null.
-