Compare commits
3 Commits
e0737632f8
...
0.2.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
7759ca9ec7
|
|||
|
bcba8d258f
|
|||
|
1045ebebd0
|
@@ -5,9 +5,12 @@ ENV LANG C.UTF-8
|
|||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN apk add -U zabbix-agent2=6.0.13-r0 sudo
|
RUN \
|
||||||
|
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
||||||
|
addgroup -g 102 -S docker && \
|
||||||
|
addgroup zabbix docker
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.version="0.2.4" \
|
io.hass.version="0.2.5" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
io.hass.arch="amd64"
|
io.hass.arch="amd64"
|
||||||
@@ -5,9 +5,12 @@ ENV LANG C.UTF-8
|
|||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN apk add -U zabbix-agent2=6.0.13-r0 sudo
|
RUN \
|
||||||
|
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
||||||
|
addgroup -g 102 -S docker && \
|
||||||
|
addgroup zabbix docker
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.version="0.2.4" \
|
io.hass.version="0.2.5" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
io.hass.arch="armhf"
|
io.hass.arch="armhf"
|
||||||
@@ -5,9 +5,12 @@ ENV LANG C.UTF-8
|
|||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN apk add -U zabbix-agent2=6.0.13-r0 sudo
|
RUN \
|
||||||
|
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
||||||
|
addgroup -g 102 -S docker && \
|
||||||
|
addgroup zabbix docker
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.version="0.2.4" \
|
io.hass.version="0.2.5" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
io.hass.arch="aarch64"
|
io.hass.arch="aarch64"
|
||||||
@@ -3,3 +3,7 @@
|
|||||||
This addon enables a zabbix agent2 for the hassio instance.
|
This addon enables a zabbix agent2 for the hassio instance.
|
||||||
|
|
||||||
You obviously need a zabbix server for it to be meaningful.
|
You obviously need a zabbix server for it to be meaningful.
|
||||||
|
|
||||||
|
## Docker access
|
||||||
|
|
||||||
|
If you need the agent to access the underlying docker, you need to disable the "Protection mode" switch and restart the container.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "Zabbix Agent 2",
|
"name": "Zabbix Agent 2",
|
||||||
"url": "https://git.asperti.com/paspo/hassio-addons",
|
"url": "https://git.asperti.com/paspo/hassio-addons",
|
||||||
"image": "docker.asperti.com/paspo/hassio-zabbix-agent2",
|
"image": "docker.asperti.com/paspo/hassio-zabbix-agent2",
|
||||||
"version": "0.2.4",
|
"version": "0.2.5",
|
||||||
"slug": "zabbix-agent2",
|
"slug": "zabbix-agent2",
|
||||||
"description": "Zabbix Agent 2 for hass.io",
|
"description": "Zabbix Agent 2 for hass.io",
|
||||||
"startup": "services",
|
"startup": "services",
|
||||||
|
|||||||
6
rootfs/etc/cont-init.d/require_unprotected.sh
Normal file
6
rootfs/etc/cont-init.d/require_unprotected.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
# Instead of enforcing this requirement, we let the user choose
|
||||||
|
# to access docker, we need to disable "protection mode"
|
||||||
|
|
||||||
|
#bashio::require.unprotected
|
||||||
Reference in New Issue
Block a user