snmp

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Enriches passing flows with human-readable versions of interface ids, sourced from SNMP. Obviously, this module requires to be run on a subnet which is accepted by any router or exporter named by a flow's SampleAddress field.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SNMPInterface

type SNMPInterface struct {
	segments.BaseSegment
	Community string // optional, default is 'public'
	Regex     string // optional, default matches all, can be used to extract content from descriptions, see examples/enricher
	ConnLimit uint64 // optional, default is 16
	// contains filtered or unexported fields
}

func (SNMPInterface) New

func (segment SNMPInterface) New(config map[string]string) segments.Segment

func (*SNMPInterface) Run

func (segment *SNMPInterface) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL