SNMP

From IPLOG
Jump to: navigation, search

Back to Libraries

SNMP library

Reading

SNMP Get - retrieve information from an SNMP-capable device, using single request.

SNMP_v1_GET

Asynchronous interface
in community STRING community string
in agent_ip STRING IP of SNMP agent
in OID STRING[255] OID (numerically) For example: ".1.3.6.1.4.1.38616.1.1.1.0"
out Q STRING[255] result in string

SNMP_v2c_GET

Asynchronous interface
in community STRING community string
in agent_ip STRING IP of SNMP agent
in OID STRING[255] OID (numerically) For example: ".1.3.6.1.4.1.38616.1.1.1.0"
out Q STRING[255] result in string

SNMP_v3_GET

Asynchronous interface
in username STRING security name (e.g. master)
in context STRING context name (e.g. bridge1)
in auth_proto STRING authentication protocol (MD5|SHA)
in auth_pass STRING authentication protocol pass phrase (at least 8 chars)
in priv_proto STRING privacy protocol (DES|AES)
in priv_pass STRING privacy protocol pass phrase (at least 8 chars)
in agent_ip STRING IP of SNMP agent
in OID STRING[255] OID (numerically) For example: ".1.3.6.1.4.1.38616.1.1.1.0"
out Q STRING[255] result in string