Ad Widget

Collapse

resend config in distributed zabbix environment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • globifrosch
    Member
    • Sep 2005
    • 74

    #1

    resend config in distributed zabbix environment

    hi there

    i'm using a zabbix with distributed monitoring.

    Now i had a crash at the master (XEN error....InnoDB not recoverable (not the first time...) - all MyISAM db's where ok (never had problems after a crash)) and restored a backup which was 3 days old. Now there are missing severeal changes from the child node. Is there a way to tell the child node to resend it's configuration ? oder maybe there is a way to do it by sql?

    - Thomas

    ps: i'm using 1.4.2
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    1. Stop Master node
    2. Execute:

    delete from node_cksum;
    delete from node_configlog;

    3. Start Master node

    This should help.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Niels
      Senior Member
      • May 2007
      • 239

      #3
      Originally posted by Alexei
      1. Stop Master node
      2. Execute:

      delete from node_cksum;
      delete from node_configlog;

      3. Start Master node

      This should help.
      Good to know, thanks!

      Feature request: Make this a GUI option.
      Feature request: An option to have the entire network periodically sync all configuration.

      Comment

      • globifrosch
        Member
        • Sep 2005
        • 74

        #4
        thanks alot alexei!

        Comment

        • globifrosch
          Member
          • Sep 2005
          • 74

          #5
          Originally posted by Alexei
          1. Stop Master node
          2. Execute:

          delete from node_cksum;
          delete from node_configlog;

          3. Start Master node
          didn't work.

          what i've done:
          - NODE2: deleted template linkage from host (unlink & clear), save
          - NODE2: added new template linkage to the same host, save
          - MASTER: host from node2 disappeard
          - MASTER: stopped, executed above sql, started zabbix server
          - MASTER: host didn't reappear

          Version zabbix-server/agentd: 1.4.2

          OK , it works...


          SQL needs to be executed on NODE2 and not on master.
          Last edited by globifrosch; 11-10-2007, 11:28.

          Comment

          Working...