Documentation ¶
Index ¶
- Variables
- func BulkFill(conn *gosnmp.GoSNMP, oids []string, records interface{ ... }) error
- func SliceOID(oid string) (string, int)
- func ToInt(result *gosnmp.SnmpPDU) (int, error)
- func ToInt32(result *gosnmp.SnmpPDU) (int32, error)
- func ToInt64(result *gosnmp.SnmpPDU) (int64, error)
- func ToString(result *gosnmp.SnmpPDU) (string, error)
- func ToUint(result *gosnmp.SnmpPDU, snmp *gosnmp.GoSNMP) (uint, error)
- func ToUint32(result *gosnmp.SnmpPDU) (uint32, error)
- func ToUint32Map(results map[int]*gosnmp.SnmpPDU) (map[int]uint32, error)
- func ToUint64(result *gosnmp.SnmpPDU) (uint64, error)
- func WalkSubtree(snmp *gosnmp.GoSNMP, oids []string) (map[string]map[int]*gosnmp.SnmpPDU, error)
- type RecordInterface
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BulkFill ¶
func BulkFill(conn *gosnmp.GoSNMP, oids []string, records interface{ RecordInterface }) error
BulkFill takes a list of OIDs to Bulk walk over and create a list of SNMP records. A map of SNMP indices is createt from the first element in "oids", so make sure the first OID in the list has all the indices you want. New indices will be ignored.
Types ¶
Click to show internal directories.
Click to hide internal directories.