This commit is contained in:
parent
897414d4dd
commit
21d1aee761
@ -22,7 +22,10 @@ RUN apk add --no-cache \
|
|||||||
nagios-plugins-tcp \
|
nagios-plugins-tcp \
|
||||||
nagios-web \
|
nagios-web \
|
||||||
nrpe-plugin \
|
nrpe-plugin \
|
||||||
|
openssh-client-common \
|
||||||
perl \
|
perl \
|
||||||
|
python3 \
|
||||||
|
py3-dnspython \
|
||||||
ssmtp \
|
ssmtp \
|
||||||
tini && \
|
tini && \
|
||||||
chown nagios /etc/ssmtp/ssmtp.conf
|
chown nagios /etc/ssmtp/ssmtp.conf
|
||||||
@ -30,7 +33,9 @@ RUN apk add --no-cache \
|
|||||||
COPY FREE_send_notification.sh /usr/bin/FREE_send_notification.sh
|
COPY FREE_send_notification.sh /usr/bin/FREE_send_notification.sh
|
||||||
COPY entrypoint.sh /docker-entrypoint.sh
|
COPY entrypoint.sh /docker-entrypoint.sh
|
||||||
|
|
||||||
|
ADD https://raw.githubusercontent.com/stump/check_sshfp/master/check_sshfp /usr/lib/nagios/plugins/check_sshfp
|
||||||
ADD https://gist.githubusercontent.com/nemunaire/9669659/raw/977cfce7246249c17e213b0b2b231220257754fa/nagios-status.pl /usr/bin/nagios-status.pl
|
ADD https://gist.githubusercontent.com/nemunaire/9669659/raw/977cfce7246249c17e213b0b2b231220257754fa/nagios-status.pl /usr/bin/nagios-status.pl
|
||||||
|
RUN chmod +x /usr/lib/nagios/plugins/check_sshfp /usr/bin/nagios-status.pl
|
||||||
|
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
USER nagios
|
USER nagios
|
||||||
|
Loading…
Reference in New Issue
Block a user