You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if var_true "${CONTAINER_ENABLE_MONITORING}" ; then
40
-
source /container/base/defaults/03-monitoring
40
+
source /container/base/defaults/*-monitoring
41
41
case "${CONTAINER_MONITORING_BACKEND,,}" in
42
42
"zabbix" )
43
43
cat <<EOF | silent tee "${ZABBIX_CONFIG_PATH%/}"/"${ZABBIX_CONFIG_FILE}.d"/nfrastack_redis.conf
@@ -48,13 +48,13 @@ EOF
48
48
case "${ZABBIX_AGENT_TYPE,,}" in
49
49
"1" | "classic" | "c" | "legacy" | "old" )
50
50
:
51
-
;;
51
+
;;
52
52
"2" | "m" | "n" | "modern" | "new" )
53
53
echo "Plugins.Redis.Sessions.${ZABBIX_SESSION_NAME}.Uri=tcp://localhost:${REDIS_PORT}" | silent tee -a "${ZABBIX_CONFIG_PATH%/}"/"${ZABBIX_CONFIG_FILE}.d"/nfrastack_redis.conf
54
54
if [ -n "${REDIS_PASS}" ] ; then
55
55
echo "Plugins.Redis.Sessions.${ZABBIX_SESSION_NAME}.Password=${REDIS_PASS}" | silent tee -a "${ZABBIX_CONFIG_PATH%/}"/"${ZABBIX_CONFIG_FILE}.d"/nfrastack_redis.conf
0 commit comments