Host Health Tests

Host Health Tests

Host Agent Log Directory

This is a host health test that checks that the filesystem containing the Cloudera Manager Agent's log directory has sufficient free space. This test can be configured using the Cloudera Manager Agent Log Directory Free Space Monitoring Absolute Thresholds and Cloudera Manager Agent Log Directory Free Space Monitoring Percentage Thresholds host monitoring settings.

Short Name: Agent Log Directory

Property NameDescriptionTemplate NameDefault ValueUnit
Cloudera Manager Agent Log Directory Free Space Monitoring Absolute ThresholdsThe health check thresholds for monitoring of free space on the filesystem that contains the Cloudera Manager Agent's log directory.host_agent_log_directory_free_space_absolute_thresholdscritical:1.073741824E9, warning:2.147483648E9BYTES
Cloudera Manager Agent Log Directory Free Space Monitoring Percentage ThresholdsThe health check thresholds for monitoring of free space on the filesystem that contains the Cloudera Manager Agent's log directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Cloudera Manager Agent Log Directory Free Space Monitoring Absolute Thresholds setting is configured.host_agent_log_directory_free_space_percentage_thresholdscritical:never, warning:neverPERCENT

Host Agent Parcel Directory

This is a host health test that checks whether the filesystem containing the Cloudera Manager Agent's parcel directory has sufficient free space. This test can be configured using the Cloudera Manager Agent Parcel Directory Free Space Monitoring Absolute Thresholds and Cloudera Manager Agent Parcel Directory Free Space Monitoring Percentage Thresholds host monitoring settings.

Short Name: Agent Parcel Directory

Property NameDescriptionTemplate NameDefault ValueUnit
Cloudera Manager Agent Parcel Directory Free Space Monitoring Absolute ThresholdsThe health check thresholds for monitoring of free space on the filesystem that contains the Cloudera Manager Agent's parcel directory.host_agent_parcel_directory_free_space_absolute_thresholdscritical:5.36870912E9, warning:1.073741824E10BYTES
Cloudera Manager Agent Parcel Directory Free Space Monitoring Percentage ThresholdsThe health check thresholds for monitoring of free space on the filesystem that contains the Cloudera Manager Agent's parcel directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Cloudera Manager Agent Parcel Directory Free Space Monitoring Absolute Thresholds setting is configured.host_agent_parcel_directory_free_space_percentage_thresholdscritical:never, warning:neverPERCENT

Host Agent Process Directory

This is a host health test that checks that the filesystem containing the Cloudera Manager Agent's process directory has sufficient free space. The process directory contains the configuration files for the processes which the Cloudera Manager Agent starts. This test can be configured using the Cloudera Manager Agent Process Directory Free Space Monitoring Absolute Thresholds and Cloudera Manager Agent Process Directory Free Space Monitoring Percentage Thresholds host monitoring settings.

Short Name: Agent Process Directory

Property NameDescriptionTemplate NameDefault ValueUnit
Cloudera Manager Agent Process Directory Free Space Monitoring Absolute ThresholdsThe health check thresholds for monitoring of free space on the filesystem that contains the Cloudera Manager Agent's process directory.host_agent_process_directory_free_space_absolute_thresholdscritical:1.048576E8, warning:2.097152E8BYTES
Cloudera Manager Agent Process Directory Free Space Monitoring Percentage ThresholdsThe health check thresholds for monitoring of free space on the filesystem that contains the Cloudera Manager Agent's process directory. Specified as a percentage of the capacity on that filesystem. This setting is not used if a Cloudera Manager Agent Process Directory Free Space Monitoring Absolute Thresholds setting is configured.host_agent_process_directory_free_space_percentage_thresholdscritical:never, warning:neverPERCENT

Host Agent Status

This is a host health test that checks that the host's Cloudera Manager Agent is heartbeating correctly to the Cloudera Manager Server, is in contact with the Host Monitor, and has the correct software version. A failure of this health test may indicate a lack of connectivity between the host's Cloudera Manager Agent and the Cloudera Manager Server, a lack of connectivity betwen the host's Cloudera Manager Agent and the Host Monitor, or that the Cloudera Manager Agent or Host Monitor software is out of date. Check the status of the Cloudera Manager Agent by running /etc/init.d/cloudera-scm-agent status on the host, or look in the host's Cloudera Manager Agent logs for more details. If this test reports a software version mismatch between the Cloudera Manager Agent and the Host Monitor, check the version of each component by consulting the appropriate logs or the appropriate status web pages. This test can be enabled or disabled using the Host Process Health Test host configuration setting.

Short Name: Agent Status

Property NameDescriptionTemplate NameDefault ValueUnit
Host Process Health TestEnables the health test that the host's process state is consistent with the role configurationhost_scm_health_enabledtrueno unit

Host Clock Offset

This is a host health test that checks if the host's system clock appears to be out-of-sync with its NTP server(s). The test uses the 'ntpdc -np' command to check that the host is synchronized to an NTP peer and that the absolute value of the host's clock offset from that peer is not too large. If the command fails, NTP is not synchronized to a server, or the host's NTP daemon is not running or cannot be contacted, the test will return "Bad" health. The 'ntpdc -np' output contains a row for each of the host's NTP servers. The row starting with a '*' contains the peer to which the host is currently synchronized. No row starting with a '*' indicates that the host is not currently synchronized. Communication errors and too large an offset between the peer and the host time are examples of conditions that can lead to a host being unsynchronized. Make sure that UDP port 123 is open in any firewall that is in use. Check the system log for ntpd messages related to configuration errors. Use 'ntpdc -c iostat' to verify that packets are sent and recieved between the different peers. More information about the conditions of each peer can be found by running the command 'ntpq -c as'. The output of this command includes the association ID that can be used in combination with 'ntpq -c "rv <association id>"' to get more information about the status of each such peer. The command 'ntpq -c pe' can also be used to return a summary of all peers and the reason why they are not in use. If NTP is not in use on the host, this check should be disabled for the host using the configuration options shown below. Cloudera recommends using NTP for time synchronization of Hadoop clusters. A failure of this health test can indicate a problem with the host's NTP service or configuration. This test can be configured using the Host Clock Offset Thresholds host configuration setting.

