Ad Widget

Collapse

Problem Importing Template/Host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andreazza
    Junior Member
    Zabbix Certified Specialist
    • Jul 2011
    • 16

    #1

    Problem Importing Template/Host

    hi everybody!

    let me explain the situation..
    i was using ubuntu server 11 + zabbix 1.8.5 + Postgres.. worked fine.. but it was a test machine, with 20gb HD... so after 2 months my DB was full..
    well, i exported all templates and hosts from zabbix into a xml files.. all good so far..
    now i have Centos 6.0 + zabbix 1.8.6 + MySQL... great, working like a charm..
    i added 3 servers to test monitoring, and its working perfect..

    but now, i`m trying to import my hosts and templates back to zabbix, and it doesnt work!
    i go -configuration -> templates -> import template -> select template.. when i click Import, the page does nothing.. just freeze in a blank screen with top bar..
    i tried to wait, but nothing happens..
    i tried to increase post_max_size to 20M, and restart httpd, but no success..

    any ideas??

    thanks!
  • Yello
    Senior Member
    • Apr 2011
    • 309

    #2
    Hi,
    Have you added the xml extension to php? Without that you can't import xml files.

    Regards,
    David

    Comment

    • andreazza
      Junior Member
      Zabbix Certified Specialist
      • Jul 2011
      • 16

      #3
      great tip Yello!
      after yum install php-xml, i found out that was out-of-dated..
      thanks a lot!
      restarted httpd and try to import, it's working perfectly!

      problem solved!

      i owe you a beer!

      Comment

      Working...