Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `yaml:",inline" acceptsEndpoints:"true"` Host string `yaml:"host" validate:"required"` Port uint16 `yaml:"port" validate:"required"` Name string `yaml:"name"` // The full URL of the status endpoint; can be a template URL string `yaml:"url" default:"http://{{.Host}}:{{.Port}}/nginx_status"` Username string `yaml:"username"` Password string `yaml:"password" neverLog:"true"` Timeout int `yaml:"timeout"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.