ARISTA Switch SNMP Checks

Helloo,
I tried another way, and read here Eigene Checkplugins schreiben and tried to get along with step 8
I wrote the following arista.py

from .agent_based_api.v1 import *

register.snmp_section(
        name = "arista",
        detect = startswith(".1.3.6.1.2.1.1.1.0", "Arista"),
        fetch = SNMPTree(
            base = '.1.3.6.1.2.1.47.1.1.1.1.2',
            oids = [
                '100305201', # DOM Temperature Sensor for Ethernet5
                '100305202', # DOM Voltage Sensor for Ethernet5
                '100305211', # DOM TX Bias Sensor for Ethernet5
                '100305212', # DOM TX Power Sensor for Ethernet5
                '100305213', # DOM RX Power Sensor for Ethernet5
                '100315201', # DOM Temperature Sensor for Ethernet15
                '100315202', # DOM Voltage Sensor for Ethernet15
                '100315211', # DOM TX Bias Sensor for Ethernet15
                '100315212', # DOM TX Power Sensor for Ethernet15
                '100315213', # DOM RX Power Sensor for Ethernet15
                '100325201', # DOM Temperature Sensor for Ethernet25
                '100325202', # DOM Voltage Sensor for Ethernet25
                '100325211', # DOM TX Bias Sensor for Ethernet25
                '100325212', # DOM TX Power Sensor for Ethernet25
                '100325213', # DOM RX Power Sensor for Ethernet25
                '100329201', # DOM Temperature Sensor for Ethernet29
                '100329202', # DOM Voltage Sensor for Ethernet29
                '100329211', # DOM TX Bias Sensor for Ethernet29
                '100329212', # DOM TX Power Sensor for Ethernet29
                '100329213', # DOM RX Power Sensor for Ethernet29
                '100330201', # DOM Temperature Sensor for Ethernet30
                '100330202', # DOM Voltage Sensor for Ethernet30
                '100330211', # DOM TX Bias Sensor for Ethernet30
                '100330212', # DOM TX Power Sensor for Ethernet30
                '100330213', # DOM RX Power Sensor for Ethernet30
                '100337201', # DOM Temperature Sensor for Ethernet37
                '100337202', # DOM Voltage Sensor for Ethernet37
                '100337211', # DOM TX Bias Sensor for Ethernet37
                '100337212', # DOM TX Power Sensor for Ethernet37
                '100337213', # DOM RX Power Sensor for Ethernet37
                '100339201', # DOM Temperature Sensor for Ethernet39
                '100339202', # DOM Voltage Sensor for Ethernet39
                '100339211', # DOM TX Bias Sensor for Ethernet39
                '100339212', # DOM TX Power Sensor for Ethernet39
                '100339213', # DOM RX Power Sensor for Ethernet39
                '100341201', # DOM Temperature Sensor for Ethernet41
                '100341202', # DOM Voltage Sensor for Ethernet41
                '100341211', # DOM TX Bias Sensor for Ethernet41
                '100341212', # DOM TX Power Sensor for Ethernet41
                '100341213', # DOM RX Power Sensor for Ethernet41
                '100342201', # DOM Temperature Sensor for Ethernet42
                '100342202', # DOM Voltage Sensor for Ethernet42
                '100342211', # DOM TX Bias Sensor for Ethernet42
                '100342212', # DOM TX Power Sensor for Ethernet42
                '100342213', # DOM RX Power Sensor for Ethernet42
                '100343201', # DOM Temperature Sensor for Ethernet43
                '100343202', # DOM Voltage Sensor for Ethernet43
                '100343211', # DOM TX Bias Sensor for Ethernet43
                '100343212', # DOM TX Power Sensor for Ethernet43
                '100343213', # DOM RX Power Sensor for Ethernet43
                '100344201', # DOM Temperature Sensor for Ethernet44
                '100344202', # DOM Voltage Sensor for Ethernet44
                '100344211', # DOM TX Bias Sensor for Ethernet44
                '100344212', # DOM TX Power Sensor for Ethernet44
                '100344213', # DOM RX Power Sensor for Ethernet44
                '100345201', # DOM Temperature Sensor for Ethernet45
                '100345202', # DOM Voltage Sensor for Ethernet45
                '100345211', # DOM TX Bias Sensor for Ethernet45
                '100345212', # DOM TX Power Sensor for Ethernet45
                '100345213', # DOM RX Power Sensor for Ethernet45
                '100346201', # DOM Temperature Sensor for Ethernet46
                '100346202', # DOM Voltage Sensor for Ethernet46
                '100346211', # DOM TX Bias Sensor for Ethernet46
                '100346212', # DOM TX Power Sensor for Ethernet46
                '100346213', # DOM RX Power Sensor for Ethernet46
                '100347201', # DOM Temperature Sensor for Ethernet47
                '100347202', # DOM Voltage Sensor for Ethernet47
                '100347211', # DOM TX Bias Sensor for Ethernet47
                '100347212', # DOM TX Power Sensor for Ethernet47
                '100347213', # DOM RX Power Sensor for Ethernet47
                '100348201', # DOM Temperature Sensor for Ethernet48
                '100348202', # DOM Voltage Sensor for Ethernet48
                '100348211', # DOM TX Bias Sensor for Ethernet48
                '100348212', # DOM TX Power Sensor for Ethernet48
                '100348213', # DOM RX Power Sensor for Ethernet48
                '100349201', # DOM Temperature Sensor for Ethernet49
                '100349202', # DOM Voltage Sensor for Ethernet49
                '100349211', # DOM TX Bias Sensor for Ethernet49/1
                '100349212', # DOM TX Power Sensor for Ethernet49/1
                '100349213', # DOM RX Power Sensor for Ethernet49/1
                '100349221', # DOM TX Bias Sensor for Ethernet49/2
                '100349222', # DOM TX Power Sensor for Ethernet49/2
                '100349223', # DOM RX Power Sensor for Ethernet49/2
                '100349231', # DOM TX Bias Sensor for Ethernet49/3
                '100349232', # DOM TX Power Sensor for Ethernet49/3
                '100349233', # DOM RX Power Sensor for Ethernet49/3
                '100349241', # DOM TX Bias Sensor for Ethernet49/4
                '100349242', # DOM TX Power Sensor for Ethernet49/4
                '100349243', # DOM RX Power Sensor for Ethernet49/4
                '100350201', # DOM Temperature Sensor for Ethernet50
                '100350202', # DOM Voltage Sensor for Ethernet50
                '100350211', # DOM TX Bias Sensor for Ethernet50/1
                '100350212', # DOM TX Power Sensor for Ethernet50/1
                '100350213', # DOM RX Power Sensor for Ethernet50/1
                '100350221', # DOM TX Bias Sensor for Ethernet50/2
                '100350222', # DOM TX Power Sensor for Ethernet50/2
                '100350223', # DOM RX Power Sensor for Ethernet50/2
                '100350231', # DOM TX Bias Sensor for Ethernet50/3
                '100350232', # DOM TX Power Sensor for Ethernet50/3
                '100350233', # DOM RX Power Sensor for Ethernet50/3
                '100350241', # DOM TX Bias Sensor for Ethernet50/4
                '100350242', # DOM TX Power Sensor for Ethernet50/4
                '100350243', # DOM RX Power Sensor for Ethernet50/4
            ],
        ),
)

I still can’t find the needed dom values. Maybe one of you can help :slight_smile:

BR