datadog / agent-linux-install-script Goto Github PK
View Code? Open in Web Editor NEWDatadog Agent Linux Install Script
License: Apache License 2.0
Datadog Agent Linux Install Script
License: Apache License 2.0
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. ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.