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"` // The hostname of the Apache server Host string `yaml:"host" validate:"required"` // The port number of the Apache server Port uint16 `yaml:"port" validate:"required"` // This will be sent as the `plugin_instance` dimension and can be any name // you like. Name string `yaml:"name"` // The URL, either a final url or a Go template that will be populated with // the host and port values. URL string `yaml:"url" default:"http://{{.Host}}:{{.Port}}/mod_status?auto"` Username string `yaml:"username"` Password string `yaml:"password" neverLog:"true"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.