Ad Widget

Collapse

Zabbix migration using XML export and import?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harri
    Member
    • Nov 2010
    • 89

    #1

    Zabbix migration using XML export and import?

    Hi folks,

    I would like to migrate from Zabbix 1.8.16 to 2.0.6 using XML files. A database migration is not an option due to patch.sql not working and due to downtime concerns. Loosing the history is acceptable.

    Unfortunately 2.0.6 does not accept the "old" XML config files exported from the web interface. Importing the templates failed with a few cryptic error messages

    Code:
    Error in query [INSERT INTO applications (applicationid, name, hostid, templateid) VALUES (356, '3ware', 10085, 0)] [Cannot add or update a child row: a foreign key constraint fails (`zabbix`.`applications`, CONSTRAINT `c_applications_2` FOREIGN KEY (`templateid`) REFERENCES `applications` (`applicationid`) ON DELETE CASCADE)]
    Cannot create application
    Is there a filter to convert the XML config files? Am I stuck with 1.8.16? Every helpful comment would be highly appreciated.

    Harri
Working...