Created
August 21, 2017 12:11
-
-
Save fjaeckel/719b15ce716803ea3268bcde543d25da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brocadeMLXOptics: | |
version: 2 | |
walk: | |
- 1.3.6.1.4.1.1991.1.1.3.3.6.1.1 | |
- 1.3.6.1.4.1.1991.1.1.3.3.6.1.2 | |
- 1.3.6.1.4.1.1991.1.1.3.3.6.1.3 | |
- 1.3.6.1.4.1.1991.1.1.3.3.6.1.4 | |
lookups: | |
- old_index: ifIndex | |
new_index: ifDescr | |
overrides: | |
snIfOpticalMonitoringTemperature: | |
regex_extracts: | |
Value: | |
- regex: '^\ +(\d+\.\d+).*$' | |
value: '$1' | |
State: | |
- regex: '.*N\/A.*' | |
value: '0' | |
- regex: '.*Normal' | |
value: '1' | |
- regex: '.*' | |
value: '2' | |
snIfOpticalMonitoringTxPower: | |
regex_extracts: | |
Value: | |
- regex: '^\ +(-\d+\.\d+).*$' | |
value: '$1' | |
State: | |
- regex: '.*N\/A.*' | |
value: '0' | |
- regex: '.*Normal' | |
value: '1' | |
- regex: '.*Low-Alarm' | |
value: '2' | |
- regex: '.*High-Alarm' | |
value: '3' | |
- regex: '.*' | |
value: '4' | |
snIfOpticalMonitoringRxPower: | |
regex_extracts: | |
Value: | |
- regex: '^\ +(-\d+\.\d+).*$' | |
value: '$1' | |
State: | |
- regex: '.*N\/A.*' | |
value: '0' | |
- regex: '.*Normal' | |
value: '1' | |
- regex: '.*Low-Alarm' | |
value: '2' | |
- regex: '.*High-Alarm' | |
value: '3' | |
- regex: '.*' | |
value: '4' | |
snIfOpticalMonitoringTxBiasCurrent: | |
regex_extracts: | |
Value: | |
- regex: '^\ +(-\d+\.\d+).*$' | |
value: '$1' | |
State: | |
- regex: '.*N\/A.*' | |
value: '0' | |
- regex: '.*Normal' | |
value: '1' | |
- regex: '.*Low-Alarm' | |
value: '2' | |
- regex: '.*High-Alarm' | |
value: '3' | |
- regex: '.*' | |
value: '4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment