elastic / elastic-agent

Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
22 stars 143 forks source link

Linux Agent gets unhealthy on adding Linux integration. #6155

Open amolnater-qasource opened 10 hours ago

amolnater-qasource commented 10 hours ago

Kibana Build details:

VERSION: 8.17.0 BC1
BUILD: 80364
COMMIT: e3c75d19d796c366aedc5788960b2c6cc868014f

Artifact Link: https://staging.elastic.co/8.17.0-8031025a/downloads/beats/elastic-agent/elastic-agent-8.17.0-linux-x86_64.tar.gz

Host OS: SLES15

Preconditions:

  1. 8.17.0-BC1 Kibana cloud environment should be available.

Steps to reproduce:

  1. Install Linux agent.
  2. Add linux integration to this agent.
  3. Observe agent gets unhealthy with errors in Linux integration:
    
    Degraded
    Error fetching data for metricset system.raid: failed to parse sysfs: no matches from path /sys/block

Degraded Error fetching data for metricset linux.conntrack: error fetching conntrack stats: open /proc/net/stat/nf_conntrack: no such file or directory



**Expected Result:**
Linux Agent should remain healthy on adding Linux integration.

**Screenshot:**
![Image](https://github.com/user-attachments/assets/8882ce6e-eae0-4958-9767-e7f4b0cacec1)

**Agent Logs:**
[elastic-agent-diagnostics-2024-11-27T08-39-33Z-00.zip](https://github.com/user-attachments/files/17932569/elastic-agent-diagnostics-2024-11-27T08-39-33Z-00.zip)
elasticmachine commented 10 hours ago

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)