Andreas Rocznik andreas
  • Joined on 2023-11-24

nagios (latest)

Published 2026-06-10 01:09:07 +03:00 by andreas

Installation

docker pull gitea.phadric.de/andreas/nagios:latest
sha256:62b72db2fba2c6ab5dc8ed06a0b850c241a1a3ddc31defa568073935dbe0f518

Images

Digest OS / Arch Size
931d378fd2 linux/amd64 83 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.0-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.13-r0
ARG NAGIOS_GID=1000
ARG NAGIOS_UID=999
ARG PLUGINS_VERSION=2.5-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.13-r0 NAGIOS_GID=1000 NAGIOS_UID=999 PLUGINS_VERSION=2.5-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 php83 php83-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/php83/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 2026-06-09T22:08:33.187Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 8732b34f0461a6c6980f629b52cb6303266e79c4
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.5.0
Details
Container
2026-06-10 01:09:07 +03:00
1251
OCI / Docker
Versions (16) View all
latest 2026-06-10
1.5.0 2026-06-10
1.5 2026-06-10
1 2026-06-10
1.4 2026-05-29