A big rework is needed
A rework of exhaust temp, everything for PSU2 and CPU2 temp is needed. On R430 there is only Inlet Temp sensor which crashes the program. Also if there is only one cpu installed then the program will also crash as there is no OID for cpu2 Adding a try: for above mentioned OIDs and then combining output into one Queue entry should fix it
This commit is contained in:
@@ -99,6 +99,7 @@ class snmpPyIDRACData():
|
||||
uptimeD: float | None = None
|
||||
cpu2Temp: float | None = None
|
||||
powerDrawPSU2: int | None = None
|
||||
powerDrawBoard: int | None = None
|
||||
voltagePSU2: int | None = None
|
||||
|
||||
|
||||
@@ -107,6 +108,7 @@ class snmpPyIDRACData():
|
||||
f"{self.hostname}\n"
|
||||
f"PSU1 {self.powerDrawPSU1} Watts\n"
|
||||
f"PSU2 {self.powerDrawPSU2} Watts\n"
|
||||
f"Board {self.powerDrawBoard} Watts\n"
|
||||
f"PSU1 {self.voltagePSU1} Volts\n"
|
||||
f"PSU2 {self.voltagePSU2} Volts\n"
|
||||
f"Inlet {self.inletTemp} C\n"
|
||||
|
||||
Reference in New Issue
Block a user