Help Center> Log Tank Service> FAQs> ICAgent Installation> What Can I Do If ICAgent Reports Metric Breakpoints or No Metric?
Updated on 2024-03-05 GMT+08:00

What Can I Do If ICAgent Reports Metric Breakpoints or No Metric?

Background

ICAgent reports metric breakpoints or no metric.

Impact on the System

Users cannot view monitoring information.

Possible Causes

  1. The metric collection function is disabled.
  2. Metrics fail to be sent.

Fault Locating

  1. Check whether the metric collection is disabled.

    1. Log in to the AOM console. In the navigation pane, choose Configuration Management > Metric Configuration.
    2. Check whether the metric collection is enabled. If not, enable it.

  2. Search for the metric collection switch configuration in the background.

    1. Log in to the ECS host where ICAgent is installed.
    2. Run the cd /var/ICAgent command to go to the ICAgent log directory.
    3. Search for the metric collection switch configuration.
      cat oss.icAgent.trace| grep 'switchL'

    4. If it cannot be found, filter the log package.
      zgrep switchL *.zip

  3. Check whether metrics fail to be sent.

    1. Log in to the ECS host where ICAgent is installed.
    2. Run the cd /var/ICAgent command to go to the ICAgent log directory.
    3. Query the log for the metric that failed to be sent.
      cat oss.icAgent.trace | grep httpsend | grep MONITOR | grep failed

    4. If the log file cannot be found, query the log package.
      zgrep httpsend *.zip| grep MONITOR | grep failed

ICAgent Installation FAQs

more