zabbixconf

package
v0.0.0-...-f7150f6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Insecure = true // 自己証明書の許可 `true`
)
View Source
const Version = "0.1.4"

Variables

This section is empty.

Functions

This section is empty.

Types

type Zabbix

type Zabbix struct {
	Url      string   `toml:"url"`
	User     string   `toml:"user"`
	Password string   `toml:"password"`
	Insecure bool     `toml:"insecure"`
	Server   string   `toml:"server"`
	Servers  []string `toml:"servers"`

	HostIds map[string]string
	// contains filtered or unexported fields
}

func (*Zabbix) Config

func (e *Zabbix) Config() string

func (*Zabbix) GetHosts

func (e *Zabbix) GetHosts() error

func (*Zabbix) GetLogItems

func (e *Zabbix) GetLogItems() error

func (*Zabbix) GetTriggers

func (e *Zabbix) GetTriggers() error

func (*Zabbix) Label

func (e *Zabbix) Label() string

func (*Zabbix) Run

func (e *Zabbix) Run(ctx context.Context, env *cfg.RunEnv) error

Jump to

Keyboard shortcuts

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