Master Health Tests

Master Audit Pipeline Test

This Master health test checks that the Auditing for the Master role is getting processed correctly and is not blocked. A failure of this health test may indicate a problem with the audit pipeline of Master process. This test can fail either because the Cloudera Audit Server is not accepting audits, or the Cloudera Manager Agent on the Master host isn't able to send audits because of some network issue. Check the Cloudera Manager Agent logs and Cloudera Audit Server logs for more details. This test can be enabled or disabled using the Navigator Audit Pipeline Health Check Master monitoring setting.

Short Name: Audit Pipeline Test

Monitoring Period For Audit Failures

Description
The period to review when checking if audits are blocked and not getting processed.
Template Name
mgmt_navigator_failure_window
Default Value
20
Unit(s)
MINUTES

Navigator Audit Failure Thresholds

Description
The health test thresholds for failures encountered when monitoring audits within a recent period specified by the mgmt_navigator_failure_window configuration for the role. The value that can be specified for this threshold is the number of bytes of audits data that is left to be sent to audit server.
Template Name
mgmt_navigator_failure_thresholds
Default Value
critical:any, warning:never
Unit(s)
BYTES

Navigator Audit Pipeline Health Check

Description
Enable test of audit events processing pipeline. This will test if audit events are not getting processed by Audit Server for a role that generates audit.
Template Name
mgmt_navigator_status_check_enabled
Default Value
true
Unit(s)
no unit

Master Failed Data Directories

Short Name: Failed Data Directories

Master File Descriptors

This Master health test checks that the number of file descriptors used does not rise above some percentage of the Master 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 Master monitoring setting.

Short Name: File Descriptors

File Descriptor Monitoring Thresholds

Description
The health test thresholds of the number of file descriptors used. Specified as a percentage of file descriptor limit.
Template Name
master_fd_thresholds
Default Value
critical:70.0, warning:50.0
Unit(s)
PERCENT

Master Full Data Directories

Short Name: Full Data Directories

Master GC Duration

This Master health test checks that the Master 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 Master. This test can be configured using the Garbage Collection Duration Thresholds and Garbage Collection Duration Monitoring Period Master monitoring settings.

Short Name: GC Duration

Garbage Collection Duration Monitoring Period

Description
The period to review when computing the moving average of garbage collection time.
Template Name
master_gc_duration_window
Default Value
5
Unit(s)
MINUTES

Garbage Collection Duration Thresholds

Description
The health test thresholds for the weighted average time spent in Java garbage collection. Specified as a percentage of elapsed wall clock time.
Template Name
master_gc_duration_thresholds
Default Value
critical:60.0, warning:30.0
Unit(s)
no unit

Master HBase Master Canary

This is an HBase Master health test that checks that a client can connect to and get basic information from the Master in a reasonable amount of time. The test returns "Bad" health if the connection to or basic queries of the Master fail. The test returns "Concerning" health if the connection attempt or queries do not complete in a reasonable time. A failure of this health test may indicate that the Master is failing to satisfy basic client requests correctly or in a timely fashion. Check the status of the Master, and look in the Master logs for more details. This test can be enabled or disabled using the HBase Master Canary Health Test HBase Master monitoring setting.

Short Name: HBase Master Canary

HBase Master Canary Health Test

Description
Enables the health test that a client can connect to the HBase Master
Template Name
master_canary_health_enabled
Default Value
true
Unit(s)
no unit

Master HBase Regions In Transition Over Threshold

This is an HBase Master health test that checks whether there are regions staying in transition state for a duration longer than the configured threshold in HBase. The test returns "Bad" health if there are regions in transition over the threshold. A failure of this health test may indicate configuration errors or corrupted hfiles. Check the status of the Master, and look into the Master UI for more details. This test can be enabled or disabled using the HBase Regions In Transition Over Threshold Health Test HBase Master monitoring setting.

Short Name: HBase Regions In Transition Over Threshold

HBase Regions In Transition Over Threshold Health Test

Description
Enable the health test that checks if there are regions in transition over the threshold configured in HBase.
Template Name
master_regions_in_transition_health_enabled
Default Value
CDH=[[CDH 5.0.0..CDH 8.0.0)=true]
Unit(s)
no unit

Master Heap Dump Directory Free Space

This Master health test checks that the filesystem containing the heap dump directory of this Master 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 Master monitoring settings.

Short Name: Heap Dump Directory Free Space

Heap Dump Directory Free Space Monitoring Absolute Thresholds

Description
The health test thresholds for monitoring of free space on the filesystem that contains this role's heap dump directory.
Template Name
heap_dump_directory_free_space_absolute_thresholds
Default Value
critical:5.36870912E9, warning:1.073741824E10
Unit(s)
BYTES

Heap Dump Directory Free Space Monitoring Percentage Thresholds

Description
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.
Template Name
heap_dump_directory_free_space_percentage_thresholds
Default Value
critical:never, warning:never
Unit(s)
PERCENT

Master Host Health

This Master health test factors in the health of the host upon which the Master is running. A failure of this test means that the host running the Master is experiencing some problem. See that host's status page for more details.This test can be enabled or disabled using the Master Host Health Test Master monitoring setting.

