Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | FROM alpine:3.14 |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 2 | LABEL maintainer "André Peters <andre.peters@servercow.de>" |
| 3 | |
| 4 | # Installation |
| 5 | RUN apk add --update \ |
| 6 | && apk add --no-cache nagios-plugins-smtp \ |
| 7 | nagios-plugins-tcp \ |
| 8 | nagios-plugins-http \ |
| 9 | nagios-plugins-ping \ |
| 10 | mariadb-client \ |
| 11 | curl \ |
| 12 | bash \ |
| 13 | coreutils \ |
| 14 | jq \ |
| 15 | fcgi \ |
| 16 | openssl \ |
| 17 | nagios-plugins-mysql \ |
| 18 | nagios-plugins-dns \ |
| 19 | nagios-plugins-disk \ |
| 20 | bind-tools \ |
| 21 | redis \ |
| 22 | perl \ |
| 23 | perl-net-dns \ |
| 24 | perl-io-socket-ssl \ |
| 25 | perl-io-socket-inet6 \ |
| 26 | perl-socket \ |
| 27 | perl-socket6 \ |
| 28 | perl-mime-lite \ |
| 29 | perl-term-readkey \ |
| 30 | tini \ |
| 31 | tzdata \ |
| 32 | whois \ |
| 33 | && curl https://raw.githubusercontent.com/mludvig/smtp-cli/v3.10/smtp-cli -o /smtp-cli \ |
| 34 | && chmod +x smtp-cli |
| 35 | |
| 36 | COPY watchdog.sh /watchdog.sh |
| 37 | COPY check_mysql_slavestatus.sh /usr/lib/nagios/plugins/check_mysql_slavestatus.sh |
| 38 | |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 39 | CMD /watchdog.sh |