Short Name: Clock Offset

Property NameDescriptionTemplate NameDefault ValueUnit
Host Clock Offset ThresholdsThe thresholds for the host clock offset health test. The test compares this threshold against the absolute value of the clock offset reported by the host's NTP service from the 'ntpdc -np' command. Setting both the warning and critical threshold values to never turns off collection of the clock offset by the Cloudera Manager Agent. If NTP is not in use, both threshold values should be set to never. Cloudera recommends using NTP for time synchronization of Hadoop clusters.host_clock_offset_thresholdscritical:10000.0, warning:3000.0MILLISECONDS

Host DNS Resolution

This is a host health test that checks that the host's hostname and canonical name are consistent when checked from a Java process, and that the DNS resolution completes in a timely manner. The DNS resolution duration is calculated by measuring the time taken to call getLocalHost in a Java process on this host. Note that DNS information may be cached on the host, and this caching can affect the reported resolution duration. A failure of this health test may indicate that the host's DNS configuration is not correct or the host's DNS server is responding slowly. Check the Cloudera Manager Agent log for the names that were detected by this test or for errors running the Java process. The hostname and canonical name are considered to be consistent if the hostname or the hostname plus a domain name is the same as the canonical name. This health test uses domain names from the domain and search lines in /etc/resolv.conf. This health test does not consult /etc/nsswitch.conf and may give incorrect results if /etc/resolv.conf is not used by the host. There may be a delay of up to 5 minutes before this health test picks up changes to /etc/resolv.conf. This test can be configured using the Hostname and Canonical Name Health Check host configuration setting.

Short Name: DNS Resolution

Property NameDescriptionTemplate NameDefault ValueUnit
Hostname and Canonical Name Health CheckWhether the hostname and canonical names for this host are consistent when checked from a Java process.host_dns_resolution_enabledtrueno unit

Host Frame Errors

This is a host health test that checks for network frame errors across all network interfaces. A failure of this health test may indicate a problem with network hardware (e.g. switches) and can potentially cause other service or role-level performance problems. Check the host and network hardware logs for more details. This test can be configured using the Host Network Frame Error Percentage Thresholds, Host Network Frame Error Check Window, Host Network Frame Error Test Minimum Required Packets host configuration settings.

Short Name: Frame Errors

Property NameDescriptionTemplate NameDefault ValueUnit
Host Network Frame Error Check WindowThe amount of time over which the host frame error checks for frame errors.host_network_frame_errors_window15MINUTES
Host Network Frame Error Percentage ThresholdsThe health check thresholds for the percentage of received packets that are frame errors.host_network_frame_errors_thresholdscritical:0.5, warning:anyPERCENT
Host Network Frame Error Test Minimum Required PacketsThe minimum number of received packets that must be received within the test window for this test to return "Bad" health. If less that this number of packets is received during the test window, the health check will never return "Bad" health.host_network_frame_errors_floor0no unit

Host Network Interface Speed

This is a host health test that checks for network interfaces that appear to be operating at less than full speed. The Cloudera Manager Agent uses ethtool ioctl to determine the network interface speed and duplex mode. A failure of this health test may indicate that network interface(s) may be configured incorrectly and may be causing performance problems. Use the ethtool command to check and configure the host's network interfaces to use the fastest available link speed and duplex mode. For inactive interfaces or for interfaces that do not support ethtool ioctl, the Cloudera Manager Agent cannot collect speed metrics. If the Cloudera Manager Agent fails to collect speed metrics for all network interfaces on the host, the test is disabled. This test can be configured using the Host's Network Interfaces Slow Link Modes Thresholds, Network Interface Expected Link Speed and Network Interface Expected Duplex Mode host configuration settings.

Short Name: Network Interface Speed

Property NameDescriptionTemplate NameDefault ValueUnit
Host's Network Interfaces Slow Link Modes ThresholdsThe thresholds for the health check of the number of network interfaces that appear to be operating at less than full speed.host_network_interfaces_slow_mode_thresholdscritical:never, warning:anyno unit
Network Interface Expected Duplex ModeThe expected duplex mode for network interfaces.host_nic_expected_duplex_modeFullno unit
Network Interface Expected Link SpeedThe expected network interface link speed.host_nic_expected_speed1000no unit

Host Swapping

This is a health test that checks that the host has not swapped out more than a certain number of pages over the last fifteen minutes. A failure of this health test may indicate misconfiguration of the host operating system, or too many processes running on the host. Try reducing vm.swappiness, or add more memory to the host. This test can be configured using the Host Memory Swapping Thresholds, Host Memory Swapping Check Window host configuration settings.

Short Name: Swapping

Property NameDescriptionTemplate NameDefault ValueUnit
Host Memory Swapping Check WindowThe amount of time over which the memory swapping test checks for pages swapped.host_memswap_window15MINUTES
Host Memory Swapping ThresholdsThe health check thresholds of the number of pages swapped out on the host in the last 15 minuteshost_memswap_thresholdscritical:never, warning:anyPAGES
Page generated May 5, 2016.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值