This commit is contained in:
rainer
2022-11-05 19:18:53 +01:00
commit 74ff224b1a
2 changed files with 19 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM zabbix/zabbix-server-pgsql:alpine-6.2-latest
USER root
# force installation of python3
RUN apk add --update --no-cache python3 \
&& rm -rf /var/cache/apk/*
COPY tr064tool /usr/lib/zabbix/externalscripts
# 20220130: Beobachtet dass die Datei im Container nicht die notwendigen Berechtigungen hat,
# dadurch hat das Zabbix-Plugin nicht funktioniert und keine Daten angezeigt.
# Manuell im Container korrigiert, allerdings sollte das im Dockerfile gefixt werden
# Voschlag (noch nicht erprobt):
# RUN chmod 755 /usr/lib/zabbix/externalscripts/tr064tool
RUN chmod +x /usr/lib/zabbix/externalscripts/tr064tool

BIN
tr064tool Normal file

Binary file not shown.