ntc_templates/templates/cisco_nxos_show_environment_temperature.textfsm
raw| 1 | Value CURRENT_VALUE (\d+) |
| 2 | Value MAJOR_THRESHOLD (\d+) |
| 3 | Value MINOR_THRESHOLD (\d+) |
| 4 | Value STATUS (\S+) |
| 5 | Value MODULE (\S+) |
| 6 | Value SENSOR ((\s|\S)+?) |
| 7 | |
| 8 | Start |
| 9 | ^Temperature |
| 10 | ^-+ |
| 11 | ^Module\s+Sensor\s+MajorThresh\s+ |
| 12 | ^(\s+\(Celsius\))+ |
| 13 | ^${MODULE}\s+${SENSOR}\s+${MAJOR_THRESHOLD}\s+${MINOR_THRESHOLD}\s+${CURRENT_VALUE}\s+${STATUS} -> Record |
| 14 | ^\s+$$ |
| 15 | ^$$ |
| 16 | ^.* -> Error "LINE NOT FOUND" |