Add nagios-status.pl

This commit is contained in:
nemunaire 2022-02-06 01:31:27 +01:00
parent e221311c73
commit 2c76c9f90c

View File

@ -22,14 +22,16 @@ RUN apk add --no-cache \
nagios-plugins-tcp \
nagios-web \
nrpe-plugin \
perl \
ssmtp \
tini && \
chown nagios /etc/ssmtp/ssmtp.conf
COPY FREE_send_notification.sh /usr/bin/FREE_send_notification.sh
COPY entrypoint.sh /docker-entrypoint.sh
ADD https://gist.githubusercontent.com/nemunaire/9669659/raw/977cfce7246249c17e213b0b2b231220257754fa/nagios-status.pl /usr/bin/nagios-status.pl
ENTRYPOINT ["/docker-entrypoint.sh"]
USER nagios
CMD ["/usr/sbin/nagios", "/etc/nagios/nagios.cfg"]