Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// This cannot be multi instance until there is a way to differentiate them
// in collectd
config.MonitorConfig `singleInstance:"true"`
// The hostname of the chronyd instance
Host string `yaml:"host" validate:"required" default:"localhost"`
// The UDP port number of the chronyd instance. Defaults to 323 in
// collectd if unspecified.
Port *uint16 `yaml:"port"`
// How long to wait for a response from chronyd before considering it down.
// Defaults to 2 seconds in the collectd plugin if not specified
Timeout *uint `yaml:"timeout"`
}
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.