Andreas Rocznik andreas
  • Joined on 2023-11-24

nagios (latest)

Published 2025-11-03 00:07:41 +02:00 by andreas

Installation

docker pull gitea.phadric.de/andreas/nagios:latest
sha256:73a8995a9e92cd477d35b3f090dc98e90727192721a594465bb77260bf2266b8

Images

Digest OS / Arch Size
1ef47b5c91 linux/amd64 85 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
MAINTAINER Rich Braun "docker@phadric.de"
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.build-date= org.label-schema.license=GPL-2.0 org.label-schema.name=nagios org.label-schema.vcs-ref= org.label-schema.vcs-url=https://github.com/instantlinux/docker-tools
ARG NAGIOS_VERSION=4.5.10-r0
ARG NAGIOS_GID=1000
ARG NAGIOS_UID=999
ARG PLUGINS_VERSION=2.4.12-r0
ARG WWW_UID=33
ENV AUTHORIZED_USERS=nagiosadmin CONFIG_CHECK=yes HTPASSWD_SECRET=nagios-htpasswd MAIL_AUTH_USER= MAIL_AUTH_SECRET=nagios-mail-secret MAIL_RELAY_HOST=smtp:25 MAIL_USE_TLS=yes NAGIOS_FQDN=nagios.docker NGINX_PORT=80 PERF_ENABLE=yes TZ=UTC
RUN |7 BUILD_DATE= VCS_REF= NAGIOS_VERSION=4.5.10-r0 NAGIOS_GID=1000 NAGIOS_UID=999 PLUGINS_VERSION=2.4.12-r0 WWW_UID=33 /bin/sh -c addgroup -g $NAGIOS_GID nagios && adduser -g www-data -u $WWW_UID -DSH -h /var/www www-data && adduser -G nagios -g "Nagios Server" -DSH -h /var/nagios -u $NAGIOS_UID nagios && apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main --update --no-cache nagios=$NAGIOS_VERSION nagios-web nagios-plugins-all=$PLUGINS_VERSION nagios-plugins-mysql=$PLUGINS_VERSION nrpe-plugin && apk add --update --no-cache bash curl fcgiwrap file mariadb-client nginx openssl perl-crypt-x509 perl-libwww perl-text-glob perl-timedate php82 php82-fpm py3-pip py3-requests py3-pymysql python3 ssmtp tzdata && addgroup nginx nagios && chmod u+s /usr/lib/nagios/plugins/check_ping && sed -i -e s/use_syslog=.*/use_syslog=0/ -e s/^cfg_file/#cfg_file/ /etc/nagios/nagios.cfg && echo '$USER2$=/opt/nagios/plugins' >> /etc/nagios/resource.cfg && mv /etc/nagios/nagios.cfg /etc/nagios/nagios.cfg.proto && ln -fns /usr/local/bin/mail.sh /usr/sbin/sendmail && ln -s /usr/local/bin/mail.sh /usr/bin/mail && rm /etc/nginx/http.d/default.conf # buildkit
EXPOSE [80/tcp]
VOLUME [/etc/nagios /opt/nagios/plugins /var/nagios]
COPY nginx.conf /etc/nginx/http.d/nagios.conf # buildkit
COPY php-fpm-www.conf /etc/php82/php-fpm.d/www.conf # buildkit
COPY entrypoint.sh mail.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["/bin/sh" "-c" "/usr/local/bin/entrypoint.sh"]

Labels

Key Value
org.label-schema.build-date
org.label-schema.license GPL-2.0
org.label-schema.name nagios
org.label-schema.vcs-ref
org.label-schema.vcs-url https://github.com/instantlinux/docker-tools
org.opencontainers.image.created 2025-11-02T22:07:23.712Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 99267287a540036f6e0d6a11aa0cf5592660b66f
org.opencontainers.image.source https://gitea.phadric.de/andreas/nagios
org.opencontainers.image.title nagios
org.opencontainers.image.url https://gitea.phadric.de/andreas/nagios
org.opencontainers.image.version 1.2.2
Details
Container
2025-11-03 00:07:41 +02:00
921
OCI / Docker
Versions (9) View all
latest 2025-11-03
1.2.2 2025-11-03
1.2 2025-11-03
1 2025-11-03
master 2025-11-03