Code Monkey home page Code Monkey logo

agent-linux-install-script's People

Contributors

alopezz avatar amenasria avatar arbll avatar bkabrda avatar chouetz avatar chouquette avatar guyarb avatar hush-hush avatar jonbodner avatar kaderinho avatar kevinfairise2 avatar kserrania avatar lebauce avatar neuronull avatar paullegranddc avatar pducolin avatar pythyu avatar randomanderson avatar raphaelgavache avatar robertpi avatar safchain avatar spencergilbert avatar truthbk avatar yshapiro-57 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agent-linux-install-script's Issues

Can y'all rollout `067845ea6` to the `install_script.sh`?

Hey Datadog team, we have encountered a major issue with using the Datadog agent installation script for Datadog agent version Agent 7.45.0 - Commit: 964e770 - Serialization version: v5.0.81 - Go version: go1.19.9.

In short, we use the script install_script.sh provided by Datadog to install the agent. (Yes, we are aware that the script is considered out-dated), below is how we invoke the script:
DD_AGENT_MAJOR_VERSION=7 DD_API_KEY=$api_key DD_HOST_TAGS=$host_tags DD_SITE="datadoghq.com" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"

What we noticed is that with the latest version of Datadog agent, the config file has a new section added which has a tag field in it, and it seems like the installation script will try to add our tags to the field snmp_listener.configs.tags, which will cause the Datadog agent to quit immediately and cannot start.

When we run the debug command /opt/datadog-agent/bin/agent/agent check, here is the output:
Error: unable to load Datadog config file: While parsing config: yaml: line 962: did not find expected key

Below are the structure of the new config file, it seems like the new field confused the agent binary

# ...
# snmp_listener:
  ## @param configs - list - required
  # ...
  # configs:
    # tags:
    #   - <KEY_1>:<VALUE_1>
    #   - <KEY_2>:<VALUE_2>

What we noticed is that y'all addressed this in release https://github.com/DataDog/agent-linux-install-script/releases/tag/1.17.1 but was wondering if it's possible for y'all to also roll this change to the old installation script, thank in advance. ๐Ÿ™

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.