Short Name: Host Health

Master Host Health Test

Description
When computing the overall Master health, consider the host's health.
Template Name
master_host_health_enabled
Default Value
true
Unit(s)
no unit

Master Log Directory Free Space

This Master health test checks that the filesystem containing the log directory of this Master 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 Master monitoring settings.

Short Name: Log Directory Free Space

Log Directory Free Space Monitoring Absolute Thresholds

Description
The health test thresholds for monitoring of free space on the filesystem that contains this role's log directory.
Template Name
log_directory_free_space_absolute_thresholds
Default Value
critical:5.36870912E9, warning:1.073741824E10
Unit(s)
BYTES

Log Directory Free Space Monitoring Percentage Thresholds

Description
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.
Template Name
log_directory_free_space_percentage_thresholds
Default Value
critical:never, warning:never
Unit(s)
PERCENT

Master Process Status

This Master health test checks that the Cloudera Manager Agent on the Master host is heart beating correctly and that the process associated with the Master role is in the state expected by Cloudera Manager. A failure of this health test may indicate a problem with the Master process, a lack of connectivity to the Cloudera Manager Agent on the Master host, or a problem with the Cloudera Manager Agent. This test can fail either because the Master has crashed or because the Master will not start or stop in a timely fashion. Check the Master logs for more details. If the test fails because of problems communicating with the Cloudera Manager Agent on the Master host, check the status of the Cloudera Manager Agent by running /etc/init.d/cloudera-scm-agent status on the Master host, or look in the Cloudera Manager Agent logs on the Master host for more details. This test can be enabled or disabled using the Master Process Health Test Master monitoring setting.

Short Name: Process Status

Master Process Health Test

Description
Enables the health test that the Master's process state is consistent with the role configuration
Template Name
master_scm_health_enabled
Default Value
true
Unit(s)
no unit

Master Swap Memory Usage

This Master 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

Process Swap Memory Thresholds

Description
The health test thresholds on the swap memory usage of the process. This takes precedence over the host level threshold.
Template Name
process_swap_memory_thresholds
Default Value
critical:never, warning:200.0
Unit(s)
BYTES

Master Swap Memory Usage Rate Beta

This Master health test checks the change of the amount of swap memory usage by the role during a predefined period. A failure of this health test may indicate that your machine is overloaded. This test can be configured using the Swap Memory Usage Rate Thresholds and Swap Memory Usage Rate Window monitoring settings.

Short Name: Swap Memory Usage Rate Beta

Swap Memory Usage Rate Thresholds

Description
The health test thresholds on the swap memory usage rate of the process. Specified as the change of the used swap memory during the predefined period.
Template Name
process_swap_memory_rate_thresholds
Default Value
critical:never, warning:never
Unit(s)
BYTES

Swap Memory Usage Rate Window

Description
The period to review when computing unexpected swap memory usage change of the process.
Template Name
process_swap_memory_rate_window
Default Value
5
Unit(s)
MINUTES

Master Unexpected Exits

This Master health test checks that the Master has not recently exited unexpectedly. The test returns "Bad" health if the number of unexpected exits exceeds a critical threshold. For example, if this test is configured with a critical threshold of 1, this test returns "Good" health if there have been no unexpected exits recently. If 1 or more unexpected exits occured recently, this test returns "Bad" health. The test also indicates whether any of the exits were caused by an OutOfMemory error if the Cloudera Manager Kill When Out of Memory monitoring setting is enabled. This test can be configured using the Unexpected Exits Thresholds and Unexpected Exits Monitoring Period Master monitoring settings.

Short Name: Unexpected Exits

Unexpected Exits Monitoring Period

Description
The period to review when computing unexpected exits.
Template Name
unexpected_exits_window
Default Value
5
Unit(s)
MINUTES

Unexpected Exits Thresholds

Description
The health test thresholds for unexpected exits encountered within a recent period specified by the unexpected_exits_window configuration for the role.
Template Name
unexpected_exits_thresholds
Default Value
critical:any, warning:never
Unit(s)
no unit

Master Web Server Status

This health test checks that the role's web server is responding quickly to requests by the Cloudera Manager Agent, and that the Cloudera Manager Agent can collect metrics from the web server. Failure of this health test may indicate a problem with the web server of the Master, a misconfiguration of the Master, or a problem with the Cloudera Manager Agent. Consult the Cloudera Manager Agent logs and the logs of the Master for more detail. If the test failure message indicates a communication problem, the Cloudera Manager Agent's HTTP requests to the Master's web server are failing or timing out. If the test's failure message indicates an unexpected response, the Master's web server responded to the Cloudera Manager Agent's request, but the response could not be interpreted for some reason. This test can be configured using the Web Metric Collection Master monitoring setting.

Short Name: Web Server Status

Web Metric Collection

Description
Enables the health test that the Cloudera Manager Agent can successfully contact and gather metrics from the web server.
Template Name
master_web_metric_collection_enabled
Default Value
true
Unit(s)
no unit

Web Metric Collection Duration

Description
The health test thresholds on the duration of the metrics request to the web server.
Template Name
master_web_metric_collection_thresholds
Default Value
critical:never, warning:10000.0
Unit(s)
MILLISECONDS