Health Policy (healthPolicy)
Defines a condition for a server to be considered healthy and actions to take when the condition is not met.
Name Type Default Description enabled boolean true Indicates whether the health policy is enabled. id string A unique configuration ID.
A unique configuration ID.
Name Type Default Description action
- enterMaintenanceMode
- exitMaintenanceMode
- generateHeapDump
- generateThreadDump
- restartServer
An action to take when the health condition breaches.
enterMaintenanceMode
Put the server into maintenance mode
exitMaintenanceMode
Remove the server from maintenance mode
generateHeapDump
Generate a heap dump of the server.
generateThreadDump
Generate a thread dump of the server.
restartServer
Restart the server.id string A unique configuration ID.
A unique configuration ID.
Name Type Default Description clusterName string
RequiredThe name of a cluster of servers to be monitored. id string A unique configuration ID.
Detects if a JVM's heap size has grown over a configured percentage of the maximum heap size for a configured period of time.
Name Type Default Description heapSizePercentage int
Min: 1
Max: 9985 The threshold value for the percentage of the max heap size used by the server. timePeriod A period of time with millisecond precision 5m The time period over which the heap size must be over threshold before action is taken. The value can be from 1 millisecond to 1 day. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), seconds (s), or milliseconds (ms). For example, specify 500 milliseconds as 500ms. We can include multiple values in a single entry. For example, 1s500ms is equivalent to 1.5 seconds.
Detects when the request timeout of a server, as measured by a web server that is enabled for Intelligent Management, exceeds the configured threshold value.
Name Type Default Description timeoutPercentage int
Min: 1
Max: 9985 The threshold value for the percentage of the request timeout by the server.
Detects when the average response time of requests to a server, as measured by a web server that is enabled for Intelligent Management, exceeds the configured threshold value.
Name Type Default Description responseTime A period of time with millisecond precision 10s The average time that requests can take prior to corrective action. The value can be from 1 millisecond to 1 hour. Specify a positive integer followed by a unit of time, which can be hours (h), minutes (m), seconds (s), or milliseconds (ms). For example, specify 500 milliseconds as 500ms. We can include multiple values in a single entry. For example, 1s500ms is equivalent to 1.5 seconds.
A unique configuration ID.
Name Type Default Description hostName string
RequiredThe name of a host whose servers are to be monitored. id string A unique configuration ID.
Detects if a JVMs heap size after the GC keeps growing.
A unique configuration ID.
Name Type Default Description hostName string
RequiredThe host name of the server to be monitored. id string A unique configuration ID. serverName string
RequiredThe name of the server to be monitored. wlpUsrDirectory Path to a directory
RequiredThe absolute WLP usr directory of the server to be monitored.