You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo service datadog-agent status
● datadog-agent.service - "Datadog Agent"
Loaded: loaded (/lib/systemd/system/datadog-agent.service; enabled; vendor preset:
Active: active (running) since Thu 2018-11-29 08:01:54 UTC; 1h 29min ago
Main PID: 1406 (supervisord)
Tasks: 14
Memory: 178.9M
CPU: 47.883s
CGroup: /system.slice/datadog-agent.service
├─1406 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/bin/superv
├─1446 /opt/datadog-agent/bin/trace-agent
├─1447 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/ddag
├─1448 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/dogs
└─1451 /opt/datadog-agent/embedded/bin/python /opt/datadog-agent/agent/agen
Nov 29 08:01:52 web-2 systemd[1]: Starting "Datadog Agent"...
Nov 29 08:01:54 web-2 systemd[1]: Started "Datadog Agent".
Nov 29 08:01:57 web-2 dd.forwarder[1447]: INFO (ddagent.py:146): Done with custom emit
Describe what happened:
Can't fetch version 6 (datadog-agent is already the newest version (1:5.29.0-1)).
Part of the output:
* Installing the Datadog Agent package
Ign:1 https://apt.datadoghq.com stable InRelease
Hit:2 https://apt.datadoghq.com stable Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
datadog-agent is already the newest version (1:5.29.0-1).
...
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
W: Duplicate sources.list entry https://apt.datadoghq.com stable Release
sudo: datadog-agent: command not found
Automatic import failed, you can still try to manually run: datadog-agent import /etc/dd-agent /etc/datadog-agent
cp: cannot stat '/etc/datadog-agent/datadog.yaml.example': No such file or directory
The script assumes the Agent 5 apt repo is defined in /etc/apt/sources.list.d/datadog.list and overrides that file to make it point to the Agent 6 apt repo, but apparently that's not the case on your environment.
Could you check your apt entries in the /etc/apt/sources.list and /etc/apt/sources.list.d/*.list files, remove any Datadog-related entries, and try to run the script again?
Output of the info page (if this is a bug)
Describe what happened:
Can't fetch version 6 (
datadog-agent is already the newest version (1:5.29.0-1)
).Part of the output:
Describe what you expected:
Upgrade to agent 6.
Steps to reproduce the issue:
Execute:
Additional environment details (Operating System, Cloud provider, etc):
The text was updated successfully, but these errors were encountered: