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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_link_flaps"
}
}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 |