Skip to content

Add Fedora 43 test container with supervisord-managed Check_MK agent#110

Closed
HenriWahl with Copilot wants to merge 4 commits into
masterfrom
copilot/add-dockerfile-fedora-43
Closed

Add Fedora 43 test container with supervisord-managed Check_MK agent#110
HenriWahl with Copilot wants to merge 4 commits into
masterfrom
copilot/add-dockerfile-fedora-43

Conversation

Copilot AI commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Adds containerized testing environment for Check_MK agent on Fedora 43. Agent listens on port 6556 via supervisord without xinetd dependency.

Implementation

  • Dockerfile_fedora-43: Fedora 43 base, installs supervisor + nmap-ncat, uses netcat wrapper for TCP listener on 6556
  • check_mk_agent.linux: Official Check_MK agent v2.3.0 from upstream repository
  • supervisord-checkmk.conf: Externalized process config with auto-restart, runs as root for system access
  • README_Dockerfile_fedora-43.md: Build and usage instructions

Usage

docker build -f Dockerfile_fedora-43 -t fedora43-checkmk .
docker run -d -p 6556:6556 fedora43-checkmk
echo | nc localhost 6556  # Test agent output

Architecture: supervisord → check_mk_agent_tcp wrapper → netcat listener → check_mk_agent script

Original prompt

On Dockerfile_fedora-43, Hey - please create me a Dockerfile for Fedora 43, which does not include xinetd, but I need the check_mk_agent to be running. Are you able to extend the Dockerfile with somethng like supervisord, so I can run check_mk_agent listening to port 6556 in the container for testing purposes?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 3, 2026 23:06
…6556

Co-authored-by: HenriWahl <2835065+HenriWahl@users.noreply.github.com>
Co-authored-by: HenriWahl <2835065+HenriWahl@users.noreply.github.com>
Co-authored-by: HenriWahl <2835065+HenriWahl@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Dockerfile for Fedora 43 with check_mk_agent Add Dockerfile for Fedora 43 with Check_MK agent via supervisord Feb 3, 2026
Copilot AI requested a review from HenriWahl February 3, 2026 23:08
Comment thread Dockerfile_fedora-43
dnf clean all

# Copy and install Check_MK agent from repository
COPY check_mk_agent.linux /usr/bin/check_mk_agent

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the rpm file supplied in this repo

Comment thread Dockerfile_fedora-43
RUN printf '#!/bin/bash\n\
# Run check_mk_agent as a TCP service on port 6556 using netcat\n\
while true; do\n\
/usr/bin/nc -l -p 6556 -c '\''/usr/bin/check_mk_agent'\'' || sleep 1\n\

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't supervisord be listening too? do we need netcat?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because if we use netcat there will be no need to run supervisor at all?

Copilot AI changed the title Add Dockerfile for Fedora 43 with Check_MK agent via supervisord Add Fedora 43 test container with supervisord-managed Check_MK agent Feb 3, 2026
Copilot AI requested a review from HenriWahl February 3, 2026 23:30
@HenriWahl HenriWahl closed this Feb 3, 2026
@HenriWahl HenriWahl deleted the copilot/add-dockerfile-fedora-43 branch February 7, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants