perfmon计数器:返回的值无效

kxe2p93d  于 2021-06-15  发布在  ElasticSearch
关注(0)|答案(0)|浏览(306)

我目前正在windows中使用MetricBeat7.9.0来监视它的cpu使用情况。
视窗.yml:

- module: windows
      metricsets: [perfmon]
      period: 20s
      perfmon.ignore_non_existent_counters: true
      perfmon.group_measurements_by_instance: true
      perfmon.queries:
      - object: 'Processor Information'
        instance: ['_Total']
        counters:
        - name: '% Processor Utility'

在windows中运行typeperf的结果:

C:\Program Files\Metricbeat>typeperf "\processor information(_total)\% processor utility"

    "(PDH-CSV 4.0)","\\B-RDP\processor information(_total)\% processor utility"
    "09/04/2020 10:00:44.970","12.599742"
    "09/04/2020 10:00:45.970","12.262473"
    "09/04/2020 10:00:46.970","13.776128"
    "09/04/2020 10:00:47.986","15.459835"
    "09/04/2020 10:00:49.001","16.701235"
    "09/04/2020 10:00:50.017","16.010404"
    "09/04/2020 10:00:51.033","15.780566"
    "09/04/2020 10:00:52.033","15.211278"
    "09/04/2020 10:00:53.048","12.962887"
    "09/04/2020 10:00:54.048","11.272148"
    "09/04/2020 10:00:55.050","13.951118"
    "09/04/2020 10:00:56.052","15.423948"
    "09/04/2020 10:00:57.058","17.593544"
    "09/04/2020 10:00:58.074","14.035282"

在我的elasticsearch集群中,metricbeat将无法不时发送特定值。在完全调试模式下运行metribeat时报告的错误如下: perfmon/data.go:55 Counter value retrieval returned {"error": "The data is not valid.", "cstatus": "The returned data is not valid.", "perfmon": {"query": "\\Processor Information(_Total)\\% Processor Utility"}} 描述行为的附加图形:

我试过用其他perfmon指标运行metricbeat,它们似乎都很好(只是这会引起麻烦)。
有人知道这是怎么回事吗?
感谢为解决此问题提供的任何帮助。
谢谢。
当做,
宋林

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题