Ad Widget

Collapse

Migrating Zabbix Configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yash
    Junior Member
    • Feb 2007
    • 2

    #1

    Migrating Zabbix Configuration

    Hi,

    I've installed Zabbix 1.1.6 on a server and would like to configure it with the same hosts, charts, maps (etc) as an existing Zabbix instance I have. Is there an easy way to migrate this information across? I don't need to migrate all the existing statistical data logged for each host. Once the existing configuration has been migrated to the new server, I'll just start logging new data.

    Thanks!
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    All that information is stored in the database, so you have two options point the new server to the existing database if the database will remain on the same server its on now or backup and restore the database to the new server.

    Scott

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      FYI ZABBIX 1.4 will support "database cleanup" functionality which would greatly simplify migration from testing to production.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • den_crane
        Senior Member
        • Feb 2006
        • 272

        #4
        Backup and restore in new db only tables with metadata?

        $ mysqldump zabbix acknowledges actions alarms alerts applications auditlog autoreg conditions config functions graphs graphs_items groups help_items hosts hosts_groups hosts_profiles hosts_templates housekeeper images items items_applications mappings media media_type profiles rights screens screens_items service_alarms services services_links sessions sysmaps sysmaps_elements sysmaps_links trigger_depends triggers users users_groups usrgrp valuemaps>dump.dmp

        $ cat dump.dmp>mysql newdb

        and create empty history*, trends tables.

        Comment

        Working...