Compare commits
9 Commits
46c224cd9f
...
0.2.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
7759ca9ec7
|
|||
|
bcba8d258f
|
|||
|
1045ebebd0
|
|||
|
e0737632f8
|
|||
|
c37da6b538
|
|||
|
83e7d0bc1f
|
|||
|
eee92ba7f2
|
|||
|
3b8cab00ad
|
|||
|
c975d7d2b6
|
@@ -5,9 +5,12 @@ ENV LANG C.UTF-8
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
RUN apk add -U zabbix-agent2=6.0.5-r0 sudo
|
||||
RUN \
|
||||
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
||||
addgroup -g 102 -S docker && \
|
||||
addgroup zabbix docker
|
||||
|
||||
LABEL \
|
||||
io.hass.version="0.2.2" \
|
||||
io.hass.version="0.2.5" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.arch="amd64"
|
||||
@@ -5,9 +5,12 @@ ENV LANG C.UTF-8
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
RUN apk add -U zabbix-agent2=6.0.5-r0 sudo
|
||||
RUN \
|
||||
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
||||
addgroup -g 102 -S docker && \
|
||||
addgroup zabbix docker
|
||||
|
||||
LABEL \
|
||||
io.hass.version="0.2.2" \
|
||||
io.hass.version="0.2.5" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.arch="armhf"
|
||||
@@ -5,9 +5,12 @@ ENV LANG C.UTF-8
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
RUN apk add -U zabbix-agent2=6.0.5-r0 sudo
|
||||
RUN \
|
||||
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
||||
addgroup -g 102 -S docker && \
|
||||
addgroup zabbix docker
|
||||
|
||||
LABEL \
|
||||
io.hass.version="0.2.2" \
|
||||
io.hass.version="0.2.5" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.arch="aarch64"
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
This addon enables a zabbix agent2 for the hassio instance.
|
||||
|
||||
You obviously neead 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,14 +2,16 @@
|
||||
"name": "Zabbix Agent 2",
|
||||
"url": "https://git.asperti.com/paspo/hassio-addons",
|
||||
"image": "docker.asperti.com/paspo/hassio-zabbix-agent2",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.5",
|
||||
"slug": "zabbix-agent2",
|
||||
"description": "Zabbix Agent 2 for hass.io",
|
||||
"startup": "services",
|
||||
"boot": "auto",
|
||||
"hassio_api": true,
|
||||
"docker_api": true,
|
||||
"audio": false,
|
||||
"gpio": false,
|
||||
"init": false,
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64"
|
||||
@@ -17,6 +19,9 @@
|
||||
"ports": {
|
||||
"10050/tcp": 10050
|
||||
},
|
||||
"ports_description": {
|
||||
"10050/tcp": "Zabbix Agent port (used by Zabbix Server and/or proxies)"
|
||||
},
|
||||
"map": [
|
||||
"share"
|
||||
],
|
||||
|
||||
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