gpt4 book ai didi

stackdriver - 谷歌云平台 : Stackdriver Agent installation and Condiguration error on GCP VM instance

转载 作者:行者123 更新时间:2023-12-04 00:06:22 27 4
gpt4 key购买 nike

我没有关于谷歌云平台 VM 实例监控的堆栈驱动程序监控配置的实践经验。我们对项目的基本监控工作正常,但是在尝试在 Ubuntu 14.04 操作系统中安装 stackdriver 代理时,它给了我们错误,并且带有代理的堆栈驱动程序对我们不起作用。以下是供您引用的错误。

Jan 3 10:43:42 ubuntu-uat01 collectd[2283]: write_gcm: Unsuccessful HTTP request 403: {#012 "error": {#012 "code": 403,#012
"message": "User is not authorized to access the project monitoring records.",#012 "status": "PERMISSION_DENIED"#012 }#012} Jan 3 10:43:42 ubuntu-uat01 collectd[2283]: write_gcm: Error -2 from wg_curl_get_or_post Jan 3 10:43:42 ubuntu-uat01 collectd[2283]: write_gcm: wg_transmit_unique_segment failed.



有人可以帮助我设置安装在服务器上的代理的堆栈驱动程序监控,或者提供一些可用的文档链接。

最佳答案

我在我的实例上遇到了这个精确的错误,直到我向服务帐户添加了“监控指标编写器”权限。

您也可以按照 Igor 的建议,将监控 api 范围添加到实例
StackDriver Monitoring docs

关于stackdriver - 谷歌云平台 : Stackdriver Agent installation and Condiguration error on GCP VM instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41441617/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com