get_link_flaps
Detect network interfaces with repeated up/down transitions to pinpoint unstable ports caused by cabling, duplex mismatches, or power issues.
Instructions
Identify interfaces with repeated up/down transitions in a time window. Answers 'which ports are unstable?' Common causes: bad cable, duplex mismatch, bad SFP, PoE power cycling, WAN instability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Scope to a device name (substring match) | |
| group_id | No | Scope to a device group | |
| hours_back | No | Lookback window in hours (default: 24) | |
| min_transitions | No | Minimum alert fires to qualify as flapping | |
| interface_pattern | No | Case-insensitive regex matching interface DataSource names | interface|interfaces|if-|port|ethernet |