snmp

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceName = ""
)

Functions

func Close

func Close()

func ParseConfig

func ParseConfig(file string, log logger.ContextL) (*kt.SnmpConfig, error)

Public wrapper for calling this other places.

func RunDiscoOnTimer

func RunDiscoOnTimer(ctx context.Context, c chan os.Signal, snmpFile string, log logger.ContextL, pollTimeMin int, checkNow bool)

func StartSNMPPolls

func StartSNMPPolls(ctx context.Context, snmpFile string, jchfChan chan []*kt.JCHF, metrics *kt.SnmpMetricSet, registry go_metrics.Registry, apic *api.KentikApi, log logger.ContextL) error

Types

type SnmpDiscoDeviceStat

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

func Discover

func Discover(ctx context.Context, snmpFile string, log logger.ContextL) (*SnmpDiscoDeviceStat, error)

Directories

Path Synopsis
apc
x

Jump to

Keyboard shortcuts

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