Skip to content

Commit 75f0ec4

Browse files
Staphylomssonicbld
authored andcommitted
[Arista] update sensors.conf to ignore sensors (sonic-net#12529)
Why I did it The sensors and sensord processes were reporting data on unused sensors. This lead to ALARM messages or erroneous values that could be misinterpreted. How I did it Ignore the affected sensors in the sensors.conf How to verify it Check that there are no longer ALARM messages from sensord in the syslog or in the output of sensors
1 parent d1d5bce commit 75f0ec4

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

device/arista/x86_64-arista_7050_qx32s/sensors.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ bus "i2c-7" "SCD 0000:02:00.0 SMBus master 0 bus 5"
1111
chip "k10temp-pci-00c3"
1212
label temp1 "Cpu temp sensor"
1313

14+
chip "fam15h_power-pci-00c4"
15+
ignore power1
16+
1417
chip "max6658-i2c-2-4c"
1518
label temp1 "Board temp sensor"
1619
set temp1_max 55
@@ -34,7 +37,13 @@ chip "pmbus-i2c-6-58"
3437
label temp2 "Power supply 1 inlet temp sensor"
3538
label temp3 "Power supply 1 sensor"
3639

40+
ignore fan2
41+
ignore fan3
42+
3743
chip "pmbus-i2c-5-58"
3844
label temp1 "Power supply 2 hotspot sensor"
3945
label temp2 "Power supply 2 inlet temp sensor"
4046
label temp3 "Power supply 2 sensor"
47+
48+
ignore fan2
49+
ignore fan3

device/arista/x86_64-arista_7050cx3_32s/sensors.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ bus "i2c-14" "SCD 0000:02:00.0 SMBus master 1 bus 4"
1010
chip "k10temp-pci-00c3"
1111
label temp1 "Cpu temp sensor"
1212

13+
chip "fam15h_power-pci-00c4"
14+
ignore power1
15+
1316
chip "max6658-i2c-2-4c"
1417
label temp1 "Cpu board temp sensor"
1518
set temp1_max 75
@@ -33,7 +36,13 @@ chip "pmbus-i2c-13-58"
3336
label temp2 "Power supply 1 inlet temp sensor"
3437
label temp3 "Power supply 1 sensor"
3538

39+
ignore fan2
40+
ignore fan3
41+
3642
chip "pmbus-i2c-14-58"
3743
label temp1 "Power supply 2 hotspot sensor"
3844
label temp2 "Power supply 2 inlet temp sensor"
3945
label temp3 "Power supply 2 sensor"
46+
47+
ignore fan2
48+
ignore fan3

device/arista/x86_64-arista_7060_cx32s/sensors.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ bus "i2c-7" "SCD 0000:02:00.0 SMBus master 0 bus 5"
1111
chip "k10temp-pci-00c3"
1212
label temp1 "Cpu temp sensor"
1313

14+
chip "fam15h_power-pci-00c4"
15+
ignore power1
16+
1417
chip "max6697-i2c-2-1a"
1518
label temp1 "Board sensor"
1619
set temp1_max 95
@@ -45,7 +48,13 @@ chip "pmbus-i2c-6-58"
4548
label temp2 "Power supply 1 inlet temp sensor"
4649
label temp3 "Power supply 1 exhaust temp sensor"
4750

51+
ignore fan2
52+
ignore fan3
53+
4854
chip "pmbus-i2c-5-58"
4955
label temp1 "Power supply 2 hotspot sensor"
5056
label temp2 "Power supply 2 inlet temp sensor"
5157
label temp3 "Power supply 2 exhaust temp sensor"
58+
59+
ignore fan2
60+
ignore fan3

0 commit comments

Comments
 (0)