Skip to content

Commit

Permalink
merge upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
jwavoet committed Nov 15, 2024
2 parents 24816d9 + acd77c1 commit b32ecd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM ubuntu:22.04
FROM ubuntu:24.04
LABEL author="Jason Rivers <[email protected]>"
LABEL forkedby="Dovetail BV"


ENV NAGIOS_HOME /opt/nagios
ENV NAGIOS_USER nagios
ENV NAGIOS_GROUP nagios
Expand Down Expand Up @@ -61,7 +62,7 @@ RUN echo postfix postfix/main_mailer_type string "'Internet Site'" | debconf-set
libjson-perl \
libldap2-dev \
libmonitoring-plugin-perl \
libmysqlclient-dev \
libmariadb-dev \
libnagios-object-perl \
libnet-snmp-perl \
libnet-snmp-perl \
Expand All @@ -76,11 +77,13 @@ RUN echo postfix postfix/main_mailer_type string "'Internet Site'" | debconf-set
libtext-glob-perl \
libwww-perl \
m4 \
netcat \
netcat-traditional \
parallel \
php-cli \
php-gd \
postfix \
python3 \
python3-venv \
python3-pip \
python3-nagiosplugin \
rsync \
Expand All @@ -91,7 +94,6 @@ RUN echo postfix postfix/main_mailer_type string "'Internet Site'" | debconf-set
snmpd \
snmp-mibs-downloader \
unzip \
python3 \
&& \
apt-get clean && rm -Rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -196,7 +198,7 @@ RUN cd /tmp && \
cd /tmp && rm -Rf nagiosgraph

RUN cd /opt && \
pip install pymssql paho-mqtt pymssql && \
pip install --break-system-packages pymssql paho-mqtt && \
git clone https://github.com/willixix/naglio-plugins.git WL-Nagios-Plugins && \
git clone https://github.com/JasonRivers/nagios-plugins.git JR-Nagios-Plugins && \
git clone https://github.com/justintime/nagios-plugins.git JE-Nagios-Plugins && \
Expand Down Expand Up @@ -254,7 +256,6 @@ RUN echo "use_timezone=${NAGIOS_TIMEZONE}" >> ${NAGIOS_HOME}/etc/nagios.cfg


# Copy example config in-case the user has started with empty var or etc

RUN mkdir -p /orig/var && \
mkdir -p /orig/etc && \
mkdir -p /orig/graph-etc && \
Expand Down Expand Up @@ -287,7 +288,7 @@ RUN cd /opt/nagiosgraph/etc && \
RUN rm /opt/nagiosgraph/etc/fix-nagiosgraph-multiple-selection.sh

# enable all runit services
RUN ln -s /etc/sv/* /etc/service
RUN ln -sf /etc/sv/* /etc/service

# fix ping permissions for nagios user
RUN chmod u+s /usr/bin/ping
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker-Nagios

Nagios Core 4.5.7 running on Ubuntu 22.04.
Nagios Core running on Ubuntu 24.04 LTS.

Docker image for Nagios forked by Dovetail BV.

Expand Down Expand Up @@ -71,5 +71,4 @@ The default credentials for the web interface is `nagiosadmin` / `nagios`
* JE-Nagios-Plugins - custom plugins from Justin Ellison [<https://github.com/justintime/nagios-plugins>]
* DF-Nagios-Plugins - custom pluging for MSSQL monitoring from Dan Fruehauf [<https://github.com/danfruehauf/nagios-plugins>]
* check-mqtt - custom plugin for mqtt monitoring from Jan-Piet Mens [<https://github.com/jpmens/check-mqtt.git>]
* Nagios TV - Monitor your infrastructure with style from
Chris Carey [<https://github.com/chriscareycode/nagiostv-react.git>]
* Nagios TV - Monitor your infrastructure with style from Chris Carey [<https://github.com/chriscareycode/nagiostv-react.git>]

0 comments on commit b32ecd7

Please sign in to comment.