We do not recommend running this version of the Slim Poller. This image includes an SSH server which opens an additional, unnecessary attack vector. Furthermore this is a multi-process image, which is a docker anti pattern. Use https://hub.docker.com/repository/docker/op5com/slim-poller_naemon-core instead.
This image is a version of the Slim Poller (https://docs.itrsgroup.com/docs/op5-monitor/8.1.0/topics/install/scale-monitor-env.html#Add_a_new_Slim_Poller) with an SSHd daemon inside. You would need to place a configuration file at: /opt/monitor/.ssh/config on the master server to specify the username ( monitor ) and port ( default: 2222 ) for the SSH connection.
Host poller
HostName poller
User monitor
Port 2222
The default password for the monitor user is set to monitor it is highly recommended to change this! We also recommend disabling SSH password authentication after SSH keys have been synced.
sed -i '/^PasswordAuthentication/s/yes/no/' /opt/monitor/ssh/sshd_config
supervisorctl restart sshd
SSH hostkeys are located at: /opt/monitor/ssh/. They are generated at container startup if none are found. These keys must be persistent, so setting up a persistent volume for this path is recommended.
version: '3.2'
services:
naemon-core-ssh:
depends_on:
- naemon-merlin
ports:
- protocol: tcp
published: 2222
target: 2222
- protocol: tcp
published: 15551
target: 15551
volumes:
- ipc:/var/run/naemon
- merlin_config:/opt/monitor/op5/merlin
- naemon_config:/opt/monitor/etc
- ssh_config:/opt/monitor/.ssh
- sshd_config:/opt/monitor/ssh
- status:/opt/monitor/var/status
image: op5com/slim-poller_naemon-core-ssh:8.1.2
naemon-merlin:
volumes:
- ipc:/var/run/naemon
- merlin_config:/opt/monitor/op5/merlin
image: op5com/slim-poller_naemon-merlin:8.1.2
volumes:
ipc:
merlin_config:
naemon_config:
ssh_config:
sshd_config:
status:
Content type
Image
Digest
Size
288.1 MB
Last updated
over 4 years ago
docker pull op5com/slim-poller_naemon-core-ssh