[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.11 SNMP

Function: oid number …

creates an object expressing OID.
If you want to express OID 1.3.6.1.2.1.1.1.0, you write the following code.

(oid 1 3 6 1 2 1 1 1 0)
Function: oid? obj

returns #t if the object is an OID.

Function: string->oid string

converts an OID expressed by the string notation to an OID object.

Function: oid->string oid

gets a string representation of the OID object,

Function: snmp-get hostname [port] community oid

gets a MIB of the OID from the SNMP manager.
This returns a MIB, version information, community string, ID, error code, error index.

Function: snmp-get-next hostname [port] community oid

gets next MIB of the OID from the SNMP manager.

Function: snmp-get-walk hostname [port] community oid

gets all MIBs of the OID from the SNMP manager.
This returns an associative list whose key is an OID and value is a MIB.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on August 9, 2012 using texi2html 5.0.