Skip to content

Commit

Permalink
[devices]: DellEMC S6100/Z9100 sensor.conf update (#2861)
Browse files Browse the repository at this point in the history
  • Loading branch information
paavaanan authored and yxieca committed May 9, 2019
1 parent dc2fb74 commit b54d787
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 10 deletions.
22 changes: 21 additions & 1 deletion device/dell/x86_64-dell_s6100_c2538-r0/sensors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ label power2 "PSU1 Output Power"
label power3 "PSU2 Input Power"
label power4 "PSU2 Output Power"
label temp14 "PSU1 Temp"
label temp15 "PSU1 Temp"
label temp15 "PSU2 Temp"
label curr601 "PSU1 Input Current"
label curr602 "PSU1 Output Current"
label curr701 "PSU2 Input Current"
label curr702 "PSU2 Output Current"
ignore temp12
ignore temp13
ignore in101
ignore in102
ignore in103
ignore in104
ignore in201
ignore in202
ignore in203
ignore in204
ignore in301
ignore in302
ignore in303
ignore in304
ignore in401
ignore in402
ignore in403
ignore in404
22 changes: 21 additions & 1 deletion device/dell/x86_64-dell_z9100_c2538-r0/sensors.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,29 @@ label power2 "PSU1 Output Power"
label power3 "PSU2 Input Power"
label power4 "PSU2 Output Power"
label temp14 "PSU1 Temp"
label temp15 "PSU1 Temp"
label temp15 "PSU2 Temp"
label curr601 "PSU1 Input Current"
label curr602 "PSU1 Output Current"
label curr701 "PSU2 Input Current"
label curr702 "PSU2 Output Current"
ignore temp12
ignore temp13
ignore temp5
ignore temp7
ignore temp8
ignore in101
ignore in102
ignore in103
ignore in104
ignore in201
ignore in202
ignore in203
ignore in204
ignore in301
ignore in302
ignore in303
ignore in304
ignore in401
ignore in402
ignore in403
ignore in404
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/bin/bash
docker exec -i pmon sensors "$@"

#To probe sensors not part of lm-sensors
if [ -r /usr/local/bin/platform_sensors.py ]; then
python /usr/local/bin/platform_sensors.py
fi
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/bin/bash
docker exec -i pmon sensors "$@"

#To probe sensors not part of lm-sensors
if [ -r /usr/local/bin/platform_sensors.py ]; then
python /usr/local/bin/platform_sensors.py
fi

0 comments on commit b54d787

Please sign in to comment.