sink

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: AGPL-3.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

View Source
const TCPIpfixParser = "IpfixUdpParser"

TCPIpfixParser represents the TCP IPFIX parser name

View Source
const UDPForwardParser = "ForwardParser"

UDPForwardParser represents org.opennms.netmgt.telemetry.protocols.common.parser.ForwardParser

View Source
const UDPIpfixParser = "IpfixUdpParser"

UDPIpfixParser represents the UDP IPFIX parser name

View Source
const UDPNetflow5Parser = "Netflow5UdpParser"

UDPNetflow5Parser represents the UDP Netflow5 parser name

View Source
const UDPNetflow9Parser = "Netflow9UdpParser"

UDPNetflow9Parser represents the UDP Netflow9 parser name

View Source
const UDPSFlowParser = "SFlowUdpParser"

UDPSFlowParser represents the UDP SFlow parser name

Variables

This section is empty.

Functions

func CreateSinkRegistry added in v0.1.2

func CreateSinkRegistry() *api.SinkRegistry

CreateSinkRegistry creates a new Sink registry with all the available implementations

Types

type HeartbeatModule

type HeartbeatModule struct{}

HeartbeatModule represents the heartbeat module

func (*HeartbeatModule) GetID

func (module *HeartbeatModule) GetID() string

GetID gets the ID of the sink module

func (*HeartbeatModule) Start

func (module *HeartbeatModule) Start(config *api.MinionConfig, sink api.Sink) error

Start initiates a blocking loop that sends heartbeats to OpenNMS

func (*HeartbeatModule) Stop

func (module *HeartbeatModule) Stop()

Stop shutdowns the sink module

type NetflowModule

type NetflowModule struct {
	// contains filtered or unexported fields
}

NetflowModule represents a generic UDP forward module It starts a UDP Listener, and forwards the received data to OpenNMS without alteration

func (*NetflowModule) GetID

func (module *NetflowModule) GetID() string

GetID gets the ID of the sink module

func (*NetflowModule) Publish

func (module *NetflowModule) Publish(msgs []*goflowMsg.FlowMessage)

Publish represents the Transport interface implementation used by goflow

func (*NetflowModule) Start

func (module *NetflowModule) Start(config *api.MinionConfig, sink api.Sink) error

Start initiates a Netflow UDP receiver

func (*NetflowModule) Stop

func (module *NetflowModule) Stop()

Stop shutdowns the sink module

type NxosGrpcModule

type NxosGrpcModule struct {
	mdt_dialout.UnimplementedGRPCMdtDialoutServer
	// contains filtered or unexported fields
}

NxosGrpcModule represents the Cisco Nexus NX-OS Telemetry module via gRPC

func (*NxosGrpcModule) GetID

func (module *NxosGrpcModule) GetID() string

GetID gets the ID of the sink module

func (*NxosGrpcModule) MdtDialout

MdtDialout implements Cisco NX-OS streaming telemetry service

func (*NxosGrpcModule) Start

func (module *NxosGrpcModule) Start(config *api.MinionConfig, sink api.Sink) error

Start initiates a gRPC Server for NX-OS telemetry

func (*NxosGrpcModule) Stop

func (module *NxosGrpcModule) Stop()

Stop shutdowns the sink module

type SnmpTrapModule

type SnmpTrapModule struct {
	// contains filtered or unexported fields
}

SnmpTrapModule represents the SNMP trap receiver module

func (*SnmpTrapModule) GetID

func (module *SnmpTrapModule) GetID() string

GetID gets the ID of the sink module

func (*SnmpTrapModule) Start

func (module *SnmpTrapModule) Start(config *api.MinionConfig, sink api.Sink) error

Start initiates a Syslog UDP and TCP receiver

func (*SnmpTrapModule) Stop

func (module *SnmpTrapModule) Stop()

Stop shutdowns the sink module

type SyslogModule

type SyslogModule struct {
	// contains filtered or unexported fields
}

SyslogModule represents the heartbeat module

func (*SyslogModule) GetID

func (module *SyslogModule) GetID() string

GetID gets the ID of the sink module

func (*SyslogModule) Start

func (module *SyslogModule) Start(config *api.MinionConfig, sink api.Sink) error

Start initiates a Syslog UDP and TCP receiver

func (*SyslogModule) Stop

func (module *SyslogModule) Stop()

Stop shutdowns the sink module

type UDPForwardModule

type UDPForwardModule struct {
	// contains filtered or unexported fields
}

UDPForwardModule represents a generic UDP forward module It starts a UDP Listener, and forwards the received data to OpenNMS without alteration

func (*UDPForwardModule) GetID

func (module *UDPForwardModule) GetID() string

GetID gets the ID of the sink module

func (*UDPForwardModule) Start

func (module *UDPForwardModule) Start(config *api.MinionConfig, sink api.Sink) error

Start initiates a generic UDP receiver

func (*UDPForwardModule) Stop

func (module *UDPForwardModule) Stop()

Stop shutdowns the sink module

Jump to

Keyboard shortcuts

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