Add check_sshfp
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
nemunaire 2022-02-06 10:23:17 +01:00
parent 897414d4dd
commit 21d1aee761

View File

@ -22,7 +22,10 @@ RUN apk add --no-cache \
nagios-plugins-tcp \
nagios-web \
nrpe-plugin \
openssh-client-common \
perl \
python3 \
py3-dnspython \
ssmtp \
tini && \
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 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
RUN chmod +x /usr/lib/nagios/plugins/check_sshfp /usr/bin/nagios-status.pl
ENTRYPOINT ["/docker-entrypoint.sh"]
USER nagios