Skip to content
Snippets Groups Projects
Commit a16a8040 authored by root's avatar root
Browse files

Fixed small issue with env temperature in check_ups_eaton.

parent 509696d8
No related branches found
No related tags found
No related merge requests found
......@@ -141,9 +141,9 @@ if systemModel is None:
OUTPUT_TEXT += " (" + str(systemModel) + ")"
temperatureOutput=session.get(xupsEnvAmbientTemp).value
temperatureOutput=snmpGet(xupsEnvAmbientTemp)
if temperatureOutput:
envTemperature=float(temperatureOutput)
envTemperature=float(temperatureOutput.value)
xupsBatteryAbmStatus=int(snmpGet(xupsBatteryAbmStatus))
xupsBatteryStatus=int(snmpGet(xupsBatteryStatus))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment