healthPolicy - Health Policy (healthPolicy)

Defines a condition for a server to be considered healthy and actions to take when the condition is not met.

NameTypeDefaultDescription
idstringA unique configuration ID.
enabledbooleantrueIndicates whether the health policy is enabled.

excessiveMemoryUsage

Detects if a JVM's heap size has grown over a configured percentage of the maximum heap size for a configured period of time.

NameTypeDefaultDescription
heapSizePercentageint
Min: 1

Max: 99
85The threshold value for the percentage of the max heap size used by the server.
timePeriodA period of time with millisecond precision5mThe 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. You can include multiple values in a single entry. For example, 1s500ms is equivalent to 1.5 seconds.

excessiveRequestTimeout

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.

NameTypeDefaultDescription
timeoutPercentageint
Min: 1

Max: 99
85The threshold value for the percentage of the request timeout by the server.

memoryLeak

Detects if a JVMs heap size after the GC keeps growing.

excessiveResponseTime

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.

NameTypeDefaultDescription
responseTimeA period of time with millisecond precision10sThe 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. You can include multiple values in a single entry. For example, 1s500ms is equivalent to 1.5 seconds.

cluster

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.
clusterNamestringThe name of a cluster of servers to be monitored.

host

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.
hostNamestringThe name of a host whose servers are to be monitored.

server

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.
hostNamestringThe host name of the server to be monitored.
wlpUsrDirectoryPath to a directoryThe absolute WLP usr directory of the server to be monitored.
serverNamestringThe name of the server to be monitored.

action

A unique configuration ID.

NameTypeDefaultDescription
idstringA unique configuration ID.
action
  • generateHeapDump
  • restartServer
  • generateThreadDump
  • exitMaintenanceMode
  • enterMaintenanceMode
An action to take when the health condition breaches.
generateHeapDump
Generate a heap dump of the server.
restartServer
Restart the server.
generateThreadDump
Generate a thread dump of the server.
exitMaintenanceMode
Remove the server from maintenance mode
enterMaintenanceMode
Put the server into maintenance mode