Skip to content

Commit dc18ea4

Browse files
committed
3.0.0pre
1 parent 28dac93 commit dc18ea4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rootfs/container/functions/10-redis

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ redis_build_runtime_arguments() {
3737

3838
redis_configure_monitoring() {
3939
if var_true "${CONTAINER_ENABLE_MONITORING}" ; then
40-
source /container/base/defaults/03-monitoring
40+
source /container/base/defaults/*-monitoring
4141
case "${CONTAINER_MONITORING_BACKEND,,}" in
4242
"zabbix" )
4343
cat <<EOF | silent tee "${ZABBIX_CONFIG_PATH%/}"/"${ZABBIX_CONFIG_FILE}.d"/nfrastack_redis.conf
@@ -48,13 +48,13 @@ EOF
4848
case "${ZABBIX_AGENT_TYPE,,}" in
4949
"1" | "classic" | "c" | "legacy" | "old" )
5050
:
51-
;;
51+
;;
5252
"2" | "m" | "n" | "modern" | "new" )
5353
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
5454
if [ -n "${REDIS_PASS}" ] ; then
5555
echo "Plugins.Redis.Sessions.${ZABBIX_SESSION_NAME}.Password=${REDIS_PASS}" | silent tee -a "${ZABBIX_CONFIG_PATH%/}"/"${ZABBIX_CONFIG_FILE}.d"/nfrastack_redis.conf
5656
fi
57-
;;
57+
;;
5858
esac
5959
;;
6060
esac

0 commit comments

Comments
 (0)