zabbixreceiver

package module
v0.0.0-...-81e0786 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

Zabbix Receiver

Status
Stability in-development
Supported pipeline types metrics
Distributions contrib

This receiver fetches stats from a Zabbox server using the Zabbix api.

🚧 This receiver is in ALPHA. Configuration fields and metric data model are subject to change.

Prerequisites

This receiver supports Zabbix versions 6x..

TODO - document access and whatnot

Configuration

The following settings are required:

  • username
  • password
  • TODO is this enough

The following settings are optional:

TODO

Example Configuration
receivers:
  zabbix:
    endpoint: http://localhost:1053
    username: otelu
    password: $ZABBIX_PASSWORD
    collection_interval: 10s

The full list of settings exposed for this receiver are documented here with detailed sample configurations here.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a new receiver factory

Types

type Config

type Config struct {
	Username string `mapstructure:"username"`
	Password string `mapstructure:"password"`
	// TODO remove or change this copy-pasta
	scraperhelper.ScraperControllerSettings `mapstructure:",squash"`
	confighttp.HTTPClientSettings           `mapstructure:",squash"`
}

Config defines the configuration for the various elements of the receiver agent.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate validates the configuration by checking for missing or invalid fields

Jump to

Keyboard shortcuts

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