+

Search Tips   |   Advanced Search

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.

action

A unique configuration ID.

Name Type Default Description
action

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.

cluster

A unique configuration ID.

Name Type Default Description
clusterName string
Required
The name of a cluster of servers to be monitored.
id string A unique configuration ID.

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.

Name Type Default Description
heapSizePercentage int
Min: 1
Max: 99
85 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.

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.

Name Type Default Description
timeoutPercentage int
Min: 1
Max: 99
85 The threshold value for the percentage of the request timeout by the server.

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.

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.

host

A unique configuration ID.

Name Type Default Description
hostName string
Required
The name of a host whose servers are to be monitored.
id string A unique configuration ID.

memoryLeak

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

server

A unique configuration ID.

Name Type Default Description
hostName string
Required
The host name of the server to be monitored.
id string A unique configuration ID.
serverName string
Required
The name of the server to be monitored.
wlpUsrDirectory Path to a directory
Required
The absolute WLP usr directory of the server to be monitored.