snmpoutput

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address         string        `mapstructure:"address,omitempty" json:"address,omitempty"`
	Port            uint16        `mapstructure:"port,omitempty" json:"port,omitempty"`
	Community       string        `mapstructure:"community,omitempty" json:"community,omitempty"`
	StartDelay      time.Duration `mapstructure:"start-delay,omitempty" json:"start-delay,omitempty"`
	Traps           []*trap       `mapstructure:"traps,omitempty" json:"traps,omitempty"`
	AddTarget       string        `mapstructure:"add-target,omitempty" json:"add-target,omitempty"`
	TargetTemplate  string        `mapstructure:"target-template,omitempty" json:"target-template,omitempty"`
	EnableMetrics   bool          `mapstructure:"enable-metrics,omitempty" json:"enable-metrics,omitempty"`
	EventProcessors []string      `mapstructure:"event-processors,omitempty" json:"event-processors,omitempty"`
}

Jump to

Keyboard shortcuts

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