datadog-agent status
Jump to navigation
Jump to search
datadog-agent status Getting the status from the agent. Error: unable to read authentication token file: open /opt/datadog-agent/etc/auth_token: no such file or directory
datadog-agent status Getting the status from the agent. Error: could not reach agent: Get "https://localhost:5001/agent/status?format=text": dial tcp [::1]:5001: connect: connection refused Make sure the agent is running before requesting the runtime configuration and contact support if you continue having issues
Example[edit]
datadog-agent status
Getting the status from the agent. =============== Agent (v7.54.0) =============== Status date: 2024-06-04 16:11:11.627 CEST / 2024-06-04 14:11:11.627 UTC (1717510271627) Agent start: 2024-06-04 16:11:09.763 CEST / 2024-06-04 14:11:09.763 UTC (1717510269763) Pid: 69692 Go Version: go1.21.9 Python Version: 3.11.8 Build arch: amd64 Agent flavor: agent Log Level: info Paths ===== Config File: /opt/datadog-agent/etc/datadog.yaml conf.d: /opt/datadog-agent/etc/conf.d checks.d: /opt/datadog-agent/etc/checks.d
======== Hostname ======== hostname: users-MacBook-Pro-2.local socket-fqdn: localhost socket-hostname: users-MacBook-Pro-2.local hostname provider: os unused hostname providers: 'hostname' configuration/environment: hostname is empty 'hostname_file' configuration/environment: 'hostname_file' configuration is not enabled aws: not retrieving hostname from AWS: the host is not an ECS instance and other providers already retrieve non-default hostnames azure: azure_hostname_style is set to 'os' container: the agent is not containerized fargate: agent is not runnning on Fargate fqdn: 'hostname_fqdn' configuration is not enabled gce: unable to retrieve hostname from GCE: GCE metadata API error: Get "http://169.254.169.254/computeMetadata/v1/instance/hostname": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Host Info ========= bootTime: 2024-05-29 06:57:09 CEST / 2024-05-29 04:57:09 UTC (1716958629000) hostId: 8a1caa07-3441-54cc-8e4e-12345fg556 kernelArch: x86_64 kernelVersion: 23.5.0 os: darwin platform: darwin platformFamily: Standalone Workstation platformVersion: 14.5 procs: 977 uptime: 153h14m2s ====== Clocks ====== NTP offset: 12.167ms ======== Metadata ======== agent_startup_time_ms: 1717510269763 agent_version: 7.54.0 feature_otlp_enabled: false flavor: agent hostname_source: os install_method_installer_version: install_script_mac-1.4.0 install_method_tool: install_script_mac install_method_tool_version: install_script_mac ========= Collector ========= Running Checks ============== container_image --------------- Instance ID: container_image [OK] Long Running Check: true Configuration Source: file:/opt/datadog-agent/etc/conf.d/container_image.d/conf.yaml.default Total Metric Samples: 0 Total Events: 0 Total Service Checks: 0 network (3.3.0) --------------- Instance ID: network:4b0649b7e11f0772 [OK] Configuration Source: file:/opt/datadog-agent/etc/conf.d/network.d/conf.yaml.default Total Runs: 1 Metric Samples: Last Run: 120, Total: 120 Events: Last Run: 0, Total: 0 Service Checks: Last Run: 0, Total: 0 Average Execution Time : 194ms Last Execution Date : 2024-06-04 16:11:17 CEST / 2024-06-04 14:11:17 UTC (1717510277000) Last Successful Execution Date : 2024-06-04 16:11:17 CEST / 2024-06-04 14:11:17 UTC (1717510277000) ntp --- Instance ID: ntp:3c427a42a70bbf8 [OK] Configuration Source: file:/opt/datadog-agent/etc/conf.d/ntp.d/conf.yaml.default Total Runs: 1 Metric Samples: Last Run: 1, Total: 1 Events: Last Run: 0, Total: 0 Service Checks: Last Run: 1, Total: 1 Average Execution Time : 573ms Last Execution Date : 2024-06-04 16:11:15 CEST / 2024-06-04 14:11:15 UTC (1717510275000) Last Successful Execution Date : 2024-06-04 16:11:15 CEST / 2024-06-04 14:11:15 UTC (1717510275000) uptime ------ Instance ID: uptime [OK] Configuration Source: file:/opt/datadog-agent/etc/conf.d/uptime.d/conf.yaml.default Total Runs: 1 Metric Samples: Last Run: 1, Total: 1 Events: Last Run: 0, Total: 0 Service Checks: Last Run: 0, Total: 0 Average Execution Time : 2ms Last Execution Date : 2024-06-04 16:11:15 CEST / 2024-06-04 14:11:15 UTC (1717510275000) Last Successful Execution Date : 2024-06-04 16:11:15 CEST / 2024-06-04 14:11:15 UTC (1717510275000) ========== Aggregator ========== Checks Metric Sample: 129 Dogstatsd Metric Sample: 3 Event: 1 Service Check: 1 ========= APM Agent ========= Status: Running Pid: 69707 Uptime: 5 seconds Mem alloc: 11,923,296 bytes Hostname: users-MacBook-Pro-2.local Receiver: localhost:8126 Endpoints: https://trace.agent.datadoghq.com Receiver (previous minute) ========================== No traces received in the previous minute. Writer (previous minute) ======================== Traces: 0 payloads, 0 traces, 0 events, 0 bytes Stats: 0 payloads, 0 stats buckets, 0 bytes ========= DogStatsD ========= Event Packets: 0 Event Parse Errors: 0 Metric Packets: 2 Metric Parse Errors: 0 Service Check Packets: 0 Service Check Parse Errors: 0 Udp Bytes: 124 Udp Packet Reading Errors: 0 Udp Packets: 2 Uds Bytes: 0 Uds Origin Detection Errors: 0 Uds Packet Reading Errors: 0 Uds Packets: 0 Unterminated Metric Errors: 0 Tip: For troubleshooting, enable 'dogstatsd_metrics_stats_enable' in the main datadog.yaml file to generate Dogstatsd logs. Once 'dogstatsd_metrics_stats_enable' is enabled, users can also use 'dogstatsd-stats' command to get visibility of the latest collected metrics. ========= Endpoints ========= https://app.datadoghq.com - API Key ending with: - d7945 ========= Forwarder ========= Transactions ============ Cluster: 0 ClusterRole: 0 ClusterRoleBinding: 0 CronJob: 0 CustomResource: 0 CustomResourceDefinition: 0 DaemonSet: 0 Deployment: 0 Dropped: 0 ECSTask: 0 HighPriorityQueueFull: 0 HorizontalPodAutoscaler: 0 Ingress: 0 Job: 0 LimitRange: 0 Namespace: 0 NetworkPolicy: 0 Node: 0 OrchestratorManifest: 0 PersistentVolume: 0 PersistentVolumeClaim: 0 Pod: 0 ReplicaSet: 0 Requeued: 0 Retried: 0 RetryQueueSize: 0 Role: 0 RoleBinding: 0 Service: 0 ServiceAccount: 0 StatefulSet: 0 StorageClass: 0 VerticalPodAutoscaler: 0 On-disk storage =============== On-disk storage is disabled. Configure `forwarder_storage_max_size_in_bytes` to enable it. API Keys status =============== API key ending with d7945: API Key valid ========= JMX Fetch ========= Information ================== Initialized checks ================== no checks Failed checks ============= no checks ========== Logs Agent ========== Logs Agent is not running ==== OTLP ==== Status: Not enabled Collector status: Not running ============= Process Agent ============= Version: 7.54.0 Status date: 2024-06-04 16:11:17.585 CEST / 2024-06-04 14:11:17.585 UTC (1717510277585) Process Agent Start: 2024-06-04 16:11:14.495 CEST / 2024-06-04 14:11:14.495 UTC (1717510274495) Pid: 69710 Go Version: go1.21.9 Build arch: amd64 Log Level: info Enabled Checks: [process_discovery] Allocated Memory: 0 bytes Hostname: users-MacBook-Pro-2.local System Probe Process Module Status: Not running Process Language Detection Enabled: False ================= Process Endpoints ================= https://process.datadoghq.com - API Key ending with: - d7945 ========= Collector ========= Last collection time: 2024-06-04 16:11:14 Docker socket: /var/run/docker.sock Number of processes: 0 Number of containers: 0 Process Queue length: 0 RTProcess Queue length: 0 Connections Queue length: 0 Event Queue length: 0 Pod Queue length: 0 Process Bytes enqueued: 0 RTProcess Bytes enqueued: 0 Connections Bytes enqueued: 0 Event Bytes enqueued: 0 Pod Bytes enqueued: 0 Drop Check Payloads: [] ========== Extractors ========== Workloadmeta ============ Cache size: 0 Stale diffs discarded: 0 Diffs dropped: 0 ==================== Remote Configuration ==================== Organization enabled: True API Key: Authorized Last error: None ======================== Transport Proxy Warnings ======================== No Transport Proxy Warnings
Related[edit]
See also[edit]
- Datadog agent
datadog-agent
:agent [ status | config | flare ]
,config_poller.go, collector.go, datadog.yaml
- Datadog, Datadog agent, Forwarder, Spans, DBM, standard attribute list, facets, log explorer, Terraform datadog, Airflow,
dog, agent, DogStatsD
, Airflow integration, Datadog pipelines,app.datadoghq.eu
, Datadog Cloud SIEM, Cloud Security Management, Datadog AWS Integration, Datadog Monitors,dd-trace-go
, DataDog Continuous Profiler, CoScreen, Kubernetes APM, flex logs, Datadog notifications
Advertising: