Compare commits

...

12 Commits

Author SHA1 Message Date
Paolo Asperti e6f5f4092c
fix file perms
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-07-26 10:23:03 +02:00
Paolo Asperti 47d32d669b
version bump
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-07-26 10:16:34 +02:00
Paolo Asperti f05bb63007
fix startup script 2023-07-26 10:15:49 +02:00
Paolo Asperti 7759ca9ec7
version bump
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-07-26 10:04:25 +02:00
Paolo Asperti bcba8d258f
fix docker permission 2023-07-26 10:03:52 +02:00
Paolo Asperti 1045ebebd0
note on protection mode
continuous-integration/drone/push Build is passing Details
2023-07-26 09:44:30 +02:00
Paolo Asperti e0737632f8
version bump
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-07-26 09:15:48 +02:00
Paolo Asperti c37da6b538
update upstream agent
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-07-26 09:13:42 +02:00
Paolo Asperti 83e7d0bc1f
added port description 2023-07-26 09:12:51 +02:00
Paolo Asperti eee92ba7f2
enabled docker api access 2023-07-26 09:12:40 +02:00
Paolo Asperti 3b8cab00ad
fix s6
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-06-13 11:34:36 +02:00
Paolo Asperti c975d7d2b6
fix typo 2022-06-13 11:13:36 +02:00
6 changed files with 35 additions and 8 deletions

View File

@ -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.6" \
io.hass.type="addon" \
io.hass.arch="amd64"

View File

@ -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.6" \
io.hass.type="addon" \
io.hass.arch="armhf"

View File

@ -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.6" \
io.hass.type="addon" \
io.hass.arch="aarch64"

View File

@ -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.

View File

@ -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.6",
"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"
],

View File

@ -0,0 +1,9 @@
#!/bin/sh
# Instead of enforcing this requirement, we let the user choose
# if he/she wants to access docker: if so, disabling the "protection mode" is mandatory
exit 0
#!/usr/bin/with-contenv bashio
#bashio::require.unprotected