mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
add new field in zabbix config
This commit is contained in:
parent
312de3f19e
commit
28cec0b90c
@ -92,10 +92,11 @@ type HTTPServerConfig struct {
|
|||||||
|
|
||||||
// ZabbixConfig contains information about Zabbix connection.
|
// ZabbixConfig contains information about Zabbix connection.
|
||||||
type ZabbixConfig struct {
|
type ZabbixConfig struct {
|
||||||
ServerHost string `yaml:"server_host"`
|
ServerHost string `yaml:"server_host"`
|
||||||
Host string `yaml:"host"`
|
Host string `yaml:"host"`
|
||||||
ServerPort int `yaml:"server_port"`
|
ServerPort int `yaml:"server_port"`
|
||||||
Interval uint64 `yaml:"interval"`
|
MetricPrefix string `yaml:"metric_prefix"`
|
||||||
|
Interval uint64 `yaml:"interval"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewConfig reads configuration file and returns config instance
|
// NewConfig reads configuration file and returns config instance
|
||||||
|
Loading…
Reference in New Issue
Block a user