Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include voltage and current sensors in system health. #16646

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bmridul
Copy link
Contributor

@bmridul bmridul commented Sep 21, 2023

Why I did it

Added voltage and current sensors in system health determination. Enhancement as part of HLD - sonic-net/SONiC#1394

Work item tracking
  • Microsoft ADO (number only):

How I did it

Added checks for sensors in hardware_checker script

How to verify it

show system-health detail, will show all voltage/current sensors and their status.
Check UT log.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

  • [202205]

Description for the changelog

Link to config_db schema for YANG module changes

Unit test

root@sonic:/home/cisco# show system-health det
System status summary

System status LED green
Services:
Status: OK
Hardware:
Status: Not OK
Reasons: Voltage sensor VP0P85_VDD_PHY1217 measurement 0 mV out of range (709,902)
...
VP0P85_VDD_PHY1217 Not OK voltage
VP1P7_CPU_C OK voltage
VP1P3_CPU_C OK voltage
...

A picture of a cute animal (not mandatory but encouraged)

@prgeor
Copy link
Contributor

prgeor commented May 28, 2024

@bmridul please fix the build error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants