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

[AS7726-32X] Support show system-health #8305

Open
wants to merge 14 commits into
base: 202012
Choose a base branch
from

Conversation

jostar-yang
Copy link
Contributor

Signed-off-by: Jostar Yang [email protected]

Why I did it

Add to support show system-health

How I did it

Add needed code and file.

How to verify it

Test show system-health
root@sonic:/home/admin# show system-health detail
System status summary

System status LED STATUS_LED_COLOR_RED
Services:
Status: OK
Hardware:
Status: Not OK
Reasons: PSU 1 is out of power
container_checker is not Status ok

System services and devices monitor list

Name Status Type


container_checker Not OK Program
sonic OK System
rsyslog OK Process
root-overlay OK Filesystem
var-log OK Filesystem
routeCheck OK Program
telemetry|telemetry OK Program
telemetry|dialout_client OK Program
teamd|teamsyncd OK Program
teamd|teammgrd OK Program
syncd|syncd OK Program
syncd|dsserve OK Program
swss|orchagent OK Program
swss|portsyncd OK Program
swss|neighsyncd OK Program
swss|fdbsyncd OK Program
swss|vrfmgrd OK Program
swss|vlanmgrd OK Program
swss|intfmgrd OK Program
swss|portmgrd OK Program
swss|buffermgrd OK Program
swss|nbrmgrd OK Program
swss|vxlanmgrd OK Program
swss|coppmgrd OK Program
swss|tunnelmgrd OK Program
snmp|snmpd OK Program
snmp|snmp_subagent OK Program
sflow|sflowmgrd OK Program
lldp|lldpd_monitor OK Program
lldp|lldp_syncd OK Program
lldp|lldpmgrd OK Program
database|redis_server OK Program
bgp|zebra OK Program
bgp|fpmsyncd OK Program
bgp|bgpd OK Program
bgp|staticd OK Program
bgp|bgpcfgd OK Program
bgp|bgpmon OK Program
PSU 1 Not OK PSU
FAN-1F OK Fan
FAN-1R OK Fan
FAN-2F OK Fan
FAN-2R OK Fan
FAN-3F OK Fan
FAN-3R OK Fan
FAN-4F OK Fan
FAN-4R OK Fan
FAN-5F OK Fan
FAN-5R OK Fan
FAN-6F OK Fan
FAN-6R OK Fan
PSU-1 FAN-1 OK Fan
PSU-2 FAN-1 OK Fan
PSU 2 OK PSU

System services and devices ignore list

Name Status Type


asic Ignored Device
psu.temperature Ignored Device

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@jostar-yang
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jostar-yang
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lgtm-com
Copy link

lgtm-com bot commented Oct 15, 2021

This pull request introduces 3 alerts when merging c6e047b into 967d8ab - view on LGTM.com

new alerts:

  • 2 for Syntax error
  • 1 for Unused import

@jostar-yang
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@jostar-yang
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 5, 2022

CLA Missing ID CLA Not Signed

@jostar-yang
Copy link
Contributor Author

/easycla

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

Successfully merging this pull request may close these issues.

2 participants