host

package
v0.0.0-...-f40bd46 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeepalivedHostCollectorHost

type KeepalivedHostCollectorHost struct {
	SIGJSON  syscall.Signal
	SIGDATA  syscall.Signal
	SIGSTATS syscall.Signal
	// contains filtered or unexported fields
}

KeepalivedHostCollectorHost implements Collector for when Keepalived and Keepalived Exporter are both on a same host.

func NewKeepalivedHostCollectorHost

func NewKeepalivedHostCollectorHost(useJSON bool, pidPath string) *KeepalivedHostCollectorHost

NewKeepalivedHostCollectorHost is creating new instance of KeepalivedHostCollectorHost.

func (*KeepalivedHostCollectorHost) DataVrrps

func (*KeepalivedHostCollectorHost) HasVRRPScriptStateSupport

func (k *KeepalivedHostCollectorHost) HasVRRPScriptStateSupport() bool

HasVRRPScriptStateSupport check if Keepalived version supports VRRP Script State in output.

func (*KeepalivedHostCollectorHost) JSONVrrps

func (k *KeepalivedHostCollectorHost) JSONVrrps() ([]collector.VRRP, error)

func (*KeepalivedHostCollectorHost) ScriptVrrps

func (k *KeepalivedHostCollectorHost) ScriptVrrps() ([]collector.VRRPScript, error)

func (*KeepalivedHostCollectorHost) StatsVrrps

Jump to

Keyboard shortcuts

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