Add nagios-status.pl
This commit is contained in:
parent
e221311c73
commit
2c76c9f90c
@ -22,14 +22,16 @@ RUN apk add --no-cache \
|
|||||||
nagios-plugins-tcp \
|
nagios-plugins-tcp \
|
||||||
nagios-web \
|
nagios-web \
|
||||||
nrpe-plugin \
|
nrpe-plugin \
|
||||||
|
perl \
|
||||||
ssmtp \
|
ssmtp \
|
||||||
tini && \
|
tini && \
|
||||||
chown nagios /etc/ssmtp/ssmtp.conf
|
chown nagios /etc/ssmtp/ssmtp.conf
|
||||||
|
|
||||||
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://gist.githubusercontent.com/nemunaire/9669659/raw/977cfce7246249c17e213b0b2b231220257754fa/nagios-status.pl /usr/bin/nagios-status.pl
|
||||||
|
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
|
||||||
USER nagios
|
USER nagios
|
||||||
|
|
||||||
CMD ["/usr/sbin/nagios", "/etc/nagios/nagios.cfg"]
|
CMD ["/usr/sbin/nagios", "/etc/nagios/nagios.cfg"]
|
||||||
|
Loading…
Reference in New Issue
Block a user