Temperature

Good afternoon! I am having trouble adding the temperature of a cisco switch in the tool. Can someone help me?

Make as many new functions as temper sensors listed under this oid 1.3.6.1.4.1.9.9.13.1.3.1.3 (SNMPWALK THIS OID) on a router there might be 6 temperature sensors…

NAME: Cisco_Temp_1
CODE: if(string_size(oid(“1.3.6.1.4.1.9.9.13.1.3.1.3.1”, 10 ,5)), oid(“1.3.6.1.4.1.9.9.13.1.3.1.3.1”, 10, 5) ,“False”)

NAME: Cisco_Temp_2
CODE: if(string_size(oid(“1.3.6.1.4.1.9.9.13.1.3.1.3.2”, 10 ,5)), oid(“1.3.6.1.4.1.9.9.13.1.3.1.3.2”, 10, 5) ,“False”)

Make a probe for each function
NAME: Cisco_Temp_1p
TYPE:Function
AVAILABLE: Cisco_Temp_1() <> “False”
ERROR: if(Cisco_Temp_1 ()<>“False”,if(Cisco_Temp_1 () < 50, “”, concatenate("Warning: high Temp = ", Cisco_Temp_1(), “Degrees”)), “Cisco Device unreachable”)
VALUE Cisco_Temp_1()
Unit: o

HTH,
Lebowski