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)
Click to show internal directories.
Click to hide internal directories.