zabbix agentd 跨网段链接 zabbix server注意项

zabbix agentd 跨网段链接 zabbix server注意项

 (2018-03-01 18:29:21)html

转载服务器

标签: 

zabbix_agent

 

zabbix_server

分类: 服务器

当跨网段时,zabbix_agentd.conf 中 Server的值要填写全部的远程zabbix_server主机的ip地址,甚至要把所在的网关写上去,以半角逗号“,”分开,以下面配置的红色字体部分。dom

 

ServerActive的值也是填写远程zabbix_server的ip地址,EnableRemoteCommands=1 。字体

 

### Option: Serverthis

#       List of comma delimited IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers.spa

#       Incoming connections will be accepted only from the hosts listed here.server

#       If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally and '::/0' will allow any IPv4 or IPv6 address.htm

#       '0.0.0.0/0' can be used to allow any IPv4 address.blog

#       Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.domainip

#

# Mandatory: no

# Default:

# Server=

 

 Server=192.168.1.8,192.168.2.8,192.168.1.0/24,192.168.2.0/24

Server =192.168.30.171,192.168.1.2

 

### Option: ServerActive

#       List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.

#       If port is not specified, default port is used.

#       IPv6 addresses must be enclosed in square brackets if port for that host is specified.

#       If port is not specified, square brackets for IPv6 addresses are optional.

#       If this parameter is not specified, active checks are disabled.

#       Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]

#

# Mandatory: no

# Default:

# ServerActive=

 

ServerActive=192.168.1.8,192.168.2.8

ServerActive=192.168.30.171,192.168.1.2

 

EnableRemoteCommands=1

相关文章
相关标签/搜索