Commit 999611b8 authored by Robert Spencer's avatar Robert Spencer

Replace fixed Zabbix config path with variable

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