ZooKeeper Server Health Tests
ZooKeeper Server Connection Count
This is a ZooKeeper Server role-level health test that checks that a moving average of the ZooKeeper Server's connection count does not exceed some value. A failure of this health test indicates a high connection load on the ZooKeeper Server. This test can be configured using the ZooKeeper Server Connection Count Thresholds and ZooKeeper Server Connection Count Monitoring Period ZooKeeper Server monitoring settings.
Short Name: Connection Count
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
ZooKeeper Server Connection Count Monitoring Period | The period to review when computing the moving average of the connection count. Specified in minutes. | zookeeper_server_connection_count_window | 3 | MINUTES |
ZooKeeper Server Connection Count Thresholds | The health check thresholds of the weighted average size of the ZooKeeper Server connection count over a recent period. See ZooKeeper Server Connection Count Monitoring Period. | zookeeper_server_connection_count_thresholds | critical:never, warning:never | no unit |
ZooKeeper Server Data Directory Free Space
This is a Server health test that checks that the filesystem containing the Data Directory of this Server has sufficient free space. See the Data Directory description on the Server configuration page for more information on this directory type. This test can be configured using the Data Directory Free Space Monitoring Absolute Thresholds and Data Directory Free Space Monitoring Percentage Thresholds Server monitoring settings.
Short Name: Data Directory Free Space
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Data Directory Free Space Monitoring Absolute Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's The disk location that ZooKeeper will use to store its database snapshots.. | zookeeper_server_data_directory_free_space_absolute_thresholds | critical:5.36870912E9, warning:1.073741824E10 | BYTES |
Data Directory Free Space Monitoring Percentage Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's The disk location that ZooKeeper will use to store its database snapshots.. Specified as a percentage of the capacity on that filesystem. This setting is not used if a The disk location that ZooKeeper will use to store its database snapshots. Free Space Monitoring Absolute Thresholds setting is configured. | zookeeper_server_data_directory_free_space_percentage_thresholds | critical:never, warning:never | PERCENT |
ZooKeeper Server File Descriptors
This Server health test checks that the number of file descriptors used does not rise above some percentage of the Server file descriptor limit. A failure of this health test may indicate a bug in either Hadoop or Cloudera Manager. Contact Cloudera support. This test can be configured using the File Descriptor Monitoring Thresholds Server monitoring setting.
Short Name: File Descriptors
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
File Descriptor Monitoring Thresholds | The health test thresholds of the number of file descriptors used. Specified as a percentage of file descriptor limit. | zookeeper_server_fd_thresholds | critical:70.0, warning:50.0 | PERCENT |
ZooKeeper Server GC Duration
This Server health test checks that the Server is not spending too much time performing Java garbage collection. It checks that no more than some percentage of recent time is spent performing Java garbage collection. A failure of this health test may indicate a capacity planning problem or misconfiguration of the Server. This test can be configured using the Garbage Collection Duration Thresholds and Garbage Collection Duration Monitoring Period Server monitoring settings.
Short Name: GC Duration
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Garbage Collection Duration Monitoring Period | The period to review when computing the moving average of garbage collection time. | zookeeper_server_gc_duration_window | 5 | MINUTES |
Garbage Collection Duration Thresholds | The health test thresholds for the weighted average time spent in Java garbage collection. Specified as a percentage of elapsed wall clock time. | zookeeper_server_gc_duration_thresholds | critical:60.0, warning:30.0 | no unit |
ZooKeeper Server Heap Dump Directory Free Space
This Server health test checks that the filesystem containing the heap dump directory of this Server has sufficient free space. This test can be configured using the Heap Dump Directory Free Space Monitoring Absolute Thresholds and Heap Dump Directory Free Space Monitoring Percentage Thresholds Server monitoring settings.
Short Name: Heap Dump Directory Free Space
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Heap Dump Directory Free Space Monitoring Absolute Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's heap dump directory. | heap_dump_directory_free_space_absolute_thresholds | critical:5.36870912E9, warning:1.073741824E10 | BYTES |
Heap Dump Directory Free Space Monitoring Percentage Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's heap dump directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Heap Dump Directory Free Space Monitoring Absolute Thresholds setting is configured. | heap_dump_directory_free_space_percentage_thresholds | critical:never, warning:never | PERCENT |
ZooKeeper Server Host Health
This Server health test factors in the health of the host upon which the Server is running. A failure of this test means that the host running the Server is experiencing some problem. See that host's status page for more details.This test can be enabled or disabled using the Server Host Health Test Server monitoring setting.
Short Name: Host Health
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Server Host Health Test | When computing the overall Server health, consider the host's health. | zookeeper_server_host_health_enabled | true | no unit |
ZooKeeper Server Log Directory Free Space
This Server health test checks that the filesystem containing the log directory of this Server has sufficient free space. This test can be configured using the Log Directory Free Space Monitoring Absolute Thresholds and Log Directory Free Space Monitoring Percentage Thresholds Server monitoring settings.
Short Name: Log Directory Free Space
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Log Directory Free Space Monitoring Absolute Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's log directory. | log_directory_free_space_absolute_thresholds | critical:5.36870912E9, warning:1.073741824E10 | BYTES |
Log Directory Free Space Monitoring Percentage Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's log directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Log Directory Free Space Monitoring Absolute Thresholds setting is configured. | log_directory_free_space_percentage_thresholds | critical:never, warning:never | PERCENT |
ZooKeeper Server Maximum Request Latency
This is a ZooKeeper server health test that checks that the ratio of the maximum request latency to the maximum client-negotiable session timeout does not exceed some value. Note that the maximum client-negotiable timeout need not be the actual session timeout used by a client but is the upper bound of such client session timeouts. As a result, this test being in "Good" health does not preclude clients from experiencing timeouts based on the particular session timeout value they have negotiated with the server. A failure of this health test likely indicates a high load on the ZooKeeper Server. This test can be configured using the Maximum Latency Monitoring Thresholds ZooKeeper Server monitoring setting.
Short Name: Maximum Request Latency
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Maximum Latency Monitoring Thresholds | The percentage thresholds of the ratio of the maximum request latency to the maximum client-negotiable session timeout since the server was started. | zookeeper_server_max_latency_thresholds | critical:100.0, warning:75.0 | PERCENT |
ZooKeeper Server Outstanding Requests
This is a ZooKeeper Server role-level health test that checks that a moving average of the size of the ZooKeeper Server's outstanding requests does not exceed some value. Outstanding requests are the number of queued requests in the server. It increases when the server is under load and is receiving more sustained requests than it can process. A failure of this health test indicates a high connection load on the ZooKeeper Server. This test can be configured using the ZooKeeper Server Outstanding Requests Thresholds and ZooKeeper Server Outstanding Requests Monitoring Period ZooKeeper Server monitoring settings.
Short Name: Outstanding Requests
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
ZooKeeper Server Outstanding Requests Monitoring Period | The period to review when computing the moving average of the outstanding requests queue size. Specified in minutes. | zookeeper_server_outstanding_requests_window | 3 | MINUTES |
ZooKeeper Server Outstanding Requests Thresholds | The health check thresholds of the weighted average size of the ZooKeeper Server outstanding requests queue over a recent period. See ZooKeeper Server Outstanding Requests Monitoring Period. | zookeeper_server_outstanding_requests_thresholds | critical:never, warning:never | no unit |
ZooKeeper Server Process Status
This Server health test checks that the Cloudera Manager Agent on the Server host is heart beating correctly and that the process associated with the Server role is in the state expected by Cloudera Manager. A failure of this health test may indicate a problem with the Server process, a lack of connectivity to the Cloudera Manager Agent on the Server host, or a problem with the Cloudera Manager Agent. This test can fail either because the Server has crashed or because the Server will not start or stop in a timely fashion. Check the Server logs for more details. If the test fails because of problems communicating with the Cloudera Manager Agent on the Server host, check the status of the Cloudera Manager Agent by running /etc/init.d/cloudera-scm-agent status on the Server host, or look in the Cloudera Manager Agent logs on the Server host for more details. This test can be enabled or disabled using the Server Process Health Test Server monitoring setting.
Short Name: Process Status
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Server Process Health Test | Enables the health test that the Server's process state is consistent with the role configuration | zookeeper_server_scm_health_enabled | true | no unit |
ZooKeeper Server Quorum Membership
This is a ZooKeeper server role-level health test to verify that the server is part of a quorum. This check is disabled if the ZooKeeper Server is in standalone mode. The test returns "Concerning" health as long as the quorum membership status for the ZooKeeper Server was determined within the detection window and it is in leader election. The test returns "Bad" health if the ZooKeeper Server is not part of a quorum or the quorum status of the ZooKeeper Server could not be determined for the entire detection window. A failure of this health test may indicate a communication problem between this ZooKeeper Server and the rest of its peers or between the Cloudera Manager Service Monitor and the ZooKeeper Server. Check the ZooKeeper Server and Cloudera Manager Service Monitor logs for additional information. This test can be enabled or disabled using the Enable the Quorum Membership Check ZooKeeper Server monitoring setting. In addition, the Quorum Membership Detection Window setting can be used to adjust the time that the Cloudera Manager Service Monitor has to detect the ZooKeeper Server quorum membership status before this health test fails.
Short Name: Quorum Membership
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Enable the Quorum Membership Check | Enables the quorum membership check for this ZooKeeper Server. | zookeeper_server_quorum_membership_enabled | true | no unit |
Quorum Membership Detection Window | The tolerance window that will be used in the detection of a ZooKeeper server's membership in a quorum. Specified in minutes. | zookeeper_server_quorum_membership_detection_window | 3 | MINUTES |
ZooKeeper Server Swap Memory Usage
This Server health test checks the amount of swap memory in use by the role. A failure of this health test may indicate that your machine is overloaded. This test can be configured using the Process Swap Memory Thresholds monitoring settings.
Short Name: Swap Memory Usage
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Process Swap Memory Thresholds | The health test thresholds on the swap memory usage of the process. | process_swap_memory_thresholds | critical:never, warning:any | BYTES |
ZooKeeper Server Transaction Log Directory Free Space
This is a Server health test that checks that the filesystem containing the Transaction Log Directory of this Server has sufficient free space. See the Transaction Log Directory description on the Server configuration page for more information on this directory type. This test can be configured using the Transaction Log Directory Free Space Monitoring Absolute Thresholds and Transaction Log Directory Free Space Monitoring Percentage Thresholds Server monitoring settings.
Short Name: Transaction Log Directory Free Space
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Transaction Log Directory Free Space Monitoring Absolute Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's The disk location that ZooKeeper will use to store its transaction logs.. | zookeeper_server_data_log_directory_free_space_absolute_thresholds | critical:5.36870912E9, warning:1.073741824E10 | BYTES |
Transaction Log Directory Free Space Monitoring Percentage Thresholds | The health test thresholds for monitoring of free space on the filesystem that contains this role's The disk location that ZooKeeper will use to store its transaction logs.. Specified as a percentage of the capacity on that filesystem. This setting is not used if a The disk location that ZooKeeper will use to store its transaction logs. Free Space Monitoring Absolute Thresholds setting is configured. | zookeeper_server_data_log_directory_free_space_percentage_thresholds | critical:never, warning:never | PERCENT |
ZooKeeper Server Unexpected Exits
This Server health test checks that the Server has not recently exited unexpectedly. The test returns "Bad" health if the number of unexpected exits goes above a critical threshold. For example, if this test is configured with a critical threshold of 1, this test would return "Good" health if there have been no unexpected exits recently. If there has been 1 or more unexpected exits recently, this test would return "Bad" health. This test can be configured using the Unexpected Exits Thresholds and Unexpected Exits Monitoring Period Server monitoring settings.
Short Name: Unexpected Exits
Property Name | Description | Template Name | Default Value | Unit |
---|---|---|---|---|
Unexpected Exits Monitoring Period | The period to review when computing unexpected exits. | unexpected_exits_window | 5 | MINUTES |
Unexpected Exits Thresholds | The health test thresholds for unexpected exits encountered within a recent period specified by the unexpected_exits_window configuration for the role. | unexpected_exits_thresholds | critical:any, warning:never | no unit |