github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/cmd/octsdb/sampleconfig4.20.json (about)

     1  {
     2  	"comment": "This is a sample configuration for EOS versions above 4.20",
     3  	"subscriptions": [
     4  		"/Smash/counters/ethIntf",
     5  		"/Smash/interface/counter/lag/current/counter",
     6  
     7  		"/Sysdb/environment/archer/cooling/status",
     8  		"/Sysdb/environment/archer/power/status",
     9  		"/Sysdb/environment/archer/temperature/status",
    10  
    11  		"/Sysdb/hardware/archer/xcvr/status"
    12  	],
    13  	"metricPrefix": "eos",
    14  	"metrics": {
    15  		"intfCounter": {
    16  			"path": "/Smash/counters/ethIntf/FocalPointV2/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)"
    17  		},
    18  		"intfLagCounter": {
    19  			"path": "/Smash/interface/counter/lag/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)"
    20  		},
    21  		"intfPktCounter": {
    22  			"path": "/Smash/counters/ethIntf/FocalPointV2/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)"
    23  		},
    24  		"intfLagPktCounter": {
    25  			"path": "/Smash/interface/counter/lag/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)"
    26  		},
    27  		"intfPfcClassCounter": {
    28  			"path": "/Smash/counters/ethIntf/FocalPointV2/current/(counter)/(?P<intf>.+)/ethStatistics/(?P<direction>(?:in|out))(PfcClassFrames)"
    29  		},
    30  
    31  		"tempSensor": {
    32  			"path": "/Sysdb/(environment)/archer/temperature/status/(?P<sensor>.+)/((?:maxT|t)emperature)"
    33  		},
    34  		"tempSensorAlert": {
    35  			"path": "/Sysdb/(environment)/archer/temperature/status/(?P<sensor>.+)/(alertRaisedCount)"
    36  		},
    37  		"currentSensor": {
    38  			"path": "/Sysdb/(environment)/archer/power/status/currentSensor/(?P<sensor>.+)/(current)"
    39  		},
    40  		"powerSensor": {
    41  			"path": "/Sysdb/(environment)/archer/(power)/status/powerSupply/(?P<sensor>.+)/(input|output)Power"
    42  		},
    43  		"voltageSensor": {
    44  			"path": "/Sysdb/(environment)/archer/power/status/voltageSensor/(?:cell/.+|system)/(?P<sensor>.+)/(voltage)"
    45  		},
    46  		"railCurrentSensor": {
    47  			"path": "/Sysdb/(environment)/archer/power/status/voltageSensor/(?:cell/.+|system)/(?P<sensor>.+)/(current)"
    48  		},
    49  		"fanSpeed": {
    50  			"path": "/Sysdb/(environment)/archer/(cooling)/status/(?P<fan>.+)/speed"
    51  		},
    52  
    53  		"qsfpModularRxPower": {
    54  			"path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalRxPower)"
    55  		},
    56  		"qsfpFixedRxPower": {
    57  			"path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalRxPower)"
    58  		},
    59  		"sfpModularTemperature": {
    60  			"path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/lastDomUpdateTime/(temperature)"
    61  		},
    62  		"sfpFixedTemperature": {
    63  			"path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/lastDomUpdateTime/(temperature)"
    64  		}
    65  	}
    66  }