Ad Widget

Collapse

Standalone-Distributed Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikty
    Senior Member
    • Jul 2007
    • 104

    #1

    Standalone-Distributed Monitoring

    Hi,
    I have tried to change the Zabbix configuration from "Stand Alone" to "Distributed Monitoring"

    I have read that the mysql DB must be empy... but I have configured differents items, triggers....
    Therefore
    1)I have done th dump of the DB
    2)I have recreated the DB schema
    3)I have ran the "./zabbix_server -n 1 -c /path/zabbix-server.conf"

    It's work fine...., but whene I have restore the db dump I have lost the section Nodes in Admin....
    Well, It's normal because the dumb is a list of SQL cmd...consequently I have restored the precedente DB configuration (Standalone)

    How can I pass from Standalone to Distributed Monitoring without to lose the check configutation?

    PS
    I can lose the history
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    You could export your items, triggers and graphs as templates. That wont get you your hosts, screens or anything else but its at least some of it.

    The other thing you could do is only restore tabels like hosts, items, triggers, screens etc.

    Comment

    • vikty
      Senior Member
      • Jul 2007
      • 104

      #3
      ok well,
      but I have exported the file.xml after when I imported file.xml zabbix reply with "could not open XML input"

      Zabbix Version 1.4.1
      Attached Files

      Comment

      • vikty
        Senior Member
        • Jul 2007
        • 104

        #4
        Whene I run
        Code:
        ./zabbix_server -n 1 -c /etc/zabbix/zabbbix_server.conf
        I configure zabbix as Master.

        Whene I run
        Code:
        ./zabbix_server -n 2 -c /etc/zabbix/zabbbix_server.conf
        I configure zabbix as Slave. Is it correct?

        The option "-n" what do It modify in the Zabbix DB?
        so... It add a parameter..... an ID

        Comment

        • vikty
          Senior Member
          • Jul 2007
          • 104

          #5
          Node Tables

          I have seen these
          the tables:
          nodes
          node_cksum
          node_node_configlog
          are they important for distributed monitoring??

          Comment

          • vikty
            Senior Member
            • Jul 2007
            • 104

            #6
            well,
            Whene can I find a documentation on the zabbix DB schema???

            In this moment I am looking the zabbix-db, but something isn't clear...

            Comment

            Working...