Flume Agent Health Tests

Flume Agent File Descriptors

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

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

Flume Agent Host Health

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

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

Flume Agent Process Status

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

Short Name: Process Status

Property Name

Description

Template Name

Default Value

Unit

Agent Process Health Test

Enables the health test that the Agent's process state is consistent with the role configuration

flume_agent_scm_health_enabled

true

no unit

Flume Agent Swap Memory Usage

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

Flume Agent Unexpected Exits

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

Flume Agent 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 Agent, a misconfiguration of the Agent, or a problem with the Cloudera Manager Agent. Consult the Cloudera
Manager Agent logs and the logs of the Agent for more detail. If the test failure message indicates a communication problem, the Cloudera Manager Agent's HTTP requests to the Agent's web server are
failing or timing out. If the test's failure message indicates an unexpected response, the Agent'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 Agent monitoring setting.

Short Name: Web Server Status

Property Name

Description

Template Name

Default Value

Unit

Web Metric Collection

Enables the health test that the Cloudera Manager Agent can successfully contact and gather metrics from the web
server.

agent_web_metric_collection_enabled

true

no unit

Web Metric Collection Duration

The health test thresholds on the duration of the metrics request to the web server.

If this documentation includes code, including but not limited to, code examples, Cloudera makes this available to you under the terms of the Apache License, Version 2.0, including any required
notices. A copy of the Apache License Version 2.0 can be found here.