-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
jostar-yang
wants to merge
14
commits into
sonic-net:202012
Choose a base branch
from
jostar-yang:as7726-32x_20210802_health_202012br
base: 202012
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[AS7726-32X] Support show system-health #8305
jostar-yang
wants to merge
14
commits into
sonic-net:202012
from
jostar-yang:as7726-32x_20210802_health_202012br
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Jostar Yang <[email protected]>
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
This pull request introduces 3 alerts when merging c6e047b into 967d8ab - view on LGTM.com new alerts:
|
/azpw run |
/AzurePipelines run |
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. |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
|
/easycla |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)