Skip to content

Commit

Permalink
Move comment to better place
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Dec 7, 2023
1 parent 00493ea commit f9a4f13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockers/docker-platform-monitor/etc/rsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ $SystemLogRateLimitBurst 20000
set $.PLATFORM=getenv("PLATFORM");
set $.CONTAINER_NAME=getenv("CONTAINER_NAME");

if ($.PLATFORM == "x86_64-mlnx_msn2700-r0" or $.PLATFORM == "x86_64-mlnx_msn2700a1-r0" or $.PLATFORM == "x86_64-mlnx_msn2410-r0") then {

# This rsyslog configuration is intended to resolve the following error message that only appears on the MSN2700 and MSN2410 platforms:
# "ERR pmon#sensord: Error getting sensor data: dps460/#10: Can't read"
# This error is because of firmware issue with some type of PSU, we are not able to upgrade the FW online.
# Since there is no functional impact, this error log can be ignored safely.

if ($.PLATFORM == "x86_64-mlnx_msn2700-r0" or $.PLATFORM == "x86_64-mlnx_msn2700a1-r0" or $.PLATFORM == "x86_64-mlnx_msn2410-r0") then {
if $programname contains "sensord" and $msg contains "Error getting sensor data: dps460/#" then stop
if $programname contains "sensord" and $msg contains "Error getting sensor data: dps460/#" then stop
}

# Set remote syslog server
Expand Down

0 comments on commit f9a4f13

Please sign in to comment.