opaextractbadlinks

Produces a CSV file listing all or some of the links that exceed opareport -o error thresholds. opaextractbadlinks.sh is a front end to the opareport tool. The output from this tool can be imported into a spreadsheet or parsed by other scripts.

Syntax

opaextractbadlinks [--help] [opareport options]

or

opaextractbadlinks --help

Options

opareport options

Options are passed to opareport.

Examples

# List all the bad links in the fabric:
opaextractbadlinks.sh

# List all the bad links to a switch named "OmniPth00117501ffffffff":
opaextractbadlinks.sh -F "node:OmniPth00117501ffffffff"

# List all the bad links to end-nodes:
opaextractbadlinks.sh -F "nodetype:FI"

# List all the bad links on the 2nd HFI's fabric of a multi-plane fabric:
opaextractbadlinks.sh -h 2