From 68f1c026b6ed2db84ea3d71d9ba8af391b493d4e Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Wed, 20 Mar 2019 09:13:18 +0100 Subject: [PATCH 1/7] custom config path --- zabbix-agent/run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zabbix-agent/run.sh b/zabbix-agent/run.sh index 4370f7c..0d1d379 100644 --- a/zabbix-agent/run.sh +++ b/zabbix-agent/run.sh @@ -2,13 +2,13 @@ set -e CONFIG_PATH=/data/options.json -CUSTOM_CFG_PATH=/config/zabbix-agent +CUSTOM_CFG_PATH=/data/zabbix-agent SERVER=$(jq --raw-output ".server" $CONFIG_PATH) HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH) -if [ ! -d /data/zabbix-agent ] ; then - mkdir /data/zabbix-agent +if [ ! -d "$CUSTOM_CFG_PATH" ] ; then + mkdir -p "$CUSTOM_CFG_PATH" fi echo " @@ -16,7 +16,7 @@ Server=$SERVER ServerActive=$SERVER Hostname=$HOSTNAME LogType=console -Include=/data/zabbix-agent/*.conf +Include=${CUSTOM_CFG_PATH}/*.conf " > /etc/zabbix/zabbix_agentd.conf sudo -u zabbix zabbix_agentd -f From a7a27cbaf079536f14fb7344a2cd90201201d267 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Wed, 20 Mar 2019 09:42:28 +0100 Subject: [PATCH 2/7] custom config moved to /share --- zabbix-agent/config.json | 2 +- zabbix-agent/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zabbix-agent/config.json b/zabbix-agent/config.json index 0d20910..e52e97d 100644 --- a/zabbix-agent/config.json +++ b/zabbix-agent/config.json @@ -18,7 +18,7 @@ "10050/tcp": 10050 }, "map": [ - "config" + "share" ], "options": { "server": "zabbix-server", diff --git a/zabbix-agent/run.sh b/zabbix-agent/run.sh index 0d1d379..fc67ef0 100644 --- a/zabbix-agent/run.sh +++ b/zabbix-agent/run.sh @@ -2,7 +2,7 @@ set -e CONFIG_PATH=/data/options.json -CUSTOM_CFG_PATH=/data/zabbix-agent +CUSTOM_CFG_PATH=/share/zabbix-agent SERVER=$(jq --raw-output ".server" $CONFIG_PATH) HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH) From d6484edbbf8f5570c7d8ff8dfdf49a89bfc3b892 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Wed, 20 Mar 2019 09:42:45 +0100 Subject: [PATCH 3/7] version bump --- zabbix-agent/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix-agent/config.json b/zabbix-agent/config.json index e52e97d..7b5c26d 100644 --- a/zabbix-agent/config.json +++ b/zabbix-agent/config.json @@ -1,7 +1,7 @@ { "name": "Zabbix Agent", "url": "https://git.asperti.com/paspo/hassio-addons", - "version": "0.1.1", + "version": "0.1.2", "slug": "zabbix-agent", "description": "Zabbix Agent for hass.io", "startup": "services", From abc7abd881c0b1c8d4f34a17c18a08db7fb0e37f Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Thu, 11 Jul 2019 10:51:20 +0200 Subject: [PATCH 4/7] added missing arch in config --- ot-recorder/config.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ot-recorder/config.json b/ot-recorder/config.json index e394db2..092b97f 100644 --- a/ot-recorder/config.json +++ b/ot-recorder/config.json @@ -1,7 +1,7 @@ { "name": "Owntracks Recorder", "url": "https://git.asperti.com/paspo/hassio-addons", - "version": "0.1.2", + "version": "0.1.3", "slug": "ot-recorder", "description": "Owntracks Recorder - connects to your mqtt broker and consumes owntracks locations", "startup": "before", @@ -9,6 +9,12 @@ "ports": { "8083": 8083 }, + "arch": [ + "aarch64", + "amd64", + "armhf", + "i386" + ], "webui": "http://[HOST]:[PORT:8083]/", "map": ["share:rw"], "options": { From 4eceabb5b29cf6f308fbb08506174c24f6268b72 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Thu, 11 Jul 2019 10:51:44 +0200 Subject: [PATCH 5/7] added missing arch in config --- snmpd/config.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snmpd/config.json b/snmpd/config.json index 2d9de5a..b04857d 100644 --- a/snmpd/config.json +++ b/snmpd/config.json @@ -9,6 +9,12 @@ "ports": { "161/udp": 161 }, + "arch": [ + "aarch64", + "amd64", + "armhf", + "i386" + ], "options": {}, "schema": {} } \ No newline at end of file From d42eb8ec86c11833daed76fedeb7ea6e7b340f01 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Tue, 21 Jan 2020 09:48:40 +0100 Subject: [PATCH 6/7] changed startup behaviour --- upsmon/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upsmon/config.json b/upsmon/config.json index 8ed536b..529b0ef 100644 --- a/upsmon/config.json +++ b/upsmon/config.json @@ -4,7 +4,7 @@ "version": "0.1.8", "slug": "upsmon", "description": "Connect to a remote NUT server", - "startup": "before", + "startup": "system", "boot": "auto", "arch": [ "aarch64", From 7c34507833fa12b6acb3b6e02bfc7abd10126997 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Tue, 21 Jan 2020 09:50:19 +0100 Subject: [PATCH 7/7] version bump --- upsmon/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upsmon/config.json b/upsmon/config.json index 529b0ef..121c67f 100644 --- a/upsmon/config.json +++ b/upsmon/config.json @@ -1,7 +1,7 @@ { "name": "Network UPS Tools - netclient", "url": "https://git.asperti.com/paspo/hassio-addons", - "version": "0.1.8", + "version": "0.1.9", "slug": "upsmon", "description": "Connect to a remote NUT server", "startup": "system",