Ad Widget

Collapse

DM: nodes don't synchronize (1.3.5)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • c00l.wave
    Junior Member
    • Apr 2007
    • 8

    #1

    DM: nodes don't synchronize (1.3.5)

    I finally set up two nodes, one with Server and NodeID 1 and the other with both set to 2. I ran zabbix_server -n 1/2 on both machines. I tunneled the server ports between both machines through SSH and verified they are working. I configured local and master/slave nodes using identical names and IDs for each node and then started the servers. Both nodes do nothing up to this point. If I configure a host on the slave node it sends events (one time) and history (every 10s twice) to node 1. Node 1 receives that data but doesn't show it anywhere, neither the configuration nor events or data.

    Node 2 (Slave):
    Code:
      8629:20070428:174329 NODE 2: Sending data of node 2 to node 1 datalen 61
      8629:20070428:174329 NODE 2: Sending data of node 2 to node 1 datalen 936
      8629:20070428:174331 NODE 2: Sending data of node 2 to node 1 datalen 1877
      8629:20070428:174331 NODE 2: Sending data of node 2 to node 1 datalen 269
      8629:20070428:174339 NODE 2: Sending data of node 2 to node 1 datalen 448
      8629:20070428:174339 NODE 2: Sending data of node 2 to node 1 datalen 197
    Node 1 (Master):
    Code:
     15475:20070428:174329 NODE 1: Received events from node 2 for node 2 datalen 61
     15477:20070428:174331 NODE 1: Received history from node 2 for node 2 datalen 936
     15479:20070428:174331 NODE 1: Received history from node 2 for node 2 datalen 1877
     15484:20070428:174331 NODE 1: Received history from node 2 for node 2 datalen 269
     15481:20070428:174339 NODE 1: Received history from node 2 for node 2 datalen 448
     15475:20070428:174339 NODE 1: Received history from node 2 for node 2 datalen 197
    If I try to configure the host through the master's frontend I cannot select any templates to use (because configuration has not been synchronized). The entry resides only on master node, it is never sent to the slave.

    Monitoring works locally on each node.

    What's wrong this time, any ideas?

    Node 1 is running Linux, Node 2 runs on Mac OS X.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    You have to switch node, drop-down selection in right-top corner, in order to see data from a slave node.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • c00l.wave
      Junior Member
      • Apr 2007
      • 8

      #3
      That's what I did. As I said I also tried to configure a host remotely on the other node (by switching nodes on the frontend) with no result. Furthermore I suppose I should see something like "received configuration" on each node before I receive any event or history data? Why don't I see any templates if I configure a host remotely and why doesn't node 1 call node 2 although node 2 is configured the same way and seems to be very talkative?

      That's what I do so far:

      1. setup config, ports and SSH tunnels (ports 10051 for node 1 and 10052 for node 2)
      2. clear and dump schema, data and images into database
      3. run zabbix_server -n 1 on node 1, -n 2 on node 2
      4. login at both frontends
      5. node 1: configure local node's name, ip 127.0.0.1 port 10051; configure remote node, ip 127.0.0.1 port 10052 (tunneled)
      6. node 2: configure local node's name, ip 127.0.0.1 port 10052; configure master node, ip 127.0.0.1 port 10051 (tunneled)
      7. start zabbix_server on both machines
      8. according to the server log nothing happens....
      9. configure a host on node 2 (slave)
      10. node 2 starts monitoring and transmits data (events, history) to node 1
      11. node 1 receives all data, connection works
      12. switch to node 2 on frontend of node 1
      13. no sign of any synchronization can be found on node 1: events were received according to log (11.) but if I navigate to monitoring/events on node 1 (switched to node 2 view) I don't see anything although node 2 (direct local frontend) reports a trigger at the same menu.

      Maybe I am missing something again?

      Comment

      • JonB
        Member
        • Oct 2006
        • 63

        #4
        I have the same problem. Node 2 (slave) is sending event and history data to node 1 (master). Node 1 server log says node 1 is receiving data from node 2 but if I switch to node 2 there is no configuration data or event/history data.

        Jon

        Comment

        Working...