Monitoring agent installation error

160 views
Skip to first unread message

Jaehan Kim

unread,
Apr 21, 2021, 9:18:46 PM4/21/21
to Google Stackdriver Discussion Forum
Hi team.
I'm struggling to install monitoring & logging agents as below screenshot.
I've checked the role of the service account and Cloud API access scopes and tried to troubleshoot based on the troubleshooting doc, but I couldn't fix it.

collectd[2942]: write_gcm: Unsuccessful HTTP request 403: {#012  "error": {#012    "code": 403,#012    "message": "Permission denied (or the resource may not exist).",#012    "status": "PERMISSION_DENIED"#012  }#012}

collectd[2942]: write_gcm: Error -2 from wg_curl_get_or_post

collectd[2942]: write_gcm: wg_transmit_unique_segment failed.

collectd[2942]: write_gcm: wg_transmit_unique_segments failed. Flushing.

Any ideas how to fix or what API or other things to enable?

Thanks

Igor Peshansky

unread,
Apr 21, 2021, 9:28:25 PM4/21/21
to Jaehan Kim, Google Stackdriver Discussion Forum
Hi, Jaehan,

A 403 indicates that the agent doesn't have sufficient privileges to write to the API. More details on the necessary permissions and authorization setup are on this documentation page.

You say that the troubleshooting instructions didn't help. Does that include the steps for verifying credentials and scopes?

At this point, without further details, my only thought is to check that the Cloud Monitoring and Cloud Logging APIs are enabled in the project. If those are enabled, then we would need to investigate your setup. It's best to share that off-list. Can you please open an issue?
        Igor

--
© 2021 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/a6b0cb98-0d6c-44f1-bb87-f6b582ad3d27n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages