Git Product home page Git Product logo

Comments (8)

qingling128 avatar qingling128 commented on September 26, 2024 2

Debian 10 is now officially supported: https://cloud.google.com/monitoring/agent/install-agent#agent-install-debian.

from collectd.

igorpeshansky avatar igorpeshansky commented on September 26, 2024 1

Careful with unstable. As the name implies, the package in that repo may be completely broken at any point, and is not guaranteed to work. Further, unstable does not keep older packages, so you're always getting the latest push, and one install unstable may not be the same as another. Use at your own risk.
We plan to release a stable 6.0.0 version with support for Debian 10 before the end of this quarter.

from collectd.

igorpeshansky avatar igorpeshansky commented on September 26, 2024

This is being actively worked on. As a heads-up, we will very likely not release Debian 10 off the stackdriver-agent-5.5.2 branch, but rather from a newer codebase, so it'll be in a new major agent version, which will remove some of the third-party integrations (see the agent deprecation policy).

from collectd.

Carrotman42 avatar Carrotman42 commented on September 26, 2024

I don't quite mind which codebase will be used as long as it will export the extra metrics promised by various docs :)

from collectd.

igorpeshansky avatar igorpeshansky commented on September 26, 2024

The next major release (6.0.0) will deprecate a number of third-party integrations, as indicated in https://cloud.google.com/monitoring/agent/plugins/, which is why I mentioned it.

from collectd.

Carrotman42 avatar Carrotman42 commented on September 26, 2024

Thanks for clarifying. In my case my third-party application isn't supported, so I'm just looking for the general OS-level stats.

from collectd.

mercuriete avatar mercuriete commented on September 26, 2024

I just installed a debian 10 VM on google cloud platform and I get this:

 sudo bash install-monitoring-agent.sh
==============================================================================
Starting installation of stackdriver-agent
==============================================================================

Installing agent for Debian or Ubuntu.
OK
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease                                              
Hit:3 http://deb.debian.org/debian buster-updates InRelease                                      
Hit:4 http://deb.debian.org/debian buster-backports InRelease                                    
Hit:5 https://download.docker.com/linux/debian buster InRelease                                  
Hit:6 http://packages.cloud.google.com/apt cloud-sdk-buster InRelease      
Hit:7 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-buster InRelease
Hit:8 http://packages.cloud.google.com/apt google-cloud-logging-wheezy InRelease
Hit:9 http://packages.cloud.google.com/apt google-cloud-monitoring-buster InRelease
Hit:10 http://packages.cloud.google.com/apt google-compute-engine-buster-stable InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package stackdriver-agent
dpkg-query: no packages found matching stackdriver-agent
Failed to restart stackdriver-agent.service: Unit stackdriver-agent.service not found.

==============================================================================
Errors occurred while installing stackdriver-agent-. See the log snippet
above or run:
  sudo service stackdriver-agent status

Please consult the documentation for troubleshooting advice:
  https://cloud.google.com/monitoring/agent

You can monitor the monitoring agent's logfile at:
  /var/log/syslog
==============================================================================

There are any other way to monitor RAM usage on GCP?

@Carrotman42 Did you manage to workaround the problem?
I need some basic stats like RAM and disk usage like you.

EDIT:
this url is empty.
https://packages.cloud.google.com/apt/dists/google-cloud-monitoring-buster/main/binary-amd64/Packages

but this is not empty:
https://packages.cloud.google.com/apt/dists/google-cloud-monitoring-buster-unstable/main/binary-amd64/Packages

EDIT2:
for people that hit this bug like me:

change this line on /etc/apt/sources.list.d/google-cloud-monitoring.list
from:
deb http://packages.cloud.google.com/apt google-cloud-monitoring-buster main
to
deb http://packages.cloud.google.com/apt google-cloud-monitoring-buster-unstable main
then:

sudo apt-get update
sudo apt-get install stackdriver-agent
sudo systemctl restart stackdriver-agent.service

hope this help

from collectd.

mercuriete avatar mercuriete commented on September 26, 2024

@igorpeshansky
Thanks for the clarification. I'll wait for stable in my production environments.

from collectd.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.