Versions in this module Expand all Collapse all v1 v1.5.5 May 18, 2020 Changes in this version + func Errorf(err error, msg string, format ...interface{}) error + func NewReader(meta *reader.Meta, c conf.MapConf) (reader.Reader, error) + type Field struct + Conversion string + IsTag bool + Name string + Oid string + OidIndexSuffix string + type NestedError struct + Err error + NestedErr error + func (ne NestedError) Error() string + type RTable struct + Name string + Rows []RTableRow + Time string + type RTableRow struct + Fields map[string]interface{} + Tags map[string]string + type Reader struct + Agents []string + AuthPassword string + AuthProtocol string + Community string + ConnectionCache []snmpConnection + ContextName string + EngineBoots uint32 + EngineID string + EngineTime uint32 + Fields []Field + Interval time.Duration + MaxRepetitions uint8 + PrivPassword string + PrivProtocol string + Retries int + SecLevel string + SecName string + SnmpName string + Tables []Table + Timeout time.Duration + Version uint8 + func (r *Reader) Close() error + func (r *Reader) Gather() error + func (r *Reader) Name() string + func (r *Reader) ReadData() (Data, int64, error) + func (r *Reader) ReadLine() (string, error) + func (r *Reader) SetMode(mode string, v interface{}) error + func (r *Reader) Source() string + func (r *Reader) Start() error + func (r *Reader) StoreData(datas []Data) (err error) + func (r *Reader) SyncMeta() + type Table struct + Fields []Field + IndexAsTag bool + InheritTags []string + Name string + Oid string + func (t Table) Build(gs snmpConnection, walk bool) (*RTable, error)