Commit 56455c73 authored by Nigel Kukard's avatar Nigel Kukard

Merge branch 'zabbix-config-variable' into 'master'

Replace fixed Zabbix config path with variable

See merge request !19
parents 31824075 999611b8
Pipeline #935 passed with stages
in 1 minute and 14 seconds
......@@ -69,6 +69,7 @@ do
--email="$REPORT_EMAIL" \
--port "$SERVER_PORT" --pubkey "$SERVER_KEY" \
$syncopts \
--zabbix "$PERIOD" --zabbix-config "$ZABBIX_CONFIG" \
"$SERVER_USER"@"$SERVER_HOST"::backup/"$PERIOD-$lv"
done
......@@ -84,5 +85,5 @@ backstep-traceback --backup \
--email="$REPORT_EMAIL" \
--port "$SERVER_PORT" --pubkey "$SERVER_KEY" \
$syncopts \
--zabbix $PERIOD --zabbix-config /etc/zabbix/zabbix_agentd.conf.d/allworldit.conf \
--zabbix "$PERIOD" --zabbix-config "$ZABBIX_CONFIG" \
"$SERVER_USER"@"$SERVER_HOST"::backup/"$PERIOD-host"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment