snmpget
snmpget
Sends an SNMP request to the IP of the associated server and returns a string
result=snmpget("public","1.3.6.1.2.1.1.3.0")
'check for errors (always begins with the word "ERROR")
if pos("ERROR",result)=1 then
sensor.errorstring=result
sensor.errortype=etprotocol
else
mynumber=strtoint(result)