A basic usable Xymon installation
500K+
Dockerization of the Xymon monitoring system on an Ubuntu base
docker run -d -p 80:80 -p 1984:1984 -v /etc/xymon:/etc/xymon -v /var/lib/xymon:/var/lib/xymon --name xymon deweysasser/xymon
or use docker-compose with
xymon:
image: deweysasser/xymon
ports:
- 80:80
- 1984:1984
volumes:
- xymon-config:/etc/xymon
- xymon-data:/var/lib/xymon
environment:
SSMTP_mailhub: mail.example.com
SSMTP_AuthUser: user
SSMTP_AuthPass: password
SSMTP_AuthMethod: LOGIN
SSMTP_UseTLS: "Yes"
You only need to expose port 1984 if you are going to use a xymon client (e.g. native, Windows or docker).
Port 1984 should NOT be exposed to public (Internet facing) traffic.
Any environment variables with the prefix SSMTP_ have the prefix
stripped and are otherwise copied verbatim into
/etc/ssmtp/ssmtp.conf.
You will need at least the environment variable SSMTP_mailhub and
will likely want:
SSMTP_mailhubSSMTP_AuthUserSSMTP_AuthPassSSMTP_AuthMethod=LOGINSSMTP_UseTLS=YesSSMTP_STARTTLS=YesYou can also choose to configure the file in other ways, for example in a volume or by extending this docker image.
You may then configure Xymon alerts as usual.
See the documentation for SSMTP and Xymon alerts for more details.
By default the container will use the posixrules TZ rule set. If
you'd like to override this, set the environment variable 'TZ',
e.g. docker run -d -e TZ=America/New_York
Please submit all issues/suggestions/bugs via https://github.com/deweysasser/docker-xymon
Content type
Image
Digest
sha256:eb4741265…
Size
112.8 MB
Last updated
over 5 years ago
docker pull deweysasser/xymon