influxdata / influxdata/influxdata-docker

Dockerfile not exposing 25826

Open
#422 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

Hello,
I have enabled the collectd plugin but my container, created using docker-compose. Inspecting the logs shows

`msg="Listening on UDP" log_id=0QAcdwi0000 service=collectd addr=[::]:25826`

However, running docker ps shows that the container is only listening on port 8086. I looked at the Dockerfile in the repository and found that it only exposes port 8086 which is understandable but is it possible to pass an environmental variable that will cause it to listen to the collectd port? I'm using influxdb behind Traefik and it's able to forward traffic to the container but attempting to telnet returns "connection refused" I know this is not caused by Traefik. I tested "internally" by going directly to the internal IP address of the influxdb container and got the same message.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the Dockerfile and the docker-compose configuration to compare the exposed and published ports with the collectd log entry for UDP 25826. Confirm what configuration controls container port availability and verify that a running container accepts connections on 25826, while retaining access to port 8086.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.