I install two Zabbix 2.2.1 from repo.zabbix.com. SELinux and iptables is disabled.
My steps to install:
I use this manual https://www.zabbix.com/documentation...nitoring/nodes
After install:
1)I see only "Local node" in web interface
2)Configuration is not transmitted from Master to Slave
3)Configuration and history are transmitted from Slave to Master
Zabbix server log:
Node configuration:

What is my mistake?
My steps to install:
Code:
rpm -i http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm yum -y install zabbix-server-mysql zabbix-web-mysql mysql-server service mysqld start echo "create database zabbix character set utf8; grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';" | mysql -uroot cd /usr/share/doc/zabbix-server-mysql-2.2.1/create && mysql -uroot zabbix < schema.sql && mysql -uroot zabbix < images.sql && mysql -uroot zabbix < data.sql sed -i 's/^# DBPassword=/DBPassword=zabbix/' /etc/zabbix/zabbix_server.conf sed -i "s/^;date.timezone =/date.timezone = 'UTC'/" /etc/php.ini service zabbix-server start service httpd start # check zabbix service zabbix-server stop service httpd stop sed -i "s/^# NodeID=0/NodeID=$id/" /etc/zabbix/zabbix_server.conf zabbix_server -n $id -c /etc/zabbix/zabbix_server.conf service httpd start # add master and slave service zabbix-server start
After install:
1)I see only "Local node" in web interface
2)Configuration is not transmitted from Master to Slave
3)Configuration and history are transmitted from Slave to Master
Zabbix server log:
Code:
# grep NODE /var/log/zabbix/zabbix_server.log 1578:20140128:091506.371 NODE 1: Received configuration changes from slave node 2 for node 2 datalen 2980386 1578:20140128:091611.000 NODE 1: sending configuration changes to slave node 2 for node 2 datalen 8 1576:20140128:091611.941 NODE 1: received auditlog from node 2 for node 2 datalen 364 1578:20140128:091713.201 NODE 1: Received configuration changes from slave node 2 for node 2 datalen 8 1578:20140128:091714.197 NODE 1: sending configuration changes to slave node 2 for node 2 datalen 8 1577:20140128:091922.848 NODE 1: Received configuration changes from slave node 2 for node 2 datalen 8 1577:20140128:091924.058 NODE 1: sending configuration changes to slave node 2 for node 2 datalen 8 # grep NODE /var/log/zabbix/zabbix_server.log 1568:20140128:091506.642 NODE 2: sending configuration changes to master node 1 for node 2 datalen 2980386 1568:20140128:091612.131 NODE 2: Received configuration changes from master node 1 for node 2 datalen 8 1568:20140128:091612.306 NODE 2: sending auditlog of node 2 to node 1 datalen 364 1568:20140128:091713.565 NODE 2: sending configuration changes to master node 1 for node 2 datalen 8 1568:20140128:091714.721 NODE 2: Received configuration changes from master node 1 for node 2 datalen 8 1568:20140128:091923.214 NODE 2: sending configuration changes to master node 1 for node 2 datalen 8
Node configuration:
Code:
# Master +--------+------------+--------------+-------+----------+----------+ | nodeid | name | ip | port | nodetype | masterid | +--------+------------+--------------+-------+----------+----------+ | 1 | Local node | 192.168.0.73 | 10051 | 1 | NULL | | 2 | Child node | 192.168.0.90 | 10051 | 0 | 1 | +--------+------------+--------------+-------+----------+----------+ # Slave +--------+-------------+--------------+-------+----------+----------+ | nodeid | name | ip | port | nodetype | masterid | +--------+-------------+--------------+-------+----------+----------+ | 1 | Master node | 192.168.0.73 | 10051 | 2 | NULL | | 2 | Local node | 192.168.0.90 | 10051 | 1 | 1 | +--------+-------------+--------------+-------+----------+----------+

What is my mistake?

Comment