hostident

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckConfig

type CheckConfig struct {
	Enabled  bool   `toml:"enabled"`
	Severity string `toml:"severity"`
}

CheckConfig defines a single identity-change check with a configurable severity level. Enabled controls whether the check runs; Severity defaults to "Warning" if left empty.

type HostidentPlugin

type HostidentPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*HostidentPlugin) GetInstances

func (p *HostidentPlugin) GetInstances() []plugins.Instance

type Instance

type Instance struct {
	config.InternalConfig

	HostnameChanged CheckConfig `toml:"hostname_changed"`
	IPChanged       CheckConfig `toml:"ip_changed"`
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

Jump to

Keyboard shortcuts

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