github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/cmd/octsdb/sample_configs/octsdb-7060.json (about) 1 { 2 "comment": "TerminAttr Parser to OpenTSB", 3 "subscriptions": [ 4 "/Smash/counters/ethIntf", 5 "/Smash/interface/counter/lag/current/counter", 6 "/Sysdb/environment/archer/cooling/status", 7 "/Sysdb/environment/archer/power/status", 8 "/Sysdb/environment/archer/temperature/status", 9 "/Sysdb/hardware/archer/xcvr/status", 10 "/Sysdb/interface/config/eth", 11 "/Kernel/proc/cpu/utilization", 12 "/Sysdb/connectivityMonitor", 13 "/Sysdb/interface/status/eth/phy/slice/1/intfStatus", 14 "/Sysdb/lag/input/interface/lag/intfStatus", 15 "/Sysdb/lag/input/interface/mlag/intfStatus" 16 ], 17 "metricPrefix": "eos", 18 "metrics": { 19 "totalCpu": { 20 "path": "/Kernel/proc/(cpu)/(utilization)/(total)/(?P<type>.+)" 21 }, 22 "coreCpu": { 23 "path": "/Kernel/proc/(cpu)/(utilization)/(.+)/(?P<type>.+)" 24 }, 25 "intfCounter": { 26 "path": "/Smash/counters/ethIntf/StrataCounters/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Octets|Errors|Discards))" 27 }, 28 "intfLagCounter": { 29 "path": "/Smash/interface/counter/lag/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)" 30 }, 31 "intfPktCounter": { 32 "path": "/Smash/counters/ethIntf/StrataCounters/current/counter/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)" 33 }, 34 "intfLagPktCounter": { 35 "path": "/Smash/interface/counter/lag/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)" 36 }, 37 "intfPfcClassCounter": { 38 "path": "/Smash/counters/ethIntf/StrataCounters/current/(counter)/(?P<intf>.+)/ethStatistics/(?P<direction>(?:in|out))(PfcClassFrames)" 39 }, 40 "tempSensor": { 41 "path": "/Sysdb/(environment)/archer/temperature/status/(?P<sensor>.+)/((?:maxT|t)emperature)" 42 }, 43 "tempSensorAlert": { 44 "path": "/Sysdb/(environment)/archer/temperature/status/(?P<sensor>.+)/(alertRaisedCount)" 45 }, 46 "currentSensor": { 47 "path": "/Sysdb/(environment)/archer/power/status/currentSensor/(?P<sensor>.+)/(current)" 48 }, 49 "powerSensor": { 50 "path": "/Sysdb/(environment)/archer/(power)/status/powerSupply/(?P<sensor>.+)/(input|output)Power" 51 }, 52 "voltageSensor": { 53 "path": "/Sysdb/(environment)/archer/power/status/voltageSensor/(?:cell/.+|system)/(?P<sensor>.+)/(voltage)" 54 }, 55 "railCurrentSensor": { 56 "path": "/Sysdb/(environment)/archer/power/status/voltageSensor/(?:cell/.+|system)/(?P<sensor>.+)/(current)" 57 }, 58 "fanSpeed": { 59 "path": "/Sysdb/(environment)/archer/(cooling)/status/(?P<fan>.+)/speed" 60 }, 61 "qsfpModularRxPower": { 62 "path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalRxPower)" 63 }, 64 "qsfpModularTxPower": { 65 "path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalTxPower)" 66 }, 67 "qsfpFixedRxPower": { 68 "path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalRxPower)" 69 }, 70 "qsfpFixedTxPower": { 71 "path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalTxPower)" 72 }, 73 "sfpModularTemperature": { 74 "path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/lastDomUpdateTime/(temperature)" 75 }, 76 "sfpFixedTemperature": { 77 "path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/lastDomUpdateTime/(temperature)" 78 }, 79 "sfpFixedRxTxPower": { 80 "path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/lastDomUpdateTime/(?P<powerdirection>(?:rx|tx))(Power)" 81 }, 82 "connectivityMonitor": { 83 "path": "/Sysdb/connectivityMonitor/status/hostStatus/(?P<originhost>.+)/defaultStats/(?P<traceType>(?:jitter|latency|packetLoss|httpResponseTime))" 84 }, 85 "operStatus": { 86 "path":"/Sysdb/interface/status/eth/phy/slice/1/intfStatus/(?P<intf>.+)/operStatus$", 87 "StaticValueMap":{ 88 "intfOperUp": 1, 89 "intfOperDown": 0, 90 "intfOperNotPresent": 0, 91 "default": 0 92 } 93 } 94 } 95 }