]> arthur.ath.cx Git - ZabbixExtensions.git/blobdiff - deploy.sh
deploy.sh: Make sure /usr/local/etc/zabbix/zabbix_agentd.conf.d exists
[ZabbixExtensions.git] / deploy.sh
index 3c1d9564920171db1eaff029c88ab657a00bfd6f..c925fc8d14232cfa230889e0c6375c4248310b39 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -54,6 +54,8 @@ refresh_sudo() {
 for host in "$@"; do
        ax_msg - "$host ..."
 
+       ssh root@$host mkdir -p /usr/local/etc/zabbix/zabbix_agentd.conf.d
+
        # Zabbix agent configuration
        out=$(rsync -rt --delete --log-format=%f -e ssh --exclude Makefile \
         "$BASE_DIR/etc/zabbix_agentd.conf.d/" \