public class AlertHostSummaryDTO extends Object
AlertHostSummaryDTO
is used to return a summary of the alerts
affecting the hosts of the cluster. This will contain an aggregate of the
number of hosts that have alerts in various alert states.
The sum of all of the values of this DTO should equal the total number of
hosts.
If a host or a host's components are in maintenance mode, then any alerts
triggered will not be reported here. Instead, they will be counted as
AlertState.OK
.Constructor and Description |
---|
AlertHostSummaryDTO(int okCount,
int unknownCount,
int warningCount,
int criticalCount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCriticalCount() |
int |
getOkCount() |
int |
getUnknownCount() |
int |
getWarningCount() |
Copyright © 2022 Apache Software Foundation. All rights reserved.