apache / apache/hertzbeat

[Question] <title>ssh response data only has header:

Open
#1,540 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

2024-02-07 14:51:58 [342544077367040-ubuntu-agent_process-8278] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect - [Collect Success, Run 72ms, All 72ms].
2024-02-07 14:51:58 [342544076478208-ubuntu-agent_process-8279] ERROR org.dromara.hertzbeat.collector.collect.ssh.SshCollectImpl - ssh response data only has header: 2263 2.8 1.1 ./titanagent
2024-02-07 14:51:58 [342544076478208-ubuntu-agent_process-8279] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect - [Collect Success, Run 74ms, All 74ms].
2024-02-07 14:51:58 [342544075802368-ubuntu-agent_process-8285] ERROR org.dromara.hertzbeat.collector.collect.ssh.SshCollectImpl - ssh response data only has header: 1550 2.7 1.1 ./titanagent
2024-02-07 14:51:58 [342544075802368-ubuntu-agent_process-8285] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect - [Collect Success, Run 68ms, All 68ms].
2024-02-07 14:51:58 [342544076347136-ubuntu-agent_process-8282] ERROR org.dromara.hertzbeat.collector.collect.ssh.SshCollectImpl - ssh response data only has header: 2189 2.8 1.0 ./titanagent
2024-02-07 14:51:58 [342544076347136-ubuntu-agent_process-8282] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect - [Collect Success, Run 72ms, All 72ms].
2024-02-07 14:51:58 [342544076580608-ubuntu-agent_process-8297] ERROR org.dromara.hertzbeat.collector.collect.ssh.SshCollectImpl - ssh response data only has header: 2266 2.6 1.0 ./titanagent
2024-02-07 14:51:58 [342544076580608-ubuntu-agent_process-8297] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect - [Collect Success, Run 66ms, All 66ms].
2024-02-07 14:51:58 [342544076867328-ubuntu-agent_process-8293] ERROR org.dromara.hertzbeat.collector.collect.ssh.SshCollectImpl - ssh response data only has header: 440075 12.8 1.5 ./titanagent
2024-02-07 14:51:58 [342544076867328-ubuntu-agent_process-8293] INFO org.dromara.hertzbeat.collector.dispatch.MetricsCollect - [Collect Success, Run 78ms, All 78ms].

Contributor guide

Open the contributing guide

Research direction

Start with the SshCollectImpl collector named in the error logs and compare its expected response format with the repeated `ssh response data only has header` output. No file path or test is provided; done means the cause of the header-only result and the expected collector behavior are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.