Ad Widget

Collapse

setting up DM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex_SYB
    Senior Member
    • Feb 2012
    • 133

    #1

    setting up DM

    Hi

    I started with the appliance VM of zabbix. I have installed templates and stuff into this server.

    Now I wanted to convert to a DM setup 1 at dc 1 at office.

    so I have cloned the VM and sent one copy to the DC.

    I have tried to follow the instructions at
    http://www.zabbix.com/documentation/...ted_monitoring

    I have changed the nodeid in /etc/zabbix/zabbix_server.conf

    I get this in the log file

    2373:20120322:092854.724 NodeID: 1

    but only this
    2473:20120322:092855.441 server #18 started [node watcher #1]
    further down

    and the admin / dm pages says

    Your setup is not configured for distributed monitoring


    I have run the ./zabbix_server -n 1 -c /etc/zabbix/zabbix_server.conf
    there was some error about not enough locks, but it said it had completed okay.

    on the on in the dc my terminal session died in the middle of the convert so I am running again !

    should I be running it again on the main one ? nodeid 1 ???

    Thanks


    or have i screwed it all up and need to start with a backup ?
  • Alex_SYB
    Senior Member
    • Feb 2012
    • 133

    #2
    So i tried this again and again got an error

    The total number of locks exceeds the lock table size

    update trend_units set itemid=item+200200000000000 where itemid>0


    any one got any idea on what I should do to fix this ?

    Comment

    • Alex_SYB
      Senior Member
      • Feb 2012
      • 133

      #3
      I used this link


      to make a change.

      NOTE this is on the appliance VM.... so what do other people use for this ?

      Comment

      • Alex_SYB
        Senior Member
        • Feb 2012
        • 133

        #4
        New problem I have my 2 nodes now, running. I have all my configuration stuff in node1, is there an easy way to

        1) send all the templates from node 1 to node 2 (copy)
        2) move monitoring nodes from node 1 to node 2

        Comment

        • ke_sheng_jie
          Member
          • Aug 2011
          • 40

          #5
          XML Export

          You can do a bulk export of the templates from Node 1 as an xml file and then import that into Node 2.

          Comment

          • Alex_SYB
            Senior Member
            • Feb 2012
            • 133

            #6
            Hi

            I tried a couple more reboots, re testing everything and then it started to work. I key was I think testing the logs to see if both nodes were talking to each other.

            had to have node 1 up first and then bring up node 2!

            bulk import export didn't work for me...

            Comment

            Working...