github.com/psiphon-inc/goarista@v0.0.0-20160825065156-d002785f4c67/cmd/octsdb/sampleconfig.json (about) 1 { 2 "comment": "This is a sample configuration", 3 "subscriptions": [ 4 "/Sysdb/environment/cooling/status", 5 "/Sysdb/environment/power/status", 6 "/Sysdb/environment/temperature/status", 7 "/Sysdb/interface/counter/eth/lag", 8 "/Sysdb/interface/counter/eth/slice/phy" 9 ], 10 "metricPrefix": "eos", 11 "metrics": { 12 "intfCounter": { 13 "path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P<intf>.+)/intfCounter/current/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)" 14 }, 15 "intfPktCounter": { 16 "path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P<intf>.+)/intfCounter/current/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)" 17 }, 18 19 "tempSensor": { 20 "path": "/Sysdb/(environment)/temperature/status/tempSensor/(?P<sensor>.+)/((?:maxT|t)emperature)/value" 21 }, 22 "tempSensorAlert": { 23 "path": "/Sysdb/(environment)/temperature/status/tempSensor/(?P<sensor>.+)/(alertRaisedCount)" 24 }, 25 "currentSensor": { 26 "path": "/Sysdb/(environment)/power/status/currentSensor/(?P<sensor>.+)/(current)/value" 27 }, 28 "powerSensor": { 29 "path": "/Sysdb/(environment/power)/status/powerSupply/(?P<sensor>.+)/(input|output)Power/value" 30 }, 31 "voltageSensor": { 32 "path": "/Sysdb/(environment)/power/status/voltageSensor/(?P<sensor>.+)/(voltage)/value" 33 }, 34 "railCurrentSensor": { 35 "path": "/Sysdb/(environment)/power/status/voltageSensor/(?P<sensor>.+)/(current)/value" 36 }, 37 "fanSpeed": { 38 "path": "/Sysdb/(environment)/cooling/status/(fan)/(?P<fan>.+)/(speed)/value" 39 } 40 } 41 }