Skip to content

State data source for Thold: width, speed, degraded flag, and sample age #46

Closed

Description

@somethingwithproof

Summary

A script server input publishes the numbers Thold needs, with staleness that can itself be alerted on.

Requirements

  • REQ-ALERT-001 The input MUST return active_lanes, speed_rank, degraded (0 or 1), port_state, and age (seconds since the port's last sample) from the sample cache.
  • REQ-ALERT-002 Values MUST be U when unknown or stale, never 0; age MUST always be numeric when the port has ever been sampled.
  • REQ-ALERT-003 The input MUST read only the local cache and MUST NOT run a command or contact UFM during polling.
  • REQ-ALERT-004 State data sources MUST be assigned to the poller that runs the sweep for the fabric.

Acceptance criteria

  • Fixtures for healthy, downgraded, down, stale, and never-sampled ports.
  • Script server call time within the target for a 10,000-row cache.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions