I have Zabbix monitoring from two years and I am very happy to use it but for the first time I have been disappointed about it. The DM doesn’t work as I excepted. The configuration should (must) propagate to the other nodes and it doesn’t happen: I must create an item on each nodes, it doesn’t look like of “distributed”. Probably the intent of “distributed” is aimed only for history and events data.
I’ve configured two nodes (following the instructions) with zabbix 2.0.1, it works fine looking the log files,
MASTER Node:
3568:20130214:171500.940 NODE 1: Received history_uint from node 2 for node 2 datalen 239
3567:20130214:171511.367 NODE 1: Received configuration changes from slave node 2 for node 2 datalen 8
3567:20130214:171511.928 NODE 1: Sending configuration changes to slave node 2 for node 2 datalen 8
3566:20130214:171512.139 NODE 1: Received history from node 2 for node 2 datalen 332
3570:20130214:171512.162 NODE 1: Received history_uint from node 2 for node 2 datalen 125
SLAVE Node:
10965:20130214:171710.584 NODE 2: Sending history_uint_sync of node 2 to node 1 datalen 125
10965:20130214:171721.230 NODE 2: sending configuration changes to master node 1 for node 2 datalen 60
10965:20130214:171722.022 NODE 2: Received configuration changes from master node 1 for node 2 datalen 8
10965:20130214:171722.068 NODE 2: Sending history_sync of node 2 to node 1 datalen 421
What does mean when appear “send/receive configuration”? The configuration is not aligned.
I have created an Hostgroup “ZBX_test1” on MASTER and “ZBX_test2” on SLAVE, from the database it looks synchronized on MASTER but not on SLAVE.
Suppose I want to monitor a server on SLAVE and add it to the hostgroup ZBX_test1, how can I do that? This hostgroup doesn’t exist.
mysql> use zbxmaster
Database changed
mysql> select * from groups;
+-----------------+------------------+----------+
| groupid | name | internal |
+-----------------+------------------+----------+
| 100100000000001 | Templates | 0 |
| 100100000000002 | Linux servers | 0 |
| 100100000000004 | Zabbix servers | 0 |
| 100100000000005 | Discovered hosts | 1 |
| 100100000000006 | ZBX_test1 | 0 |
| 200100000000001 | ZBX_test2 | 0 |
| 200200000000001 | Templates | 0 |
| 200200000000002 | Linux servers | 0 |
| 200200000000004 | Zabbix servers | 0 |
| 200200000000005 | Discovered hosts | 1 |
+-----------------+------------------+----------+
10 rows in set (0.00 sec)
mysql> use zbxnode01
Database changed
mysql> select * from groups;
+-----------------+------------------+----------+
| groupid | name | internal |
+-----------------+------------------+----------+
| 200100000000001 | ZBX_test2 | 0 |
| 200200000000001 | Templates | 0 |
| 200200000000002 | Linux servers | 0 |
| 200200000000004 | Zabbix servers | 0 |
| 200200000000005 | Discovered hosts | 1 |
+-----------------+------------------+----------+
5 rows in set (0.00 sec)
I have read all most posts in this forum but there is anyone that explain well the function of this feature (Distributed monitor)
Is there anyone could help me?
I’ve configured two nodes (following the instructions) with zabbix 2.0.1, it works fine looking the log files,
MASTER Node:
3568:20130214:171500.940 NODE 1: Received history_uint from node 2 for node 2 datalen 239
3567:20130214:171511.367 NODE 1: Received configuration changes from slave node 2 for node 2 datalen 8
3567:20130214:171511.928 NODE 1: Sending configuration changes to slave node 2 for node 2 datalen 8
3566:20130214:171512.139 NODE 1: Received history from node 2 for node 2 datalen 332
3570:20130214:171512.162 NODE 1: Received history_uint from node 2 for node 2 datalen 125
SLAVE Node:
10965:20130214:171710.584 NODE 2: Sending history_uint_sync of node 2 to node 1 datalen 125
10965:20130214:171721.230 NODE 2: sending configuration changes to master node 1 for node 2 datalen 60
10965:20130214:171722.022 NODE 2: Received configuration changes from master node 1 for node 2 datalen 8
10965:20130214:171722.068 NODE 2: Sending history_sync of node 2 to node 1 datalen 421
What does mean when appear “send/receive configuration”? The configuration is not aligned.
I have created an Hostgroup “ZBX_test1” on MASTER and “ZBX_test2” on SLAVE, from the database it looks synchronized on MASTER but not on SLAVE.
Suppose I want to monitor a server on SLAVE and add it to the hostgroup ZBX_test1, how can I do that? This hostgroup doesn’t exist.
mysql> use zbxmaster
Database changed
mysql> select * from groups;
+-----------------+------------------+----------+
| groupid | name | internal |
+-----------------+------------------+----------+
| 100100000000001 | Templates | 0 |
| 100100000000002 | Linux servers | 0 |
| 100100000000004 | Zabbix servers | 0 |
| 100100000000005 | Discovered hosts | 1 |
| 100100000000006 | ZBX_test1 | 0 |
| 200100000000001 | ZBX_test2 | 0 |
| 200200000000001 | Templates | 0 |
| 200200000000002 | Linux servers | 0 |
| 200200000000004 | Zabbix servers | 0 |
| 200200000000005 | Discovered hosts | 1 |
+-----------------+------------------+----------+
10 rows in set (0.00 sec)
mysql> use zbxnode01
Database changed
mysql> select * from groups;
+-----------------+------------------+----------+
| groupid | name | internal |
+-----------------+------------------+----------+
| 200100000000001 | ZBX_test2 | 0 |
| 200200000000001 | Templates | 0 |
| 200200000000002 | Linux servers | 0 |
| 200200000000004 | Zabbix servers | 0 |
| 200200000000005 | Discovered hosts | 1 |
+-----------------+------------------+----------+
5 rows in set (0.00 sec)
I have read all most posts in this forum but there is anyone that explain well the function of this feature (Distributed monitor)
Is there anyone could help me?