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)