[Mellanox] Add special rsyslog filter for MSN2410 platform (#17365)
- Why I did it Mellanox MSN2410 platforms have a non-functional error log: "ERR pmon#sensord: Error getting sensor data: dps460/#10: Can't read". This error is because of a firmware issue with some PSU, we are not able to upgrade the FW online. Since there is no functional impact, this error log can be ignored safely - How I did it Add a new rsyslog rule to the rsyslog-container.conf.j2, if the docker name is pmon and the platform name matches, the new rule will be inserted into the docker rsyslogd.conf - How to verify it run regression on the MSN2410 platform to make the error log will not be printed to the syslog. Signed-off-by: Kebo Liu <kebol@nvidia.com>
This commit is contained in:
parent
c9ae11d681
commit
4c699050e8
@ -53,9 +53,9 @@ $SystemLogRateLimitBurst 20000
|
|||||||
#### GLOBAL DIRECTIVES ####
|
#### GLOBAL DIRECTIVES ####
|
||||||
###########################
|
###########################
|
||||||
{% if container_name == 'pmon' %}
|
{% if container_name == 'pmon' %}
|
||||||
{% if platform == 'x86_64-mlnx_msn2700-r0' or platform == 'x86_64-mlnx_msn2700a1-r0' %}
|
{% if platform == 'x86_64-mlnx_msn2700-r0' or platform == 'x86_64-mlnx_msn2700a1-r0' or platform == 'x86_64-mlnx_msn2410-r0' %}
|
||||||
|
|
||||||
# This rsyslog configuration is intended to resolve the following error message that only appears on the MSN2700 platform:
|
# 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"
|
# "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.
|
# 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.
|
# Since there is no functional impact, this error log can be ignored safely.
|
||||||
|
Loading…
Reference in New Issue
Block a user