Documentation ¶
Index ¶
- type KeepalivedHostCollectorHost
- func (k *KeepalivedHostCollectorHost) DataVrrps() (map[string]*collector.VRRPData, error)
- func (k *KeepalivedHostCollectorHost) HasVRRPScriptStateSupport() bool
- func (k *KeepalivedHostCollectorHost) JSONVrrps() ([]collector.VRRP, error)
- func (k *KeepalivedHostCollectorHost) ScriptVrrps() ([]collector.VRRPScript, error)
- func (k *KeepalivedHostCollectorHost) StatsVrrps() (map[string]*collector.VRRPStats, error)
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 (k *KeepalivedHostCollectorHost) DataVrrps() (map[string]*collector.VRRPData, error)
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 ¶
func (k *KeepalivedHostCollectorHost) StatsVrrps() (map[string]*collector.VRRPStats, error)
Click to show internal directories.
Click to hide internal directories.