make collectd write to timescaledb and other fixes

This commit is contained in:
2025-01-31 09:12:59 +01:00
parent 45bc33ac23
commit 60fd60061d
4 changed files with 18 additions and 6 deletions

View File

@@ -40,4 +40,8 @@ RUN echo 'collectd ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/collectd
RUN apt install -y --no-install-recommends python3-pip
RUN pip install --break-system-packages requests
RUN wget https://github.com/nickbabcock/pg-collectd/releases/download/v0.2.0/pg-collectd-collectd57_0.2.0_amd64.deb
RUN dpkg -i pg-collectd-collectd57_0.2.0_amd64.deb
RUN rm pg-collectd-collectd57_0.2.0_amd64.deb
CMD ["/usr/sbin/collectd", "-f"]