Skip to content

[Feature] Add CLI support for configuring persistent drop monitor #3757

Open
@arista-hpandya

Description

@arista-hpandya

Description:

This issue tracks the implementation of CLI support for configuring and managing the persistent drop monitor feature in SONiC. This feature enables users to define thresholds for drop counts and incident counts within a specified time window, which triggers syslog entries when persistent drops are detected.

Tasks:

  • Implement new CLI commands to enable/disable and configure the persistent drop monitor, including:
    • Setting the monitoring window size (-w/--window)
    • Setting the drop count threshold (-dct/--drop-count-threshold)
    • Setting the incident count threshold (-ict/--incident-count-threshold)
  • Update the show dropcounters monitor command to display the current monitor configuration.
  • Implement input validation and error handling for the new CLI commands.
  • Add unit tests to cover the new CLI functionality.
  • Update documentation to reflect the new CLI commands and options.

Background:

The persistent drop monitor feature allows for proactive monitoring and identification of persistent packet drops in the SONiC environment. It builds upon the existing drop counter functionality and provides a mechanism to detect and log sustained drop patterns. The configuration is global and applies to all configured drop counters on the device.

References:

Assignee:
@arista-hpandya

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions