GCP监控无法从asia-southeast1-b中获取指标

问题描述 投票:2回答:1

我有几个GCE实例位于两个区域:asia-southeast1-bus-east4-c。所有实例已经安装了stackdriver agent。在指标浏览器中,我在asia-southeast1-b指标中找不到CPU load

enter image description here

但是CPU Usage可以:

enter image description here

这怎么了?

google-cloud-platform stackdriver google-cloud-monitoring
1个回答
0
投票

您能否在asia-southeast1-b中部署的VM内执行此命令:

grep collectd /var/log/{syslog,messages} | tail

这将显示代理是否存在任何错误。

据我所知,该指标(CPU负载)是从Stackdriver代理中收集的,然后发送给Monitoring。让我们看看是否可以了解正在发生的事情:

  • Stackdriver Agent收集该指标是否有问题?

  • 或者在摄取它们时,监控API是否有问题?

让我问你一些问题:

  • 与在us-east4-c中运行的实例相比,您在Asia-southeast1-b的实例上使用的操作系统是否不同?
  • 您正在运行哪个版本的Stackdriver?是否有不同版本的版本比较了Asia-southeast1-b和us-east4-c?在此链接中,您可以确定已安装的版本。[2]

  • 您是否对Stackdriver代理的配置进行了任何更改?该文件位于/etc/stackdriver/collectd.conf

让我们知道您是否找到任何东西:)

最诚挚的问候,


[1] https://cloud.google.com/monitoring/agent/install-agent#agent-version

© www.soinside.com 2019 - 2024. All rights reserved.