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

[201911] [multi_asic] Script to monitor errors on internal links #2971

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

tjchadaga
Copy link
Contributor

What I did

Added script to monitor SAI_PORT_STAT_IF_IN_ERRORS & SAI_PORT_STAT_IF_OUT_ERRORS on internal (backend) ports of multi-asic device.

Duplicate of #2966. Addressed comments provided there

How I did it

Script is added to monit to regularly scan and check for errors on internal ports. If error count is above configured threshold, and the internal port-channel has more than min_links active links, then the port is shut down and syslog is generated.

How to verify it

UT cases are added to test the error detection.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

Copy link
Contributor

@arlakshm arlakshm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

3 participants