Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CiscoTelemetryGNMI ¶
type CiscoTelemetryGNMI struct { Addresses []string `toml:"addresses"` Subscriptions []Subscription `toml:"subscription"` Aliases map[string]string `toml:"aliases"` // Optional subscription configuration Encoding string Origin string Prefix string Target string UpdatesOnly bool `toml:"updates_only"` // Cisco IOS XR credentials Username string Password string // Redial Redial internal.Duration // GRPC TLS settings EnableTLS bool `toml:"enable_tls"` internaltls.ClientConfig // contains filtered or unexported fields }
CiscoTelemetryGNMI plugin instance
func (*CiscoTelemetryGNMI) Description ¶
func (c *CiscoTelemetryGNMI) Description() string
Description of plugin
func (*CiscoTelemetryGNMI) Gather ¶
func (c *CiscoTelemetryGNMI) Gather(_ telegraf.Accumulator) error
Gather plugin measurements (unused)
func (*CiscoTelemetryGNMI) SampleConfig ¶
func (c *CiscoTelemetryGNMI) SampleConfig() string
SampleConfig of plugin
func (*CiscoTelemetryGNMI) Start ¶
func (c *CiscoTelemetryGNMI) Start(acc telegraf.Accumulator) error
Start the http listener service
type Subscription ¶
type Subscription struct { Name string Origin string Path string // Subscription mode and interval SubscriptionMode string `toml:"subscription_mode"` SampleInterval internal.Duration `toml:"sample_interval"` // Duplicate suppression SuppressRedundant bool `toml:"suppress_redundant"` HeartbeatInterval internal.Duration `toml:"heartbeat_interval"` }
Subscription for a GNMI client
Click to show internal directories.
Click to hide internal directories.