Skip to content

Include voltage and current sensors in system health.#16646

Open
bmridul wants to merge 1 commit intosonic-net:masterfrom
bmridul:sensormon_health
Open

Include voltage and current sensors in system health.#16646
bmridul wants to merge 1 commit intosonic-net:masterfrom
bmridul:sensormon_health

Conversation

@bmridul
Copy link
Copy Markdown
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
Copy Markdown
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