Service Monitor Health Tests

Service Monitor Audit Pipeline Test

This Service Monitor health test checks that the Auditing for the Service Monitor role is getting processed correctly and is not blocked. A failure of this health test may indicate a problem with the audit pipeline of Service Monitor process. This test can fail either because the Cloudera Audit Server is not accepting audits, or the Cloudera Manager Agent on the Service Monitor 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 Service Monitor 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

Service Monitor Cloudera Manager Descriptor Age

This is a Service Monitor health test that checks if the Cloudera Manager descriptor has been refreshed recently. The Cloudera Manager descriptor is used to pass configuration information from the Cloudera Manager Server to the Service Monitor. If the descriptor becomes stale, Service Monitor operation may be impacted because the Service Monitor will receive information about new hosts, roles, and services, or changes to existing hosts, roles, and services. A stale descriptor usually indicates problems communicating with the Cloudera Manager Server but can also indicate performance problems or a bug. Consult the Service Monitor log and the Cloudera Manager Server log for more information. This test can be configured using the Cloudera Manager Descriptor Age Thresholds Cloudera Manager Service Monitor setting.

Short Name: Cloudera Manager Descriptor Age

Cloudera Manager Descriptor Age Thresholds

Description
The health test thresholds for monitoring the time since the Cloudera Manager descriptor was last refreshed.
Template Name
scm_descriptor_age_thresholds
Default Value
critical:120000.0, warning:60000.0
Unit(s)
no unit

Service Monitor Cloudera Manager Metric Schema Age

This is a Service Monitor health test that checks if the Cloudera Manager metric schema has been refreshed recently. If the metric schema becomes stale, Service Monitor operation may be impacted because the Service Monitor will not receive information about new metrics and changes to existing metrics. A stale metric schema usually indicates problems communicating with the Cloudera Manager Server but can also indicate performance problems or a bug. Consult the Service Monitor log and the Cloudera Manager Server log for more information. This test can be configured using the Cloudera Manager Metric Schema Age Thresholds Cloudera Manager Service Monitor setting.

Short Name: Cloudera Manager Metric Schema Age

Cloudera Manager Metric Schema Age Thresholds

Description
The health test thresholds for monitoring the time since the Cloudera Manager metric schema was last refreshed.
Template Name
metric_schema_age_thresholds_name
Default Value
critical:120000.0, warning:60000.0
Unit(s)
no unit

Service Monitor File Descriptors

This Service Monitor health test checks that the number of file descriptors used does not rise above some percentage of the Service Monitor 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 Service Monitor 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
servicemonitor_fd_thresholds
Default Value
critical:70.0, warning:50.0
Unit(s)
PERCENT

Service Monitor Heap Dump Directory Free Space

This Service Monitor health test checks that the filesystem containing the heap dump directory of this Service Monitor 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 Service Monitor 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

Service Monitor Heap Size

This Service Monitor health test checks that the Service Monitor heap size is adequate for the role. Consider increasing the heap when it is in critical state A failure of this health test may indicate that the Service Monitor is not getting the optimal heap size. Inspect the Service Monitor logs for any pause monitor output, check garbage collection metrics exposed by the Service Monitor and check the number of entities monitored by Service Monitor on Cloudera Management Service Status page This test can be configured using the Heap Size Thresholds Service Monitor monitoring settings.

Short Name: Heap Size

Heap Size Thresholds

Description
The health test thresholds for the heap used.
Template Name
servicemonitor_heap_size_thresholds
Default Value
critical:95.0, warning:90.0
Unit(s)
PERCENT

Service Monitor Host Health

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

Short Name: Host Health

Service Monitor Host Health Test

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

Service Monitor Log Directory Free Space

This Service Monitor health test checks that the filesystem containing the log directory of this Service Monitor 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 Service Monitor 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

Service Monitor Metrics Aggregation Run Duration Test

This is a Service Monitor health test that checks whether Cloudera Manager's aggregation run durations are within the thresholds. If the test fails, Service Monitor operation may be impacted because the Service Monitor is not able to process the metrics fast enough. You can also turn off "Enable Metric Collection" setting for services that generate lot of metrics such as Hbase, Solr etc.. This test can be configured using the Metrics Aggregation Run Duration Thresholds Cloudera Manager Service Monitor setting.

It is safe to increase these thresholds if a Concerning or Bad status is reported often, as long as they remain less than or equal to the aggregation period (one minute by default). If other measures have failed to address the issue satisfactorily, then Cloudera recommends setting the critical threshold to 60 seconds, and the warning threshold to 45 seconds.

Short Name: Metrics Aggregation Run Duration Test

Metrics Aggregation Run Duration Thresholds

Description
The health test thresholds for monitoring the metrics aggregation run duration.
Template Name
aggregation_run_duration_thresholds
Default Value
critical:30000.0, warning:10000.0
Unit(s)
MILLISECONDS

Service Monitor Pause Duration

This Service Monitor health test checks that the Service Monitor threads are not experiencing long scheduling pauses. The test uses a pause monitoring thread in the Service Monitor that tracks scheduling delay by noting if it is run on its requested schedule. If the thread is not run on its requested schedule, the delay is noted and considered pause time. The health test checks that no more than some percentage of recent time is spent paused. A failure of this health test may indicate that the Service Monitor is not getting enough CPU resources, or that it is spending too much time doing garbage collection. Inspect the Service Monitor logs for any pause monitor output and check garbage collection metrics exposed by the Service Monitor. This test can be configured using the Pause Duration Thresholds and Pause Duration Monitoring Period Service Monitor monitoring settings.

Short Name: Pause Duration

Pause Duration Monitoring Period

Description
The period to review when computing the moving average of extra time the pause monitor spent paused.
Template Name
servicemonitor_pause_duration_window
Default Value
5
Unit(s)
MINUTES

Pause Duration Thresholds

Description
The health test thresholds for the weighted average extra time the pause monitor spent paused. Specified as a percentage of elapsed wall clock time.
Template Name
servicemonitor_pause_duration_thresholds
Default Value
critical:60.0, warning:30.0
Unit(s)
no unit

Service Monitor Process Status

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

Short Name: Process Status

Service Monitor Process Health Test

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

Service Monitor Role Pipeline

This Service Monitor health test checks that no messages are being dropped by the role stage of the Service Monitor pipeline. A failure of this health test indicates a problem with the Service Monitor. This may indicate a configuration problem or a bug in the Service Monitor. This test can be configured using the Service Monitor Role Pipeline Monitoring Time Period monitoring setting.

Short Name: Role Pipeline

Service Monitor Role Pipeline Monitoring Thresholds

Description
The health test thresholds for monitoring the Service Monitor role pipeline. This specifies the number of dropped messages that will be tolerated over the monitoring time period.
Template Name
servicemonitor_role_pipeline_thresholds
Default Value
critical:any, warning:never
Unit(s)
no unit

Service Monitor Role Pipeline Monitoring Time Period

Description
The time period over which the Service Monitor role pipeline will be monitored for dropped messages.
Template Name
servicemonitor_role_pipeline_window
Default Value
5
Unit(s)
MINUTES

Service Monitor Service Monitor Storage Directory Free Space

This is a Service Monitor health test that checks that the filesystem containing the Service Monitor Storage Directory of this Service Monitor has sufficient free space. See the Service Monitor Storage Directory description on the Service Monitor configuration page for more information on this directory type. This test can be configured using the Service Monitor Storage Directory Free Space Monitoring Absolute Thresholds and Service Monitor Storage Directory Free Space Monitoring Percentage Thresholds Service Monitor monitoring settings.

Short Name: Service Monitor Storage Directory Free Space

Service Monitor Storage Directory Free Space Monitoring Absolute Thresholds

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

Service Monitor Storage Directory Free Space Monitoring Percentage Thresholds

Description
The health test thresholds for monitoring of free space on the filesystem that contains this role's Service Monitor Storage Directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Service Monitor Storage Directory Free Space Monitoring Absolute Thresholds setting is configured.
Template Name
firehose_storage_directory_free_space_percentage_thresholds
Default Value
critical:never, warning:never
Unit(s)
PERCENT

Service Monitor Swap Memory Usage

This Service Monitor 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

Service Monitor Unexpected Exits

This Service Monitor health test checks that the Service Monitor 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 Service Monitor 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

Service Monitor 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 Service Monitor, a misconfiguration of the Service Monitor, or a problem with the Cloudera Manager Agent. Consult the Cloudera Manager Agent logs and the logs of the Service Monitor for more detail. If the test failure message indicates a communication problem, the Cloudera Manager Agent's HTTP requests to the Service Monitor's web server are failing or timing out. If the test's failure message indicates an unexpected response, the Service Monitor'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 Service Monitor 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
servicemonitor_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
servicemonitor_web_metric_collection_thresholds
Default Value
critical:never, warning:10000.0
Unit(s)
MILLISECONDS