add munin-node

This commit is contained in:
Michael Grote 2023-04-16 14:58:22 +02:00
parent 35038ea0a7
commit f97358cf9c

View file

@ -16,6 +16,7 @@ RUN apt-get update && \
ssmtp \ ssmtp \
mailutils \ mailutils \
curl tzdata \ curl tzdata \
munin-node \
autoconf \ autoconf \
&& apt-get clean && \ && apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
@ -29,6 +30,8 @@ RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf)
(chfn -f 'munin' root) && \ (chfn -f 'munin' root) && \
(/usr/sbin/a2enmod fcgid) (/usr/sbin/a2enmod fcgid)
RUN rm -rf /etc/munin/plugins
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
COPY logrotate-munin /etc/logrotate.d/munin COPY logrotate-munin /etc/logrotate.d/munin
COPY munin.conf /etc/munin/munin.conf COPY munin.conf /etc/munin/munin.conf