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 [ "${CONTAINER_TYPE}"!="PrometheusSidecar" ] && [ "${GENEVA_LOGS_INTEGRATION_SERVICE_MODE}"!="true" ];then
664
666
#Parse the configmap to set the right environment variables.
665
667
ruby tomlparser.rb
@@ -998,6 +1000,18 @@ else
998
1000
echo"MDSD backpressure threshold not set since tail_mem_buf_limit_megabytes is used in configmap. Use backpressure_memory_threshold_in_mb in configmap to set it."
999
1001
fi
1000
1002
1003
+
if [ -n"$SYSLOG_HOST_PORT" ] && [ "$SYSLOG_HOST_PORT"!="28330" ];then
1004
+
echo"Updating rsyslog config file with non default SYSLOG_HOST_PORT value ${SYSLOG_HOST_PORT}"
1005
+
if sed -i "s/Port=\"[0-9]*\"/Port=\"$SYSLOG_HOST_PORT\"/g" /etc/opt/microsoft/docker-cimprov/70-rsyslog-forward-mdsd-ci.conf;then
1006
+
echo"Successfully updated the rsylog config file."
1007
+
else
1008
+
echo"Failed to update the rsyslog config file."
1009
+
fi
1010
+
else
1011
+
echo"SYSLOG_HOST_PORT is ${SYSLOG_HOST_PORT}. No changes made."
1012
+
fi
1013
+
SYSLOG_PORT_CONFIG="-y 0"# disables syslog listener for mdsd
1014
+
1001
1015
if [ "${CONTAINER_TYPE}"=="PrometheusSidecar" ];then
1002
1016
if [ "${MUTE_PROM_SIDECAR}"!="true" ];then
1003
1017
echo"starting mdsd with mdsd-port=26130, fluentport=26230 and influxport=26330 in sidecar container..."
@@ -1009,8 +1023,15 @@ if [ "${CONTAINER_TYPE}" == "PrometheusSidecar" ]; then
0 commit comments