From 196a449b4b96566094d487df60cf2d62f2fbaf45 Mon Sep 17 00:00:00 2001 From: Christos Manios Date: Fri, 28 Nov 2025 12:57:18 +0200 Subject: [PATCH] Release build 31 --- CHANGELOG.md | 19 +++++++++++++++++++ Dockerfile | 4 ++-- LICENCE | 4 ++-- README.md | 8 +++++++- alpine3-12.dockerfile | 4 ++-- 5 files changed, 32 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 297428f..fd545ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,25 @@ This Docker image contains more than one software (Nagios, Nagios plugins, NRPE, Apache HTTPD, etc.) with different versions. Hence we decided to name the releases with the naming `Build - ` which will have an incremental unsigned integer. In this document we will describe the contents of every image in every build. +## Build 31 (2025-12-01) + +* Nagios core: v4.5.10 +* Nagios plugins: v2.4.12 +* NRPE: 4.1.3 +* Alpine: + * 3.22.2: `amd64`, `i386`, `arm64` + * 3.12.12: `arm/v6`, `arm/v7` + +### Features + +* Upgrade to Nagios Core `4.5.10`. ([#95](https://github.com/manios/docker-nagios/issues/95)) +* Add init script functionality. ([#96](https://github.com/manios/docker-nagios/issues/96)) +* Remove [gosu](https://github.com/tianon/gosu) from the image as it is not needed anymore. ([#91](https://github.com/manios/docker-nagios/issues/91)) + +### Bug Fixes + +* Modify `etc/resource.cfg` in order to include custom plugins directory. + ## Build 30 (2025-04-10) * Nagios core: v4.5.9 diff --git a/Dockerfile b/Dockerfile index 8bee99f..9036350 100644 --- a/Dockerfile +++ b/Dockerfile @@ -190,7 +190,7 @@ LABEL name="Nagios" \ nrpeVersion=$NRPE_VERSION \ homepage="https://www.nagios.com/" \ maintainer="Christos Manios " \ - build="31-snapshot" \ + build="31" \ org.opencontainers.image.title="Nagios" \ org.opencontainers.image.description="Nagios, the Industry Standard In IT Infrastructure Monitoring" \ org.opencontainers.image.vendor="Nagios" \ @@ -199,7 +199,7 @@ LABEL name="Nagios" \ org.opencontainers.image.url="https://hub.docker.com/r/manios/nagios" \ org.opencontainers.image.source="https://github.com/manios/docker-nagios" \ org.opencontainers.image.documentation="https://github.com/manios/docker-nagios/blob/master/README.md" \ - org.opencontainers.image.version="31-snapshot" + org.opencontainers.image.version="31" RUN mkdir -p ${NAGIOS_HOME} && \ mkdir -p /orig/apache2 diff --git a/LICENCE b/LICENCE index c364beb..4f99803 100644 --- a/LICENCE +++ b/LICENCE @@ -1,6 +1,6 @@ MIT License -Copyright 2024 Christos Manios +Copyright 2025 Christos Manios Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -10,7 +10,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI MIT License -Copyright 2024 Jason Rivers +Copyright 2025 Jason Rivers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/README.md b/README.md index 20cbc39..d2055bf 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Build Status: ## Supported tags and respective `Dockerfile` links -* `4.5.9`, `4.5`, `latest` [(4.5.9/Dockerfile)](https://github.com/manios/docker-nagios/blob/master/Dockerfile) +* `4.5.10`, `4.5`, `latest` [(4.5.10/Dockerfile)](https://github.com/manios/docker-nagios/blob/master/Dockerfile) For more information about the image versions you may refer to the [CHANGELOG](https://github.com/manios/docker-nagios/blob/master/CHANGELOG.md) @@ -98,6 +98,8 @@ docker run -d --name nagios \ manios/nagios:latest ``` +For a detailed example you can have a look here: https://github.com/manios/docker-nagios/issues/96. + ## Flavours This Docker image is designed with optimising resources usage in mind and is build for multiple hardware architectures. The following matrix can be used to determine if your hardware architecture is represented in a docker image tag: @@ -120,6 +122,10 @@ To check if your Nagios configuration is OK, you can run the following while you docker exec -it mynagioscontainer bin/nagios -v etc/nagios.cfg ``` +## Custom plugins + +This image comes with the official [Nagios Plugins](https://github.com/nagios-plugins/nagios-plugins) preinstalled in order to remain lightweight in size. If you want to use custom plugins, you can install them in the `/opt/Custom-Nagios-Plugins` by using init scripts. + ## Troubleshooting ### Nagios keeps restarting or shows a strange behaviour diff --git a/alpine3-12.dockerfile b/alpine3-12.dockerfile index 67ce77b..9684a64 100644 --- a/alpine3-12.dockerfile +++ b/alpine3-12.dockerfile @@ -190,7 +190,7 @@ LABEL name="Nagios" \ nrpeVersion=$NRPE_VERSION \ homepage="https://www.nagios.com/" \ maintainer="Christos Manios " \ - build="31-snapshot" \ + build="31" \ org.opencontainers.image.title="Nagios" \ org.opencontainers.image.description="Nagios, the Industry Standard In IT Infrastructure Monitoring" \ org.opencontainers.image.vendor="Nagios" \ @@ -199,7 +199,7 @@ LABEL name="Nagios" \ org.opencontainers.image.url="https://hub.docker.com/r/manios/nagios" \ org.opencontainers.image.source="https://github.com/manios/docker-nagios" \ org.opencontainers.image.documentation="https://github.com/manios/docker-nagios/blob/master/README.md" \ - org.opencontainers.image.version="31-snapshot" + org.opencontainers.image.version="31" RUN mkdir -p ${NAGIOS_HOME} && \ mkdir -p /orig/apache2