{ "comment": "This is a sample configuration for EOS versions below 4.20", "subscriptions": [ "/Sysdb/interface/counter/eth/lag", "/Sysdb/interface/counter/eth/slice/phy", "/Sysdb/environment/temperature/status", "/Sysdb/environment/cooling/status", "/Sysdb/environment/power/status", "/Sysdb/hardware/xcvr/status/all/xcvrStatus" ], "metricPrefix": "eos", "metrics": { "intfCounter": { "path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P.+)/intfCounter/current/statistics/(?P(?:in|out))(Octets|Errors|Discards)" }, "intfPktCounter": { "path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P.+)/intfCounter/current/statistics/(?P(?:in|out))(?P(?:Ucast|Multicast|Broadcast))(Pkt)" }, "intfPfcClassCounter": { "path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P.+)/intfCounter/current/ethStatistics/(?P(?:in|out))(PfcClassFrames)" }, "tempSensor": { "path": "/Sysdb/(environment)/temperature/status/tempSensor/(?P.+)/((?:maxT|t)emperature)" }, "tempSensorAlert": { "path": "/Sysdb/(environment)/temperature/status/tempSensor/(?P.+)/(alertRaisedCount)" }, "currentSensor": { "path": "/Sysdb/(environment)/power/status/currentSensor/(?P.+)/(current)" }, "powerSensor": { "path": "/Sysdb/(environment/power)/status/powerSupply/(?P.+)/(input|output)Power" }, "voltageSensor": { "path": "/Sysdb/(environment)/power/status/voltageSensor/(?P.+)/(voltage)" }, "railCurrentSensor": { "path": "/Sysdb/(environment)/power/status/voltageSensor/(?P.+)/(current)" }, "fanSpeed": { "path": "/Sysdb/(environment)/cooling/status/(fan)/(?P.+)/(speed)" }, "qsfpRxPower": { "path": "/Sysdb/hardware/(xcvr)/status/all/xcvrStatus/(?P.+)/domRegisterData/lane(?P\\d)(OpticalRxPower)" }, "sfpTemperature": { "path": "/Sysdb/hardware/(xcvr)/status/all/xcvrStatus/(?P.+)/lastDomUpdateTime/(temperature)" } } }