Metricbeat's dashboard doesn't show the CentOS cpu, memory info and network traffic

I used Metricbeat to collect servers system status, but I found something strange.

There are two OSs in my servers. The Window Servers work fine, but the one of CentOS Servers seems to lost cpu, memory info and network traffic on Metricbeat's dashboard.

These Metricbeats are using default setting, no custom index or dashboards.

Elastic Stack and metricbeat version is 7.6.1.

Here is the Metricbeat system overview dashboard.
Window Server is cover with blue. CentOS is cover with yellow.

But the histogram at the bottom of the dashboard has cpu usage data.

This is the odd CentOS Server. CPU, memory, system load, swap usage and network traffic are zero.

Discover cpu data of the odd CentOS Server

Discover data of the odd CentOS Server
CPU

    {
      "_index": "metricbeat-7.6.1-2020.04.16-000002",
      "_type": "_doc",
      "_id": "1tmUmnEBkTqZfVRGJY97",
      "_version": 1,
      "_score": null,
      "_source": {
        "@timestamp": "2020-04-21T02:32:11.409Z",
        "ecs": {
          "version": "1.4.0"
        },
        "event": {
          "dataset": "system.cpu",
          "module": "system",
          "duration": 231523
        },
        "metricset": {
          "period": 10000,
          "name": "cpu"
        },
        "service": {
          "type": "system"
        },
        "system": {
          "cpu": {
            "user": {
              "pct": 0.3986
            },
            "idle": {
              "pct": 1.5008
            },
            "total": {
              "pct": 0.487
            },
            "softirq": {
              "pct": 0.0041
            },
            "system": {
              "pct": 0.0844
            },
            "iowait": {
              "pct": 0.0122
            },
            "steal": {
              "pct": 0
            },
            "cores": 2,
            "irq": {
              "pct": 0
            },
            "nice": {
              "pct": 0
            }
          }
        },
        "host": {
          "id": "d171ddbb87e046a2929e0c2d99a06f70",
          "containerized": false,
          "name": "ha01",
          "hostname": "ha01",
          "architecture": "x86_64",
          "os": {
            "version": "7 (Core)",
            "family": "redhat",
            "name": "CentOS Linux",
            "kernel": "3.10.0-957.el7.x86_64",
            "codename": "Core",
            "platform": "centos"
          }
        },
        "agent": {
          "id": "b83b8e05-868c-42d4-aaa3-a663f53117a7",
          "version": "7.6.1",
          "type": "metricbeat",
          "ephemeral_id": "e882e132-3c64-40ff-bca0-60c2b6b9fa86",
          "hostname": "ha01"
        }
      },
      "fields": {
        "@timestamp": [
          "2020-04-21T02:32:11.409Z"
        ]
      },
      "highlight": {
        "metricset.name": [
          "@kibana-highlighted-field@cpu@/kibana-highlighted-field@"
        ],
        "host.hostname": [
          "@kibana-highlighted-field@ha01@/kibana-highlighted-field@"
        ]
      },
      "sort": [
        1587436331409
      ]
    }

And memory data

    {
      "_index": "metricbeat-7.6.1-2020.04.16-000002",
      "_type": "_doc",
      "_id": "ptqfmnEBkTqZfVRG7lVy",
      "_version": 1,
      "_score": null,
      "_source": {
        "@timestamp": "2020-04-21T02:45:03.746Z",
        "service": {
          "type": "system"
        },
        "system": {
          "memory": {
            "used": {
              "pct": 0.9171,
              "bytes": 15276822528
            },
            "free": 1380626432,
            "actual": {
              "free": 7749062656,
              "used": {
                "pct": 0.5348,
                "bytes": 8908386304
              }
            },
            "page_stats": {
              "pgfree": {
                "pages": 3126828648
              },
              "pgsteal_kswapd": {
                "pages": 0
              },
              "pgsteal_direct": {
                "pages": 0
              },
              "pgscan_kswapd": {
                "pages": 0
              },
              "pgscan_direct": {
                "pages": 0
              }
            },
            "swap": {
              "out": {
                "pages": 23463
              },
              "readahead": {
                "cached": 0,
                "pages": 0
              },
              "total": 17179865088,
              "used": {
                "bytes": 9175040,
                "pct": 0.0005
              },
              "free": 17170690048,
              "in": {
                "pages": 3545
              }
            },
            "hugepages": {
              "swap": {
                "out": {
                  "fallback": 0,
                  "pages": 0
                }
              },
              "total": 0,
              "used": {
                "bytes": 0,
                "pct": 0
              },
              "free": 0,
              "reserved": 0,
              "surplus": 0,
              "default_size": 2097152
            },
            "total": 16657448960
          }
        },
        "ecs": {
          "version": "1.4.0"
        },
        "host": {
          "architecture": "x86_64",
          "os": {
            "family": "redhat",
            "name": "CentOS Linux",
            "kernel": "3.10.0-957.el7.x86_64",
            "codename": "Core",
            "platform": "centos",
            "version": "7 (Core)"
          },
          "name": "ha01",
          "id": "d171ddbb87e046a2929e0c2d99a06f70",
          "containerized": false,
          "hostname": "ha01"
        },
        "agent": {
          "hostname": "ha01",
          "id": "b83b8e05-868c-42d4-aaa3-a663f53117a7",
          "version": "7.6.1",
          "type": "metricbeat",
          "ephemeral_id": "e882e132-3c64-40ff-bca0-60c2b6b9fa86"
        },
        "event": {
          "dataset": "system.memory",
          "module": "system",
          "duration": 24432150
        },
        "metricset": {
          "name": "memory",
          "period": 10000
        }
      },
      "fields": {
        "@timestamp": [
          "2020-04-21T02:45:03.746Z"
        ]
      },
      "highlight": {
        "metricset.name": [
          "@kibana-highlighted-field@memory@/kibana-highlighted-field@"
        ],
        "host.hostname": [
          "@kibana-highlighted-field@ha01@/kibana-highlighted-field@"
        ]
      },
      "sort": [
        1587437103746
      ]
    }

Here is the system.yml

Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.